@owbase/node 1.0.1 → 2.0.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.
Files changed (92) hide show
  1. package/README.md +1 -1
  2. package/dist/client.js +3 -3
  3. package/dist/client.js.map +1 -1
  4. package/dist/client.mjs +3 -3
  5. package/dist/client.mjs.map +1 -1
  6. package/dist/enums/databases-index-type.d.mts +2 -1
  7. package/dist/enums/databases-index-type.d.ts +2 -1
  8. package/dist/enums/databases-index-type.js +1 -0
  9. package/dist/enums/databases-index-type.js.map +1 -1
  10. package/dist/enums/databases-index-type.mjs +1 -0
  11. package/dist/enums/databases-index-type.mjs.map +1 -1
  12. package/dist/enums/project-policy-id.d.mts +1 -0
  13. package/dist/enums/project-policy-id.d.ts +1 -0
  14. package/dist/enums/project-policy-id.js +1 -0
  15. package/dist/enums/project-policy-id.js.map +1 -1
  16. package/dist/enums/project-policy-id.mjs +1 -0
  17. package/dist/enums/project-policy-id.mjs.map +1 -1
  18. package/dist/enums/tables-db-index-type.d.mts +2 -1
  19. package/dist/enums/tables-db-index-type.d.ts +2 -1
  20. package/dist/enums/tables-db-index-type.js +1 -0
  21. package/dist/enums/tables-db-index-type.js.map +1 -1
  22. package/dist/enums/tables-db-index-type.mjs +1 -0
  23. package/dist/enums/tables-db-index-type.mjs.map +1 -1
  24. package/dist/models.d.mts +236 -3
  25. package/dist/models.d.ts +236 -3
  26. package/dist/services/account.d.mts +32 -0
  27. package/dist/services/account.d.ts +32 -0
  28. package/dist/services/account.js +27 -0
  29. package/dist/services/account.js.map +1 -1
  30. package/dist/services/account.mjs +27 -0
  31. package/dist/services/account.mjs.map +1 -1
  32. package/dist/services/databases.d.mts +211 -47
  33. package/dist/services/databases.d.ts +211 -47
  34. package/dist/services/databases.js +301 -41
  35. package/dist/services/databases.js.map +1 -1
  36. package/dist/services/databases.mjs +301 -41
  37. package/dist/services/databases.mjs.map +1 -1
  38. package/dist/services/functions.d.mts +30 -12
  39. package/dist/services/functions.d.ts +30 -12
  40. package/dist/services/functions.js +34 -4
  41. package/dist/services/functions.js.map +1 -1
  42. package/dist/services/functions.mjs +34 -4
  43. package/dist/services/functions.mjs.map +1 -1
  44. package/dist/services/messaging.d.mts +56 -44
  45. package/dist/services/messaging.d.ts +56 -44
  46. package/dist/services/messaging.js +96 -76
  47. package/dist/services/messaging.js.map +1 -1
  48. package/dist/services/messaging.mjs +96 -76
  49. package/dist/services/messaging.mjs.map +1 -1
  50. package/dist/services/organization.d.mts +4 -1
  51. package/dist/services/organization.d.ts +4 -1
  52. package/dist/services/organization.js +6 -1
  53. package/dist/services/organization.js.map +1 -1
  54. package/dist/services/organization.mjs +6 -1
  55. package/dist/services/organization.mjs.map +1 -1
  56. package/dist/services/project.d.mts +115 -65
  57. package/dist/services/project.d.ts +115 -65
  58. package/dist/services/project.js +138 -77
  59. package/dist/services/project.js.map +1 -1
  60. package/dist/services/project.mjs +138 -77
  61. package/dist/services/project.mjs.map +1 -1
  62. package/dist/services/sites.d.mts +20 -8
  63. package/dist/services/sites.d.ts +20 -8
  64. package/dist/services/sites.js +24 -4
  65. package/dist/services/sites.js.map +1 -1
  66. package/dist/services/sites.mjs +24 -4
  67. package/dist/services/sites.mjs.map +1 -1
  68. package/dist/services/storage.d.mts +16 -4
  69. package/dist/services/storage.d.ts +16 -4
  70. package/dist/services/storage.js +22 -2
  71. package/dist/services/storage.js.map +1 -1
  72. package/dist/services/storage.mjs +22 -2
  73. package/dist/services/storage.mjs.map +1 -1
  74. package/dist/services/tables-db.d.mts +210 -47
  75. package/dist/services/tables-db.d.ts +210 -47
  76. package/dist/services/tables-db.js +296 -41
  77. package/dist/services/tables-db.js.map +1 -1
  78. package/dist/services/tables-db.mjs +296 -41
  79. package/dist/services/tables-db.mjs.map +1 -1
  80. package/dist/services/teams.d.mts +4 -1
  81. package/dist/services/teams.d.ts +4 -1
  82. package/dist/services/teams.js +6 -1
  83. package/dist/services/teams.js.map +1 -1
  84. package/dist/services/teams.mjs +6 -1
  85. package/dist/services/teams.mjs.map +1 -1
  86. package/dist/services/webhooks.d.mts +16 -10
  87. package/dist/services/webhooks.d.ts +16 -10
  88. package/dist/services/webhooks.js +12 -2
  89. package/dist/services/webhooks.js.map +1 -1
  90. package/dist/services/webhooks.mjs +12 -2
  91. package/dist/services/webhooks.mjs.map +1 -1
  92. package/package.json +1 -1
@@ -158,6 +158,7 @@ declare class Project {
158
158
  * @param {string} params.name - Key name. Max length: 128 chars.
159
159
  * @param {ProjectKeyScopes[]} params.scopes - Key scopes list. Maximum of 200 scopes are allowed.
160
160
  * @param {string} params.expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
161
+ * @param {string} params.description - Optional description for the key.
161
162
  * @throws {OwbaseException}
162
163
  * @returns {Promise<Models.Key>}
163
164
  */
@@ -166,6 +167,7 @@ declare class Project {
166
167
  name: string;
167
168
  scopes: ProjectKeyScopes[];
168
169
  expire?: string;
170
+ description?: string;
169
171
  }): Promise<Models.Key>;
