@bitwarden/sdk-internal 0.2.0-main.160 → 0.2.0-main.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 08722745ba9689df9505591848cd26d4f54c01e9
1
+ b185bc6e7ec090c68ecd8c130c2772f567890192
@@ -344,6 +344,21 @@ export type UsernameGeneratorRequest =
344
344
  | { catchall: { type: AppendType; domain: string } }
345
345
  | { forwarded: { service: ForwarderServiceType; website: string | undefined } };
346
346
 
347
+ /**
348
+ * Configures the email forwarding service to use.
349
+ * For instructions on how to configure each service, see the documentation:
350
+ * <https://bitwarden.com/help/generator/#username-types>
351
+ */
352
+ export type ForwarderServiceType =
353
+ | { addyIo: { api_token: string; domain: string; base_url: string } }
354
+ | { duckDuckGo: { token: string } }
355
+ | { firefox: { api_token: string } }
356
+ | { fastmail: { api_token: string } }
357
+ | { forwardEmail: { api_token: string; domain: string } }
358
+ | { simpleLogin: { api_key: string; base_url: string } };
359
+
360
+ export type AppendType = "random" | { websiteName: { website: string } };
361
+
347
362
  export interface UsernameError extends Error {
348
363
  name: "UsernameError";
349
364
  variant: "InvalidApiKey" | "Unknown" | "ResponseContent" | "Reqwest";
Binary file