@faable/auth-sdk 1.3.7 → 1.3.9

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.
@@ -1016,6 +1016,71 @@ export interface paths {
1016
1016
  patch?: never;
1017
1017
  trace?: never;
1018
1018
  };
1019
+ "/customdomain/{Customdomain_id}/retry": {
1020
+ parameters: {
1021
+ query?: never;
1022
+ header?: never;
1023
+ path?: never;
1024
+ cookie?: never;
1025
+ };
1026
+ get?: never;
1027
+ put?: never;
1028
+ /** Retry manual domain verification */
1029
+ post: operations["customdomain/retry"];
1030
+ delete?: never;
1031
+ options?: never;
1032
+ head?: never;
1033
+ patch?: never;
1034
+ trace?: never;
1035
+ };
1036
+ "/customdomain": {
1037
+ parameters: {
1038
+ query?: never;
1039
+ header?: never;
1040
+ path?: never;
1041
+ cookie?: never;
1042
+ };
1043
+ /**
1044
+ * List Customdomains in Account
1045
+ * @description List Customdomains in Account
1046
+ */
1047
+ get: operations["customdomain/list"];
1048
+ put?: never;
1049
+ /**
1050
+ * Create Customdomain in Account
1051
+ * @description Create Customdomain in Account
1052
+ */
1053
+ post: operations["customdomain/create"];
1054
+ delete?: never;
1055
+ options?: never;
1056
+ head?: never;
1057
+ patch?: never;
1058
+ trace?: never;
1059
+ };
1060
+ "/customdomain/{customdomain_id}": {
1061
+ parameters: {
1062
+ query?: never;
1063
+ header?: never;
1064
+ path?: never;
1065
+ cookie?: never;
1066
+ };
1067
+ /**
1068
+ * Get Customdomain in Account
1069
+ * @description Get Customdomain in Account
1070
+ */
1071
+ get: operations["customdomain/get"];
1072
+ put?: never;
1073
+ post?: never;
1074
+ /**
1075
+ * Delete Customdomain in Account
1076
+ * @description Delete Customdomain in Account
1077
+ */
1078
+ delete: operations["customdomain/remove"];
1079
+ options?: never;
1080
+ head?: never;
1081
+ patch?: never;
1082
+ trace?: never;
1083
+ };
1019
1084
  "/passwordless/verify_redirect": {
1020
1085
  parameters: {
1021
1086
  query?: never;
@@ -2608,6 +2673,54 @@ export interface components {
2608
2673
  NotificationSubscriptionWebhookMetadataUpdate: {
2609
2674
  [key: string]: unknown;
2610
2675
  };
2676
+ /** @description Customdomain */
2677
+ Customdomain: {
2678
+ /** @description Customdomain ID */
2679
+ id: string;
2680
+ domain: string;
2681
+ token: string;
2682
+ status: string;
2683
+ attempts: number;
2684
+ /** Format: date-time */
2685
+ nextCheck?: string;
2686
+ /** Format: date-time */
2687
+ lastCheck?: string;
2688
+ errorLog?: string;
2689
+ /** Format: date-time */
2690
+ verifiedAt?: string;
2691
+ /** @description Object is related with this account */
2692
+ account: string;
2693
+ /**
2694
+ * @description CustomdomainMetadata
2695
+ * @default {}
2696
+ */
2697
+ metadata: {
2698
+ [key: string]: unknown;
2699
+ };
2700
+ /** @description Customdomain creation date */
2701
+ createdAt: string;
2702
+ /** @description Customdomain updated date */
2703
+ updatedAt?: string;
2704
+ };
2705
+ /**
2706
+ * @description CustomdomainMetadata
2707
+ * @default {}
2708
+ */
2709
+ CustomdomainMetadata: {
2710
+ [key: string]: unknown;
2711
+ };
2712
+ /** @description CustomdomainCreate */
2713
+ CustomdomainCreate: {
2714
+ domain: string;
2715
+ /** @description Add Metadata */
2716
+ metadata?: {
2717
+ [key: string]: unknown;
2718
+ };
2719
+ };
2720
+ /** @description Add Metadata */
2721
+ CustomdomainMetadataCreate: {
2722
+ [key: string]: unknown;
2723
+ };
2611
2724
  /** @description AuthAccountCreate */
2612
2725
  AuthAccountCreate: {
2613
2726
  name: string;
@@ -3900,6 +4013,127 @@ export interface operations {
3900
4013
  };
3901
4014
  };
3902
4015
  };
4016
+ "customdomain/retry": {
4017
+ parameters: {
4018
+ query?: never;
4019
+ header?: never;
4020
+ path: {
4021
+ Customdomain_id: string;
4022
+ };
4023
+ cookie?: never;
4024
+ };
4025
+ requestBody?: never;
4026
+ responses: {
4027
+ /** @description Default Response */
4028
+ 200: {
4029
+ headers: {
4030
+ [name: string]: unknown;
4031
+ };
4032
+ content?: never;
4033
+ };
4034
+ };
4035
+ };
4036
+ "customdomain/list": {
4037
+ parameters: {
4038
+ query?: {
4039
+ /** @description Start from this cursor */
4040
+ cursor?: string;
4041
+ /** @description Start from this cursor */
4042
+ next?: string;
4043
+ /** @description Size of the results array */
4044
+ pageSize?: number;
4045
+ /** @description Filter using a FaableQL query */
4046
+ query?: string;
4047
+ expand?: string[];
4048
+ };
4049
+ header?: never;
4050
+ path?: never;
4051
+ cookie?: never;
4052
+ };
4053
+ requestBody?: never;
4054
+ responses: {
4055
+ /** @description PaginatedResponse */
4056
+ 200: {
4057
+ headers: {
4058
+ [name: string]: unknown;
4059
+ };
4060
+ content: {
4061
+ "application/json": {
4062
+ /** @description next cursor */
4063
+ next: string | null;
4064
+ /** @description List of results */
4065
+ results: components["schemas"]["Customdomain"][];
4066
+ };
4067
+ };
4068
+ };
4069
+ };
4070
+ };
4071
+ "customdomain/create": {
4072
+ parameters: {
4073
+ query?: never;
4074
+ header?: never;
4075
+ path?: never;
4076
+ cookie?: never;
4077
+ };
4078
+ requestBody?: {
4079
+ content: {
4080
+ "application/json": components["schemas"]["CustomdomainCreate"];
4081
+ };
4082
+ };
4083
+ responses: {
4084
+ /** @description Customdomain */
4085
+ 200: {
4086
+ headers: {
4087
+ [name: string]: unknown;
4088
+ };
4089
+ content: {
4090
+ "application/json": components["schemas"]["Customdomain"];
4091
+ };
4092
+ };
4093
+ };
4094
+ };
4095
+ "customdomain/get": {
4096
+ parameters: {
4097
+ query?: never;
4098
+ header?: never;
4099
+ path: {
4100
+ customdomain_id: string;
4101
+ };
4102
+ cookie?: never;
4103
+ };
4104
+ requestBody?: never;
4105
+ responses: {
4106
+ /** @description Customdomain */
4107
+ 200: {
4108
+ headers: {
4109
+ [name: string]: unknown;
4110
+ };
4111
+ content: {
4112
+ "application/json": components["schemas"]["Customdomain"];
4113
+ };
4114
+ };
4115
+ };
4116
+ };
4117
+ "customdomain/remove": {
4118
+ parameters: {
4119
+ query?: never;
4120
+ header?: never;
4121
+ path: {
4122
+ customdomain_id: string;
4123
+ };
4124
+ cookie?: never;
4125
+ };
4126
+ requestBody?: never;
4127
+ responses: {
4128
+ /** @description Default Response */
4129
+ 200: {
4130
+ headers: {
4131
+ [name: string]: unknown;
4132
+ };
4133
+ content?: never;
4134
+ };
4135
+ };
4136
+ };
3903
4137
  "passwordless/verify_redirect": {
3904
4138
  parameters: {
3905
4139
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,14 +18,14 @@
18
18
  "@types/node": "^20.10.5",
19
19
  "ava": "^6.1.3",
20
20
  "dotenv": "^16.4.5",
21
- "openapi-typescript": "^7.8.0",
21
+ "openapi-typescript": "^7.13.0",
22
22
  "rimraf": "^6.0.1",
23
23
  "semantic-release": "^25.0.3",
24
24
  "tsimp": "^2.0.11",
25
25
  "typescript": "^5.3.3"
26
26
  },
27
27
  "scripts": {
28
- "gentypes": "openapi-typescript https://faable.auth.faable.link/docs/json -o src/types/types.ts",
28
+ "gentypes": "openapi-typescript https://faable.auth.faable.link/docs/json -o src/api/types.ts",
29
29
  "build": "rimraf dist && tsc",
30
30
  "prebuild": "npm run gentypes",
31
31
  "prepublishOnly": "npm run build",