170
172
  /**
171
173
  * Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
@@ -174,11 +176,12 @@ declare class Project {
174
176
  * @param {string} name - Key name. Max length: 128 chars.
175
177
  * @param {ProjectKeyScopes[]} scopes - Key scopes list. Maximum of 200 scopes are allowed.
176
178
  * @param {string} expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
179
+ * @param {string} description - Optional description for the key.
177
180
  * @throws {OwbaseException}
178
181
  * @returns {Promise<Models.Key>}
179
182
  * @deprecated Use the object parameter style method for a better developer experience.
180
183
  */
181
- updateKey(keyId: string, name: string, scopes: ProjectKeyScopes[], expire?: string): Promise<Models.Key>;
184
+ updateKey(keyId: string, name: string, scopes: ProjectKeyScopes[], expire?: string, description?: string): Promise<Models.Key>;
182
185
  /**
183
186
  * Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
184
187
  *
@@ -375,8 +378,8 @@ declare class Project {
375
378
  * @param {string} params.keyId - 'Key ID' of Apple OAuth2 app. For example: P4000000N8
376
379
  * @param {string} params.teamId - 'Team ID' of Apple OAuth2 app. For example: D4000000R6
377
380
  * @param {string} params.p8File - Contents of the Apple OAuth2 app .p8 private key file. The secret key wrapped by the PEM markers is 200 characters long. For example: -----BEGIN PRIVATE KEY-----MIGTAg...jy2Xbna-----END PRIVATE KEY-----
378
- * @param {string[]} params.nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
379
381
  * @param {boolean} params.enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
382
+ * @param {string[]} params.nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
380
383
  * @param {boolean} params.nativeEnabled - Native Sign in with Apple status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a Services ID or at least one native client ID to match tokens against, but no key or team ID: this method verifies a signature rather than redeeming an authorization code.
381
384
  * @throws {OwbaseException}
382
385
  * @returns {Promise<Models.OAuth2Apple>}
@@ -386,8 +389,8 @@ declare class Project {
386
389
  keyId?: string;
387
390
  teamId?: string;
388
391
  p8File?: string;
389
- nativeClientIds?: string[];
390
392
  enabled?: boolean;
393
+ nativeClientIds?: string[];
391
394
  nativeEnabled?: boolean;
392
395
  }): Promise<Models.OAuth2Apple>;
393
396
  /**
@@ -397,22 +400,22 @@ declare class Project {
397
400
  * @param {string} keyId - 'Key ID' of Apple OAuth2 app. For example: P4000000N8
398
401
  * @param {string} teamId - 'Team ID' of Apple OAuth2 app. For example: D4000000R6
399
402
  * @param {string} p8File - Contents of the Apple OAuth2 app .p8 private key file. The secret key wrapped by the PEM markers is 200 characters long. For example: -----BEGIN PRIVATE KEY-----MIGTAg...jy2Xbna-----END PRIVATE KEY-----
400
- * @param {string[]} nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
401
403
  * @param {boolean} enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
404
+ * @param {string[]} nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
402
405
  * @param {boolean} nativeEnabled - Native Sign in with Apple status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a Services ID or at least one native client ID to match tokens against, but no key or team ID: this method verifies a signature rather than redeeming an authorization code.
403
406
  * @throws {OwbaseException}
404
407
  * @returns {Promise<Models.OAuth2Apple>}
405
408
  * @deprecated Use the object parameter style method for a better developer experience.
406
409
  */
407
- updateOAuth2Apple(serviceId?: string, keyId?: string, teamId?: string, p8File?: string, nativeClientIds?: string[], enabled?: boolean, nativeEnabled?: boolean): Promise<Models.OAuth2Apple>;
410
+ updateOAuth2Apple(serviceId?: string, keyId?: string, teamId?: string, p8File?: string, enabled?: boolean, nativeClientIds?: string[], nativeEnabled?: boolean): Promise<Models.OAuth2Apple>;
408
411
  /**
409
412
  * Update the project OAuth2 Auth0 configuration.
410
413
  *
411
414
  * @param {string} params.clientId - 'Client ID' of Auth0 OAuth2 app. For example: OaOkIA000000000000000000005KLSYq
412
415
  * @param {string} params.clientSecret - 'Client Secret' of Auth0 OAuth2 app. For example: zXz0000-00000000000000000000000000000-00000000000000000000PJafnF
413
416
  * @param {string} params.endpoint - Domain of Auth0 instance. For example: example.us.auth0.com
414
- * @param {ProjectOAuth2Auth0Prompt[]} params.prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
415
417
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
418
+ * @param {ProjectOAuth2Auth0Prompt[]} params.prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
416
419
  * @throws {OwbaseException}
417
420
  * @returns {Promise<Models.OAuth2Auth0>}
418
421
  */
@@ -420,8 +423,8 @@ declare class Project {
420
423
  clientId?: string;
421
424
  clientSecret?: string;
422
425
  endpoint?: string;
423
- prompt?: ProjectOAuth2Auth0Prompt[];
424
426
  enabled?: boolean;
427
+ prompt?: ProjectOAuth2Auth0Prompt[];
425
428
  }): Promise<Models.OAuth2Auth0>;
426
429
  /**
427
430
  * Update the project OAuth2 Auth0 configuration.
@@ -429,13 +432,13 @@ declare class Project {
429
432
  * @param {string} clientId - 'Client ID' of Auth0 OAuth2 app. For example: OaOkIA000000000000000000005KLSYq
430
433
  * @param {string} clientSecret - 'Client Secret' of Auth0 OAuth2 app. For example: zXz0000-00000000000000000000000000000-00000000000000000000PJafnF
431
434
  * @param {string} endpoint - Domain of Auth0 instance. For example: example.us.auth0.com
432
- * @param {ProjectOAuth2Auth0Prompt[]} prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
433
435
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
436
+ * @param {ProjectOAuth2Auth0Prompt[]} prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
434
437
  * @throws {OwbaseException}
435
438
  * @returns {Promise<Models.OAuth2Auth0>}
436
439
  * @deprecated Use the object parameter style method for a better developer experience.
437
440
  */
