@faable/auth-sdk 2.4.13 → 2.4.15

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.
@@ -38,6 +38,7 @@ export declare class FaableAuthApi extends GeneratedFaableAuthApi {
38
38
  token_signing_alg: "RS256";
39
39
  default_connection?: unknown;
40
40
  enabled_locales: string[];
41
+ tags?: string[] | undefined;
41
42
  team?: string | null | undefined;
42
43
  notification_settings: {
43
44
  welcome_email_enabled: boolean;
@@ -35,6 +35,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
35
35
  token_signing_alg: "RS256";
36
36
  default_connection?: unknown;
37
37
  enabled_locales: string[];
38
+ tags?: string[] | undefined;
38
39
  team?: string | null | undefined;
39
40
  notification_settings: {
40
41
  welcome_email_enabled: boolean;
@@ -62,6 +63,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
62
63
  token_signing_alg: "RS256";
63
64
  default_connection?: unknown;
64
65
  enabled_locales: string[];
66
+ tags?: string[] | undefined;
65
67
  team?: string | null | undefined;
66
68
  notification_settings: {
67
69
  welcome_email_enabled: boolean;
@@ -95,6 +97,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
95
97
  token_signing_alg: "RS256";
96
98
  default_connection?: unknown;
97
99
  enabled_locales: string[];
100
+ tags?: string[] | undefined;
98
101
  team?: string | null | undefined;
99
102
  notification_settings: {
100
103
  welcome_email_enabled: boolean;
@@ -133,6 +136,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
133
136
  token_signing_alg: "RS256";
134
137
  default_connection?: unknown;
135
138
  enabled_locales: string[];
139
+ tags?: string[] | undefined;
136
140
  team?: string | null | undefined;
137
141
  notification_settings: {
138
142
  welcome_email_enabled: boolean;
@@ -155,6 +159,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
155
159
  token_signing_alg: "RS256";
156
160
  default_connection?: unknown;
157
161
  enabled_locales: string[];
162
+ tags?: string[] | undefined;
158
163
  team?: string | null | undefined;
159
164
  notification_settings: {
160
165
  welcome_email_enabled: boolean;
@@ -180,6 +185,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
180
185
  token_signing_alg: "RS256";
181
186
  default_connection?: unknown;
182
187
  enabled_locales: string[];
188
+ tags?: string[] | undefined;
183
189
  team?: string | null | undefined;
184
190
  notification_settings: {
185
191
  welcome_email_enabled: boolean;
@@ -220,6 +226,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
220
226
  token_signing_alg: "RS256";
221
227
  default_connection?: unknown;
222
228
  enabled_locales: string[];
229
+ tags?: string[] | undefined;
223
230
  team?: string | null | undefined;
224
231
  notification_settings: {
225
232
  welcome_email_enabled: boolean;
@@ -1644,6 +1644,8 @@ export interface components {
1644
1644
  token_signing_alg: "RS256";
1645
1645
  default_connection?: components["schemas"]["Connection"] | string | unknown;
1646
1646
  enabled_locales: string[];
1647
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
1648
+ tags?: string[];
1647
1649
  team?: string | null;
1648
1650
  notification_settings: {
1649
1651
  /**
@@ -3102,6 +3104,7 @@ export interface components {
3102
3104
  icon_src?: string;
3103
3105
  callback_hostnames?: string[];
3104
3106
  default_connection?: string;
3107
+ tags?: string[];
3105
3108
  /** @description Add Metadata */
3106
3109
  metadata?: {
3107
3110
  [key: string]: unknown;
@@ -3113,11 +3116,13 @@ export interface components {
3113
3116
  };
3114
3117
  /** @description AuthAccountUpdate */
3115
3118
  AuthAccountUpdate: {
3119
+ name?: string;
3116
3120
  logo_src?: string | null;
3117
3121
  icon_src?: string | null;
3118
3122
  callback_hostnames?: string[];
3119
3123
  default_connection?: string | null;
3120
3124
  enabled_locales?: string[];
3125
+ tags?: string[];
3121
3126
  notification_settings?: {
3122
3127
  /**
3123
3128
  * @description Send the built-in welcome email on user.created
@@ -3232,6 +3237,8 @@ export interface operations {
3232
3237
  token_signing_alg: "RS256";
3233
3238
  default_connection?: components["schemas"]["Connection"] | string | unknown;
3234
3239
  enabled_locales: string[];
3240
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
3241
+ tags?: string[];
3235
3242
  team?: string | null;
3236
3243
  notification_settings: {
3237
3244
  /**
@@ -3314,6 +3321,7 @@ export interface operations {
3314
3321
  icon_src?: string;
3315
3322
  callback_hostnames?: string[];
3316
3323
  default_connection?: string;
3324
+ tags?: string[];
3317
3325
  /** @description Add Metadata */
3318
3326
  metadata?: {
3319
3327
  [key: string]: unknown;
@@ -3343,6 +3351,8 @@ export interface operations {
3343
3351
  token_signing_alg: "RS256";
3344
3352
  default_connection?: components["schemas"]["Connection"] | string | unknown;
3345
3353
  enabled_locales: string[];
3354
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
3355
+ tags?: string[];
3346
3356
  team?: string | null;
3347
3357
  notification_settings: {
3348
3358
  /**
@@ -3409,6 +3419,8 @@ export interface operations {
3409
3419
  token_signing_alg: "RS256";
3410
3420
  default_connection?: components["schemas"]["Connection"] | string | unknown;
3411
3421
  enabled_locales: string[];
3422
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
3423
+ tags?: string[];
3412
3424
  team?: string | null;
3413
3425
  notification_settings: {
3414
3426
  /**
@@ -3453,11 +3465,13 @@ export interface operations {
3453
3465
  requestBody: {
3454
3466
  content: {
3455
3467
  "application/json": {
3468
+ name?: string;
3456
3469
  logo_src?: string | null;
3457
3470
  icon_src?: string | null;
3458
3471
  callback_hostnames?: string[];
3459
3472
  default_connection?: string | null;
3460
3473
  enabled_locales?: string[];
3474
+ tags?: string[];
3461
3475
  notification_settings?: {
3462
3476
  /**
3463
3477
  * @description Send the built-in welcome email on user.created
@@ -3495,6 +3509,8 @@ export interface operations {
3495
3509
  token_signing_alg: "RS256";
3496
3510
  default_connection?: components["schemas"]["Connection"] | string | unknown;
3497
3511
  enabled_locales: string[];
3512
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
3513
+ tags?: string[];
3498
3514
  team?: string | null;
3499
3515
  notification_settings: {
3500
3516
  /**
@@ -3570,6 +3586,8 @@ export interface operations {
3570
3586
  token_signing_alg: "RS256";
3571
3587
  default_connection?: components["schemas"]["Connection"] | string | unknown;
3572
3588
  enabled_locales: string[];
3589
+ /** @description Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`). */
3590
+ tags?: string[];
3573
3591
  team?: string | null;
3574
3592
  notification_settings: {
3575
3593
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.4.13",
3
+ "version": "2.4.15",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "1.21.0",
6
+ "version": "1.23.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -110,6 +110,13 @@
110
110
  "type": "string"
111
111
  }
112
112
  },
113
+ "tags": {
114
+ "type": "array",
115
+ "items": {
116
+ "type": "string"
117
+ },
118
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
119
+ },
113
120
  "team": {
114
121
  "type": "string",
115
122
  "nullable": true
@@ -3848,7 +3855,9 @@
3848
3855
  ],
3849
3856
  "properties": {
3850
3857
  "name": {
3851
- "type": "string"
3858
+ "type": "string",
3859
+ "minLength": 1,
3860
+ "maxLength": 100
3852
3861
  },
3853
3862
  "team": {
3854
3863
  "type": "string"
@@ -3868,6 +3877,14 @@
3868
3877
  "default_connection": {
3869
3878
  "type": "string"
3870
3879
  },
3880
+ "tags": {
3881
+ "type": "array",
3882
+ "items": {
3883
+ "type": "string",
3884
+ "maxLength": 50
3885
+ },
3886
+ "maxItems": 20
3887
+ },
3871
3888
  "metadata": {
3872
3889
  "type": "object",
3873
3890
  "properties": {},
@@ -3887,6 +3904,11 @@
3887
3904
  "AuthAccountUpdate": {
3888
3905
  "type": "object",
3889
3906
  "properties": {
3907
+ "name": {
3908
+ "type": "string",
3909
+ "minLength": 1,
3910
+ "maxLength": 100
3911
+ },
3890
3912
  "logo_src": {
3891
3913
  "type": "string",
3892
3914
  "nullable": true
@@ -3911,6 +3933,14 @@
3911
3933
  "type": "string"
3912
3934
  }
3913
3935
  },
3936
+ "tags": {
3937
+ "type": "array",
3938
+ "items": {
3939
+ "type": "string",
3940
+ "maxLength": 50
3941
+ },
3942
+ "maxItems": 20
3943
+ },
3914
3944
  "notification_settings": {
3915
3945
  "type": "object",
3916
3946
  "properties": {
@@ -4280,6 +4310,13 @@
4280
4310
  "type": "string"
4281
4311
  }
4282
4312
  },
4313
+ "tags": {
4314
+ "type": "array",
4315
+ "items": {
4316
+ "type": "string"
4317
+ },
4318
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
4319
+ },
4283
4320
  "team": {
4284
4321
  "type": "string",
4285
4322
  "nullable": true
@@ -4375,7 +4412,9 @@
4375
4412
  ],
4376
4413
  "properties": {
4377
4414
  "name": {
4378
- "type": "string"
4415
+ "type": "string",
4416
+ "minLength": 1,
4417
+ "maxLength": 100
4379
4418
  },
4380
4419
  "team": {
4381
4420
  "type": "string"
@@ -4395,6 +4434,14 @@
4395
4434
  "default_connection": {
4396
4435
  "type": "string"
4397
4436
  },
4437
+ "tags": {
4438
+ "type": "array",
4439
+ "items": {
4440
+ "type": "string",
4441
+ "maxLength": 50
4442
+ },
4443
+ "maxItems": 20
4444
+ },
4398
4445
  "metadata": {
4399
4446
  "type": "object",
4400
4447
  "properties": {},
@@ -4493,6 +4540,13 @@
4493
4540
  "type": "string"
4494
4541
  }
4495
4542
  },
4543
+ "tags": {
4544
+ "type": "array",
4545
+ "items": {
4546
+ "type": "string"
4547
+ },
4548
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
4549
+ },
4496
4550
  "team": {
4497
4551
  "type": "string",
4498
4552
  "nullable": true
@@ -4770,6 +4824,13 @@
4770
4824
  "type": "string"
4771
4825
  }
4772
4826
  },
4827
+ "tags": {
4828
+ "type": "array",
4829
+ "items": {
4830
+ "type": "string"
4831
+ },
4832
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
4833
+ },
4773
4834
  "team": {
4774
4835
  "type": "string",
4775
4836
  "nullable": true
@@ -4858,6 +4919,11 @@
4858
4919
  "schema": {
4859
4920
  "type": "object",
4860
4921
  "properties": {
4922
+ "name": {
4923
+ "type": "string",
4924
+ "minLength": 1,
4925
+ "maxLength": 100
4926
+ },
4861
4927
  "logo_src": {
4862
4928
  "type": "string",
4863
4929
  "nullable": true
@@ -4882,6 +4948,14 @@
4882
4948
  "type": "string"
4883
4949
  }
4884
4950
  },
4951
+ "tags": {
4952
+ "type": "array",
4953
+ "items": {
4954
+ "type": "string",
4955
+ "maxLength": 50
4956
+ },
4957
+ "maxItems": 20
4958
+ },
4885
4959
  "notification_settings": {
4886
4960
  "type": "object",
4887
4961
  "properties": {
@@ -4999,6 +5073,13 @@
4999
5073
  "type": "string"
5000
5074
  }
5001
5075
  },
5076
+ "tags": {
5077
+ "type": "array",
5078
+ "items": {
5079
+ "type": "string"
5080
+ },
5081
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
5082
+ },
5002
5083
  "team": {
5003
5084
  "type": "string",
5004
5085
  "nullable": true
@@ -5195,6 +5276,13 @@
5195
5276
  "type": "string"
5196
5277
  }
5197
5278
  },
5279
+ "tags": {
5280
+ "type": "array",
5281
+ "items": {
5282
+ "type": "string"
5283
+ },
5284
+ "description": "Free-form labels on the account. The dashboard stores the environment as an `env:<name>` tag (e.g. `env:production`, `env:staging`, `env:test`)."
5285
+ },
5198
5286
  "team": {
5199
5287
  "type": "string",
5200
5288
  "nullable": true