438
- updateOAuth2Auth0(clientId?: string, clientSecret?: string, endpoint?: string, prompt?: ProjectOAuth2Auth0Prompt[], enabled?: boolean): Promise<Models.OAuth2Auth0>;
441
+ updateOAuth2Auth0(clientId?: string, clientSecret?: string, endpoint?: string, enabled?: boolean, prompt?: ProjectOAuth2Auth0Prompt[]): Promise<Models.OAuth2Auth0>;
439
442
  /**
440
443
  * Update the project OAuth2 Authentik configuration.
441
444
  *
@@ -619,29 +622,29 @@ declare class Project {
619
622
  *
620
623
  * @param {string} params.clientId - 'Client ID' of Discord OAuth2 app. For example: 950722000000343754
621
624
  * @param {string} params.clientSecret - 'Client Secret' of Discord OAuth2 app. For example: YmPXnM000000000000000000002zFg5D
622
- * @param {ProjectOAuth2DiscordPrompt[]} params.prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
623
625
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
626
+ * @param {ProjectOAuth2DiscordPrompt[]} params.prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
624
627
  * @throws {OwbaseException}
625
628
  * @returns {Promise<Models.OAuth2Discord>}
626
629
  */
627
630
  updateOAuth2Discord(params?: {
628
631
  clientId?: string;
629
632
  clientSecret?: string;
630
- prompt?: ProjectOAuth2DiscordPrompt[];
631
633
  enabled?: boolean;
634
+ prompt?: ProjectOAuth2DiscordPrompt[];
632
635
  }): Promise<Models.OAuth2Discord>;
633
636
  /**
634
637
  * Update the project OAuth2 Discord configuration.
635
638
  *
636
639
  * @param {string} clientId - 'Client ID' of Discord OAuth2 app. For example: 950722000000343754
637
640
  * @param {string} clientSecret - 'Client Secret' of Discord OAuth2 app. For example: YmPXnM000000000000000000002zFg5D
638
- * @param {ProjectOAuth2DiscordPrompt[]} prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
639
641
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
642
+ * @param {ProjectOAuth2DiscordPrompt[]} prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
640
643
  * @throws {OwbaseException}
641
644
  * @returns {Promise<Models.OAuth2Discord>}
642
645
  * @deprecated Use the object parameter style method for a better developer experience.
643
646
  */
644
- updateOAuth2Discord(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2DiscordPrompt[], enabled?: boolean): Promise<Models.OAuth2Discord>;
647
+ updateOAuth2Discord(clientId?: string, clientSecret?: string, enabled?: boolean, prompt?: ProjectOAuth2DiscordPrompt[]): Promise<Models.OAuth2Discord>;
645
648
  /**
646
649
  * Update the project OAuth2 Disqus configuration.
647
650
  *
@@ -800,29 +803,29 @@ declare class Project {
800
803
  *
801
804
  * @param {string} params.clientId - 'OAuth2 app Client ID, or App ID' of GitHub OAuth2 app. For example: e4d87900000000540733. Example of wrong value: 370006
802
805
  * @param {string} params.clientSecret - 'Client Secret' of GitHub OAuth2 app. For example: 5e07c00000000000000000000000000000198bcc
803
- * @param {ProjectOAuth2GitHubPrompt[]} params.prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
804
806
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
807
+ * @param {ProjectOAuth2GitHubPrompt[]} params.prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
805
808
  * @throws {OwbaseException}
806
809
  * @returns {Promise<Models.OAuth2Github>}
807
810
  */
808
811
  updateOAuth2GitHub(params?: {
809
812
  clientId?: string;
810
813
  clientSecret?: string;
811
- prompt?: ProjectOAuth2GitHubPrompt[];
812
814
  enabled?: boolean;
815
+ prompt?: ProjectOAuth2GitHubPrompt[];
813
816
  }): Promise<Models.OAuth2Github>;
814
817
  /**
815
818
  * Update the project OAuth2 GitHub configuration.
816
819
  *
817
820
  * @param {string} clientId - 'OAuth2 app Client ID, or App ID' of GitHub OAuth2 app. For example: e4d87900000000540733. Example of wrong value: 370006
818
821
  * @param {string} clientSecret - 'Client Secret' of GitHub OAuth2 app. For example: 5e07c00000000000000000000000000000198bcc
819
- * @param {ProjectOAuth2GitHubPrompt[]} prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
820
822
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
823
+ * @param {ProjectOAuth2GitHubPrompt[]} prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
821
824
  * @throws {OwbaseException}
822
825
  * @returns {Promise<Models.OAuth2Github>}
823
826
  * @deprecated Use the object parameter style method for a better developer experience.
824
827
  */
825
- updateOAuth2GitHub(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2GitHubPrompt[], enabled?: boolean): Promise<Models.OAuth2Github>;
828
+ updateOAuth2GitHub(clientId?: string, clientSecret?: string, enabled?: boolean, prompt?: ProjectOAuth2GitHubPrompt[]): Promise<Models.OAuth2Github>;
826
829
  /**
827
830
  * Update the project OAuth2 Gitlab configuration.
828
831
  *
@@ -857,8 +860,8 @@ declare class Project {
857
860
  * @param {string} params.clientId - 'Client ID' of Google OAuth2 app. For example: 120000000095-92ifjb00000000000000000000g7ijfb.apps.googleusercontent.com
858
861
  * @param {string} params.clientSecret - 'Client Secret' of Google OAuth2 app. For example: GOCSPX-2k8gsR0000000000000000VNahJj
859
862
  * @param {ProjectOAuth2GooglePrompt[]} params.prompt - Array of Google OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. Must not be specified with other values. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
860
- * @param {string[]} params.nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
861
863
  * @param {boolean} params.enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
864
+ * @param {string[]} params.nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
862
865
  * @param {boolean} params.nativeEnabled - Native Google sign-in status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a client ID or at least one native client ID to match tokens against, but no client secret: this method verifies a signature rather than redeeming an authorization code.
863
866
  * @throws {OwbaseException}
864
867
  * @returns {Promise<Models.OAuth2Google>}
@@ -867,8 +870,8 @@ declare class Project {
867
870
  clientId?: string;
868
871
  clientSecret?: string;
869
872
  prompt?: ProjectOAuth2GooglePrompt[];
870
- nativeClientIds?: string[];
871
873
  enabled?: boolean;
874
+ nativeClientIds?: string[];
872
875
  nativeEnabled?: boolean;
873
876
  }): Promise<Models.OAuth2Google>;
874
877
  /**
@@ -877,14 +880,14 @@ declare class Project {
877
880
  * @param {string} clientId - 'Client ID' of Google OAuth2 app. For example: 120000000095-92ifjb00000000000000000000g7ijfb.apps.googleusercontent.com
878
881
  * @param {string} clientSecret - 'Client Secret' of Google OAuth2 app. For example: GOCSPX-2k8gsR0000000000000000VNahJj
879
882
  * @param {ProjectOAuth2GooglePrompt[]} prompt - Array of Google OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. Must not be specified with other values. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
880
- * @param {string[]} nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
881
883
  * @param {boolean} enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
884
+ * @param {string[]} nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
882
885
  * @param {boolean} nativeEnabled - Native Google sign-in status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a client ID or at least one native client ID to match tokens against, but no client secret: this method verifies a signature rather than redeeming an authorization code.
883
886
  * @throws {OwbaseException}
884
887
  * @returns {Promise<Models.OAuth2Google>}
885
888
  * @deprecated Use the object parameter style method for a better developer experience.
886
889
  */
887
- updateOAuth2Google(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2GooglePrompt[], nativeClientIds?: string[], enabled?: boolean, nativeEnabled?: boolean): Promise<Models.OAuth2Google>;
890
+ updateOAuth2Google(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2GooglePrompt[], enabled?: boolean, nativeClientIds?: string[], nativeEnabled?: boolean): Promise<Models.OAuth2Google>;
888
891
  /**
889
892
  * Update the project OAuth2 Hugging Face configuration.
890
893
  *
@@ -915,29 +918,29 @@ declare class Project {
915
918
  *
916
919
  * @param {string} params.clientId - 'REST API key' of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de
917
920
  * @param {string} params.clientSecret - 'Client Secret' of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled
918
- * @param {ProjectOAuth2KakaoPrompt[]} params.prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
919
921
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
922
+ * @param {ProjectOAuth2KakaoPrompt[]} params.prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
920
923
  * @throws {OwbaseException}
921
924
  * @returns {Promise<Models.OAuth2Kakao>}
922
925
  */
923
926
  updateOAuth2Kakao(params?: {
924
927
  clientId?: string;
925
928
  clientSecret?: string;
926
- prompt?: ProjectOAuth2KakaoPrompt[];
927
929
  enabled?: boolean;
930
+ prompt?: ProjectOAuth2KakaoPrompt[];
928
931
  }): Promise<Models.OAuth2Kakao>;
929
932
  /**
930
933
  * Update the project OAuth2 Kakao configuration.
931
934
  *
932
935
  * @param {string} clientId - 'REST API key' of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de
933
936
  * @param {string} clientSecret - 'Client Secret' of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled
934
- * @param {ProjectOAuth2KakaoPrompt[]} prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
935
937
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
938
+ * @param {ProjectOAuth2KakaoPrompt[]} prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
936
939
  * @throws {OwbaseException}
937
940
  * @returns {Promise<Models.OAuth2Kakao>}
938
941
  * @deprecated Use the object parameter style method for a better developer experience.
939
942
  */
940
- updateOAuth2Kakao(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2KakaoPrompt[], enabled?: boolean): Promise<Models.OAuth2Kakao>;
943
+ updateOAuth2Kakao(clientId?: string, clientSecret?: string, enabled?: boolean, prompt?: ProjectOAuth2KakaoPrompt[]): Promise<Models.OAuth2Kakao>;
941
944
  /**
942
945
  * Update the project OAuth2 Keycloak configuration.
943
946
  *
@@ -1025,8 +1028,8 @@ declare class Project {
1025
1028
  * @param {string} params.applicationId - 'Entra ID Application ID, also known as Client ID' of Microsoft OAuth2 app. For example: 00001111-aaaa-2222-bbbb-3333cccc4444
1026
1029
  * @param {string} params.applicationSecret - 'Entra ID Application Secret, also known as Client Secret' of Microsoft OAuth2 app. For example: A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u
1027
1030
  * @param {string} params.tenant - Microsoft Entra ID tenant identifier. Use 'common', 'organizations', 'consumers' or a specific tenant ID. For example: common
1028
- * @param {ProjectOAuth2MicrosoftPrompt[]} params.prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1029
1031
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1032
+ * @param {ProjectOAuth2MicrosoftPrompt[]} params.prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1030
1033
  * @throws {OwbaseException}
1031
1034
  * @returns {Promise<Models.OAuth2Microsoft>}
1032
1035
  */
@@ -1034,8 +1037,8 @@ declare class Project {
1034
1037
  applicationId?: string;
1035
1038
  applicationSecret?: string;
1036
1039
  tenant?: string;
1037
- prompt?: ProjectOAuth2MicrosoftPrompt[];
1038
1040
  enabled?: boolean;
1041
+ prompt?: ProjectOAuth2MicrosoftPrompt[];
1039
1042
  }): Promise<Models.OAuth2Microsoft>;
1040
1043
  /**
1041
1044
  * Update the project OAuth2 Microsoft configuration.
@@ -1043,13 +1046,13 @@ declare class Project {
1043
1046
  * @param {string} applicationId - 'Entra ID Application ID, also known as Client ID' of Microsoft OAuth2 app. For example: 00001111-aaaa-2222-bbbb-3333cccc4444
1044
1047
  * @param {string} applicationSecret - 'Entra ID Application Secret, also known as Client Secret' of Microsoft OAuth2 app. For example: A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u
1045
1048
  * @param {string} tenant - Microsoft Entra ID tenant identifier. Use 'common', 'organizations', 'consumers' or a specific tenant ID. For example: common
1046
- * @param {ProjectOAuth2MicrosoftPrompt[]} prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1047
1049
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1050
+ * @param {ProjectOAuth2MicrosoftPrompt[]} prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1048
1051
  * @throws {OwbaseException}
1049
1052
  * @returns {Promise<Models.OAuth2Microsoft>}
1050
1053
  * @deprecated Use the object parameter style method for a better developer experience.
1051
1054
  */
1052
- updateOAuth2Microsoft(applicationId?: string, applicationSecret?: string, tenant?: string, prompt?: ProjectOAuth2MicrosoftPrompt[], enabled?: boolean): Promise<Models.OAuth2Microsoft>;
1055
+ updateOAuth2Microsoft(applicationId?: string, applicationSecret?: string, tenant?: string, enabled?: boolean, prompt?: ProjectOAuth2MicrosoftPrompt[]): Promise<Models.OAuth2Microsoft>;
1053
1056
  /**
1054
1057
  * Update the project OAuth2 Notion configuration.
1055
1058
  *
@@ -1125,8 +1128,8 @@ declare class Project {
1125
1128
  * @param {string} params.clientSecret - 'Client Secret' of Okta OAuth2 app. For example: Kiq0000000000000000000000000000000000000-00000000000H2L5-3SJ-vRV
1126
1129
  * @param {string} params.domain - Okta company domain. Required when enabling the provider. For example: trial-6400025.okta.com. Example of wrong value: trial-6400025-admin.okta.com, or https://trial-6400025.okta.com/
1127
1130
  * @param {string} params.authorizationServerId - Custom Authorization Servers. Optional, can be left empty or unconfigured. For example: aus000000000000000h7z
1128
- * @param {ProjectOAuth2OktaPrompt[]} params.prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1129
1131
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1132
+ * @param {ProjectOAuth2OktaPrompt[]} params.prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1130
1133
  * @throws {OwbaseException}
1131
1134
  * @returns {Promise<Models.OAuth2Okta>}
1132
1135
  */
@@ -1135,8 +1138,8 @@ declare class Project {
1135
1138
  clientSecret?: string;
1136
1139
  domain?: string;
1137
1140
  authorizationServerId?: string;
1138
- prompt?: ProjectOAuth2OktaPrompt[];
1139
1141
  enabled?: boolean;
1142
+ prompt?: ProjectOAuth2OktaPrompt[];
1140
1143
  }): Promise<Models.OAuth2Okta>;
1141
1144
  /**
1142
1145
  * Update the project OAuth2 Okta configuration.
@@ -1145,13 +1148,13 @@ declare class Project {
1145
1148
  * @param {string} clientSecret - 'Client Secret' of Okta OAuth2 app. For example: Kiq0000000000000000000000000000000000000-00000000000H2L5-3SJ-vRV
1146
1149
  * @param {string} domain - Okta company domain. Required when enabling the provider. For example: trial-6400025.okta.com. Example of wrong value: trial-6400025-admin.okta.com, or https://trial-6400025.okta.com/
1147
1150
  * @param {string} authorizationServerId - Custom Authorization Servers. Optional, can be left empty or unconfigured. For example: aus000000000000000h7z
1148
- * @param {ProjectOAuth2OktaPrompt[]} prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1149
1151
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1152
+ * @param {ProjectOAuth2OktaPrompt[]} prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1150
1153
  * @throws {OwbaseException}
1151
1154
  * @returns {Promise<Models.OAuth2Okta>}
1152
1155
  * @deprecated Use the object parameter style method for a better developer experience.
1153
1156
  */
1154
- updateOAuth2Okta(clientId?: string, clientSecret?: string, domain?: string, authorizationServerId?: string, prompt?: ProjectOAuth2OktaPrompt[], enabled?: boolean): Promise<Models.OAuth2Okta>;
1157
+ updateOAuth2Okta(clientId?: string, clientSecret?: string, domain?: string, authorizationServerId?: string, enabled?: boolean, prompt?: ProjectOAuth2OktaPrompt[]): Promise<Models.OAuth2Okta>;
1155
1158
  /**
1156
1159
  * Update the project OAuth2 Paypal configuration.
1157
1160
  *
@@ -1257,29 +1260,29 @@ declare class Project {
1257
1260
  *
1258
1261
  * @param {string} params.customerKey - 'Consumer Key' of Salesforce OAuth2 app. For example: 3MVG9I0000000000000000000000000000000000000000000000000000000000000000000000000C5Aejq
1259
1262
  * @param {string} params.customerSecret - 'Consumer Secret' of Salesforce OAuth2 app. For example: 3w000000000000e2
1260
- * @param {ProjectOAuth2SalesforcePrompt[]} params.prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1261
1263
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1264
+ * @param {ProjectOAuth2SalesforcePrompt[]} params.prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1262
1265
  * @throws {OwbaseException}
1263
1266
  * @returns {Promise<Models.OAuth2Salesforce>}
1264
1267
  */
1265
1268
  updateOAuth2Salesforce(params?: {
1266
1269
  customerKey?: string;
1267
1270
  customerSecret?: string;
1268
- prompt?: ProjectOAuth2SalesforcePrompt[];
1269
1271
  enabled?: boolean;
1272
+ prompt?: ProjectOAuth2SalesforcePrompt[];
1270
1273
  }): Promise<Models.OAuth2Salesforce>;
1271
1274
  /**
1272
1275
  * Update the project OAuth2 Salesforce configuration.
1273
1276
  *
1274
1277
  * @param {string} customerKey - 'Consumer Key' of Salesforce OAuth2 app. For example: 3MVG9I0000000000000000000000000000000000000000000000000000000000000000000000000C5Aejq
1275
1278
  * @param {string} customerSecret - 'Consumer Secret' of Salesforce OAuth2 app. For example: 3w000000000000e2
1276
- * @param {ProjectOAuth2SalesforcePrompt[]} prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1277
1279
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1280
+ * @param {ProjectOAuth2SalesforcePrompt[]} prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1278
1281
  * @throws {OwbaseException}
1279
1282
  * @returns {Promise<Models.OAuth2Salesforce>}
1280
1283
  * @deprecated Use the object parameter style method for a better developer experience.
1281
1284
  */
1282
- updateOAuth2Salesforce(customerKey?: string, customerSecret?: string, prompt?: ProjectOAuth2SalesforcePrompt[], enabled?: boolean): Promise<Models.OAuth2Salesforce>;
1285
+ updateOAuth2Salesforce(customerKey?: string, customerSecret?: string, enabled?: boolean, prompt?: ProjectOAuth2SalesforcePrompt[]): Promise<Models.OAuth2Salesforce>;
1283
1286
  /**
1284
1287
  * Update the project OAuth2 Slack configuration.
1285
1288
  *
@@ -1585,29 +1588,29 @@ declare class Project {
1585
1588
  *
1586
1589
  * @param {string} params.clientId - 'Client ID' of Zoho OAuth2 app. For example: 1000.83C178000000000000000000RPNX0B
1587
1590
  * @param {string} params.clientSecret - 'Client Secret' of Zoho OAuth2 app. For example: fb5cac000000000000000000000000000000a68f6e
1588
- * @param {ProjectOAuth2ZohoPrompt[]} params.prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1589
1591
  * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1592
+ * @param {ProjectOAuth2ZohoPrompt[]} params.prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1590
1593
  * @throws {OwbaseException}
1591
1594
  * @returns {Promise<Models.OAuth2Zoho>}
1592
1595
  */
1593
1596
  updateOAuth2Zoho(params?: {
1594
1597
  clientId?: string;
1595
1598
  clientSecret?: string;
1596
- prompt?: ProjectOAuth2ZohoPrompt[];
1597
1599
  enabled?: boolean;
1600
+ prompt?: ProjectOAuth2ZohoPrompt[];
1598
1601
  }): Promise<Models.OAuth2Zoho>;
1599
1602
  /**
1600
1603
  * Update the project OAuth2 Zoho configuration.
1601
1604
  *
1602
1605
  * @param {string} clientId - 'Client ID' of Zoho OAuth2 app. For example: 1000.83C178000000000000000000RPNX0B
1603
1606
  * @param {string} clientSecret - 'Client Secret' of Zoho OAuth2 app. For example: fb5cac000000000000000000000000000000a68f6e
1604
- * @param {ProjectOAuth2ZohoPrompt[]} prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1605
1607
  * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1608
+ * @param {ProjectOAuth2ZohoPrompt[]} prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1606
1609
  * @throws {OwbaseException}
1607
1610
  * @returns {Promise<Models.OAuth2Zoho>}
1608
1611
  * @deprecated Use the object parameter style method for a better developer experience.
1609
1612
  */
1610
- updateOAuth2Zoho(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2ZohoPrompt[], enabled?: boolean): Promise<Models.OAuth2Zoho>;
1613
+ updateOAuth2Zoho(clientId?: string, clientSecret?: string, enabled?: boolean, prompt?: ProjectOAuth2ZohoPrompt[]): Promise<Models.OAuth2Zoho>;
1611
1614
  /**
1612
1615
  * Update the project OAuth2 Zoom configuration.
1613
1616
  *
@@ -1680,6 +1683,7 @@ declare class Project {
1680
1683
  * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1681
1684
  * @param {string} params.name - Platform name. Max length: 128 chars.
1682
1685
  * @param {string} params.applicationId - Android application ID. Max length: 256 chars.
1686
+ * @param {string[]} params.fingerprints - SHA-256 fingerprints of the certificates your app is signed with, such as "14:6D:E9:...:2B:6A". Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with `./gradlew signingReport`.
1683
1687
  * @throws {OwbaseException}
1684
1688
  * @returns {Promise<Models.PlatformAndroid>}
1685
1689
  */
@@ -1687,6 +1691,7 @@ declare class Project {
1687
1691
  platformId: string;
1688
1692
  name: string;
1689
1693
  applicationId: string;
1694
+ fingerprints?: string[];
1690
1695
  }): Promise<Models.PlatformAndroid>;
1691
1696
  /**
1692
1697
  * Create a new Android platform for your project. Use this endpoint to register a new Android platform where your users will run your application which will interact with the Owbase API.
@@ -1694,17 +1699,19 @@ declare class Project {
1694
1699
  * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1695
1700
  * @param {string} name - Platform name. Max length: 128 chars.
1696
1701
  * @param {string} applicationId - Android application ID. Max length: 256 chars.
1702
+ * @param {string[]} fingerprints - SHA-256 fingerprints of the certificates your app is signed with, such as "14:6D:E9:...:2B:6A". Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with `./gradlew signingReport`.
1697
1703
  * @throws {OwbaseException}
1698
1704
  * @returns {Promise<Models.PlatformAndroid>}
1699
1705
  * @deprecated Use the object parameter style method for a better developer experience.
1700
1706
  */
1701
- createAndroidPlatform(platformId: string, name: string, applicationId: string): Promise<Models.PlatformAndroid>;
1707
+ createAndroidPlatform(platformId: string, name: string, applicationId: string, fingerprints?: string[]): Promise<Models.PlatformAndroid>;
1702
1708
  /**
1703
- * Update an Android platform by its unique ID. Use this endpoint to update the platform's name or application ID.
1709
+ * Update an Android platform by its unique ID. Use this endpoint to update the platform's name, application ID or signing certificate fingerprints.
1704
1710
  *
1705
1711
  * @param {string} params.platformId - Platform ID.
1706
1712
  * @param {string} params.name - Platform name. Max length: 128 chars.
1707
1713
  * @param {string} params.applicationId - Android application ID. Max length: 256 chars.
1714
+ * @param {string[]} params.fingerprints - SHA-256 fingerprints of the certificates your app is signed with, such as "14:6D:E9:...:2B:6A". Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with `./gradlew signingReport`. Omit to keep the current list, or pass an empty array to clear it.
1708
1715
  * @throws {OwbaseException}
1709
1716
  * @returns {Promise<Models.PlatformAndroid>}
1710
1717
  */
@@ -1712,18 +1719,20 @@ declare class Project {
1712
1719
  platformId: string;
1713
1720
  name: string;
1714
1721
  applicationId: string;
1722
+ fingerprints?: string[];
1715
1723
  }): Promise<Models.PlatformAndroid>;
1716
1724
  /**
1717
- * Update an Android platform by its unique ID. Use this endpoint to update the platform's name or application ID.
1725
+ * Update an Android platform by its unique ID. Use this endpoint to update the platform's name, application ID or signing certificate fingerprints.
1718
1726
  *
1719
1727
  * @param {string} platformId - Platform ID.
1720
1728
  * @param {string} name - Platform name. Max length: 128 chars.
1721
1729
  * @param {string} applicationId - Android application ID. Max length: 256 chars.
1730
+ * @param {string[]} fingerprints - SHA-256 fingerprints of the certificates your app is signed with, such as "14:6D:E9:...:2B:6A". Passkeys created in the app are accepted when its signature matches one. Find them under App signing in Play Console, or with `./gradlew signingReport`. Omit to keep the current list, or pass an empty array to clear it.
1722
1731
  * @throws {OwbaseException}
1723
1732
  * @returns {Promise<Models.PlatformAndroid>}
1724
1733
  * @deprecated Use the object parameter style method for a better developer experience.
1725
1734
  */
1726
- updateAndroidPlatform(platformId: string, name: string, applicationId: string): Promise<Models.PlatformAndroid>;
1735
+ updateAndroidPlatform(platformId: string, name: string, applicationId: string, fingerprints?: string[]): Promise<Models.PlatformAndroid>;
1727
1736
  /**
1728
1737
  * Create a new Apple platform for your project. Use this endpoint to register a new Apple platform where your users will run your application which will interact with the Owbase API.
1729
1738
  *
@@ -2123,46 +2132,50 @@ declare class Project {
2123
2132
  */
2124
2133
  updateMFAFactorsPolicy(totp?: boolean, email?: boolean, phone?: boolean, custom?: boolean): Promise<Models.Project>;
2125
2134
  /**
2126
- * Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2135
+ * Set the relying party ID passkeys are bound to: the domain of your application. Passkeys work on the project's web platforms on that domain or its subdomains, and on the domain itself for Apple apps. A localhost web platform enables passkeys for local development without a relying party ID. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2127
2136
  *
2128
- * @param {string} params.rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
2129
- * @param {string[]} params.origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
2137
+ * @param {string} params.rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development, or an empty string to unset it.
2130
2138
  * @throws {OwbaseException}
2131
2139
  * @returns {Promise<Models.Project>}
2132
2140
  */
2133
- updatePasskeyPolicy(params?: {
2134
- rpId?: string;
2135
- origins?: string[];
2141
+ updatePasskeyPolicy(params: {
2142
+ rpId: string;
2136
2143
  }): Promise<Models.Project>;
2137
2144
  /**
2138
- * Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2145
+ * Set the relying party ID passkeys are bound to: the domain of your application. Passkeys work on the project's web platforms on that domain or its subdomains, and on the domain itself for Apple apps. A localhost web platform enables passkeys for local development without a relying party ID. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2139
2146
  *
2140
- * @param {string} rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
2141
- * @param {string[]} origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
2147
+ * @param {string} rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development, or an empty string to unset it.
2142
2148
  * @throws {OwbaseException}
2143
2149
  * @returns {Promise<Models.Project>}
2144
2150
  * @deprecated Use the object parameter style method for a better developer experience.
2145
2151
  */
2146
- updatePasskeyPolicy(rpId?: string, origins?: string[]): Promise<Models.Project>;
2152
+ updatePasskeyPolicy(rpId: string): Promise<Models.Project>;
2147
2153
  /**
2148
2154
  * Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
2149
2155
  *
2156
+ * Custom denyList entries use case-sensitive equality and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits.
2157
+ *
2150
2158
  * @param {boolean} params.enabled - Toggle password dictionary policy. Set to true if you want password change to block passwords in the dictionary, or false to allow them. When changing this policy, existing passwords remain valid.
2159
+ * @param {string[]} params.denyList - Custom blocked values using case-sensitive equality. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters.
2151
2160
  * @throws {OwbaseException}
2152
2161
  * @returns {Promise<Models.Project>}
2153
2162
  */
2154
2163
  updatePasswordDictionaryPolicy(params: {
2155
2164
  enabled: boolean;
2165
+ denyList?: string[];
2156
2166
  }): Promise<Models.Project>;
2157
2167
  /**
2158
2168
  * Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
2159
2169
  *
2170
+ * Custom denyList entries use case-sensitive equality and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits.
2171
+ *
2160
2172
  * @param {boolean} enabled - Toggle password dictionary policy. Set to true if you want password change to block passwords in the dictionary, or false to allow them. When changing this policy, existing passwords remain valid.
2173
+ * @param {string[]} denyList - Custom blocked values using case-sensitive equality. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters.
2161
2174
  * @throws {OwbaseException}
2162
2175
  * @returns {Promise<Models.Project>}
2163
2176
  * @deprecated Use the object parameter style method for a better developer experience.
2164
2177
  */
2165
- updatePasswordDictionaryPolicy(enabled: boolean): Promise<Models.Project>;
2178
+ updatePasswordDictionaryPolicy(enabled: boolean, denyList?: string[]): Promise<Models.Project>;
2166
2179
  /**
2167
2180
  * Updates one of password strength policies. Based on total length configured, previous password hashes are stored, and users cannot choose a new password that is already stored in the passwird history list, when updating an user password, or setting new one through password recovery.
2168
2181
  *
@@ -2189,22 +2202,31 @@ declare class Project {
2189
2202
  /**
2190
2203
  * Updating this policy allows you to control if password strength is checked against personal data. When enabled, and user sets or changes their password, the password must not contain user ID, name, email or phone number.
2191
2204
  *
2205
+ * Custom denyList entries use case-insensitive substring matching and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits.
2206
+ * Password recovery also checks the recovered user profile, closing the previous gap in profile-based personal-data validation.
2207
+ *
2192
2208
  * @param {boolean} params.enabled - Toggle password personal data policy. Set to true if you want to block passwords including user's personal data, or false to allow it. When changing this policy, existing passwords remain valid.
2209
+ * @param {string[]} params.denyList - Custom blocked values using case-insensitive substring matching. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters.
2193
2210
  * @throws {OwbaseException}
2194
2211
  * @returns {Promise<Models.Project>}
2195
2212
  */
2196
2213
  updatePasswordPersonalDataPolicy(params: {
2197
2214
  enabled: boolean;
2215
+ denyList?: string[];
2198
2216
  }): Promise<Models.Project>;
2199
2217
  /**
2200
2218
  * Updating this policy allows you to control if password strength is checked against personal data. When enabled, and user sets or changes their password, the password must not contain user ID, name, email or phone number.
2201
2219
  *
2220
+ * Custom denyList entries use case-insensitive substring matching and apply only while this policy is enabled. Omit denyList or pass null to preserve it, pass an array to replace it, or pass [] to clear it. Entries are stored without trimming or deduplication. Existing passwords remain valid for sign-in and password confirmation. The combined serialized project authentication configuration must fit within 16,384 characters, even when each list meets its entry limits.
2221
+ * Password recovery also checks the recovered user profile, closing the previous gap in profile-based personal-data validation.
2222
+ *
2202
2223
  * @param {boolean} enabled - Toggle password personal data policy. Set to true if you want to block passwords including user's personal data, or false to allow it. When changing this policy, existing passwords remain valid.
2224
+ * @param {string[]} denyList - Custom blocked values using case-insensitive substring matching. Up to 100 entries of 1 to 256 characters. Omit or pass null to preserve, an array to replace, or [] to clear. Combined authentication settings must fit within 16,384 characters.
2203
2225
  * @throws {OwbaseException}
2204
2226
  * @returns {Promise<Models.Project>}
2205
2227
  * @deprecated Use the object parameter style method for a better developer experience.
2206
2228
  */
2207
- updatePasswordPersonalDataPolicy(enabled: boolean): Promise<Models.Project>;
2229
+ updatePasswordPersonalDataPolicy(enabled: boolean, denyList?: string[]): Promise<Models.Project>;
2208
2230
  /**
2209
2231
  * Updating this policy allows you to control if passwords are checked against the Have I Been Pwned breach database. When enabled, every password a user signs up, signs in or resets with is checked and the result is recorded on the user as `passwordPwned`. On its own the policy only records. Enable `users` to reject a breached password when a user signs up or sets a new password, and `sessions` to refuse a sign-in with a breached password until it is reset. Only the first five characters of the password hash are ever shared with the service. Options left out keep their current value.
2210
2232
  *
@@ -2230,6 +2252,28 @@ declare class Project {
2230
2252
  * @deprecated Use the object parameter style method for a better developer experience.
2231
2253
  */
2232
2254
  updatePasswordPwnedPolicy(enabled?: boolean, sessions?: boolean, users?: boolean): Promise<Models.Project>;
2255
+ /**
2256
+ * Require a password reset when an email/password sign-in uses a password older than the configured maximum age. Options left out keep their current value.
2257
+ *
2258
+ * @param {boolean} params.enabled - Enable password rotation. Disabled by default.
2259
+ * @param {number} params.maxAge - Maximum password age in seconds. Minimum allowed value is 86400 seconds (1 day), and maximum is 10 years, which is 315360000 seconds. Defaults to 1 year, which is 31536000 seconds.
2260
+ * @throws {OwbaseException}
2261
+ * @returns {Promise<Models.Project>}
2262
+ */
2263
+ updatePasswordRotationPolicy(params?: {
2264
+ enabled?: boolean;
2265
+ maxAge?: number;
2266
+ }): Promise<Models.Project>;
2267
+ /**
2268
+ * Require a password reset when an email/password sign-in uses a password older than the configured maximum age. Options left out keep their current value.
2269
+ *
2270
+ * @param {boolean} enabled - Enable password rotation. Disabled by default.
2271
+ * @param {number} maxAge - Maximum password age in seconds. Minimum allowed value is 86400 seconds (1 day), and maximum is 10 years, which is 315360000 seconds. Defaults to 1 year, which is 31536000 seconds.
2272
+ * @throws {OwbaseException}
2273
+ * @returns {Promise<Models.Project>}
2274
+ * @deprecated Use the object parameter style method for a better developer experience.
2275
+ */
2276
+ updatePasswordRotationPolicy(enabled?: boolean, maxAge?: number): Promise<Models.Project>;
2233
2277
  /**
2234
2278
  * Update the password strength requirements for users in the project.
2235
2279
  *
@@ -2359,22 +2403,22 @@ declare class Project {
2359
2403
  /**
2360
2404
  * Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
2361
2405
  *
2362
- * @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2406
+ * @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, password-rotation, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2363
2407
  * @throws {OwbaseException}
2364
- * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2408
+ * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicyPasswordRotation | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2365
2409
  */
2366
2410
  getPolicy(params: {
2367
2411
  policyId: ProjectPolicyId;
2368
- }): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2412
+ }): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicyPasswordRotation | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2369
2413
  /**
2370
2414
  * Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
2371
2415
  *
2372
- * @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2416
+ * @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, password-rotation, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2373
2417
  * @throws {OwbaseException}
2374
- * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2418
+ * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicyPasswordRotation | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2375
2419
  * @deprecated Use the object parameter style method for a better developer experience.
2376
2420
  */
2377
- getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2421
+ getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicyPasswordRotation | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2378
2422
  /**
2379
2423
  * Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
2380
2424
  *
@@ -2597,6 +2641,7 @@ declare class Project {
2597
2641
  * @param {string} params.key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2598
2642
  * @param {string} params.value - Variable value. Max length: 8192 chars.
2599
2643
  * @param {boolean} params.secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2644
+ * @param {string} params.description - Optional description for the variable.
2600
2645
  * @throws {OwbaseException}
2601
2646
  * @returns {Promise<Models.Variable>}
2602
2647
  */
@@ -2605,6 +2650,7 @@ declare class Project {
2605
2650
  key: string;
2606
2651
  value: string;
2607
2652
  secret?: boolean;
2653
+ description?: string;
2608
2654
  }): Promise<Models.Variable>;
2609
2655
  /**
2610
2656
  * Create a new project environment variable. These variables can be accessed by all functions and sites in the project.
@@ -2613,11 +2659,12 @@ declare class Project {
2613
2659
  * @param {string} key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2614
2660
  * @param {string} value - Variable value. Max length: 8192 chars.
2615
2661
  * @param {boolean} secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2662
+ * @param {string} description - Optional description for the variable.
2616
2663
  * @throws {OwbaseException}
2617
2664
  * @returns {Promise<Models.Variable>}
2618
2665
  * @deprecated Use the object parameter style method for a better developer experience.
2619
2666
  */
2620
- createVariable(variableId: string, key: string, value: string, secret?: boolean): Promise<Models.Variable>;
2667
+ createVariable(variableId: string, key: string, value: string, secret?: boolean, description?: string): Promise<Models.Variable>;
2621
2668
  /**
2622
2669
  * Get a variable by its unique ID.
2623
2670
  *
@@ -2644,6 +2691,7 @@ declare class Project {
2644
2691
  * @param {string} params.key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2645
2692
  * @param {string} params.value - Variable value. Max length: 8192 chars.
2646
2693
  * @param {boolean} params.secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2694
+ * @param {string} params.description - Optional description for the variable.
2647
2695
  * @throws {OwbaseException}
2648
2696
  * @returns {Promise<Models.Variable>}
2649
2697
  */
@@ -2652,6 +2700,7 @@ declare class Project {
2652
2700
  key?: string;
2653
2701
  value?: string;
2654
2702
  secret?: boolean;
2703
+ description?: string;
2655
2704
  }): Promise<Models.Variable>;
2656
2705
  /**
2657
2706
  * Update variable by its unique ID.
@@ -2660,11 +2709,12 @@ declare class Project {
2660
2709
  * @param {string} key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2661
2710
  * @param {string} value - Variable value. Max length: 8192 chars.
2662
2711
  * @param {boolean} secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2712
+ * @param {string} description - Optional description for the variable.
2663
2713
  * @throws {OwbaseException}
2664
2714
  * @returns {Promise<Models.Variable>}
2665
2715
  * @deprecated Use the object parameter style method for a better developer experience.
2666
2716
  */
2667
- updateVariable(variableId: string, key?: string, value?: string, secret?: boolean): Promise<Models.Variable>;
2717
+ updateVariable(variableId: string, key?: string, value?: string, secret?: boolean, description?: string): Promise<Models.Variable>;
2668
2718
  /**
2669
2719
  * Delete a variable by its unique ID.
2670
2720
  *