auth0 4.18.0 → 4.19.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 (27) hide show
  1. package/dist/cjs/management/__generated/managers/branding-manager.d.ts +43 -1
  2. package/dist/cjs/management/__generated/managers/branding-manager.js +90 -0
  3. package/dist/cjs/management/__generated/managers/branding-manager.js.map +1 -1
  4. package/dist/cjs/management/__generated/managers/clients-manager.js +4 -0
  5. package/dist/cjs/management/__generated/managers/clients-manager.js.map +1 -1
  6. package/dist/cjs/management/__generated/managers/keys-manager.d.ts +46 -1
  7. package/dist/cjs/management/__generated/managers/keys-manager.js +99 -0
  8. package/dist/cjs/management/__generated/managers/keys-manager.js.map +1 -1
  9. package/dist/cjs/management/__generated/models/index.d.ts +392 -3
  10. package/dist/cjs/management/__generated/models/index.js +48 -6
  11. package/dist/cjs/management/__generated/models/index.js.map +1 -1
  12. package/dist/cjs/version.d.ts +1 -1
  13. package/dist/cjs/version.js +1 -1
  14. package/dist/esm/management/__generated/managers/branding-manager.d.ts +43 -1
  15. package/dist/esm/management/__generated/managers/branding-manager.js +90 -0
  16. package/dist/esm/management/__generated/managers/branding-manager.js.map +1 -1
  17. package/dist/esm/management/__generated/managers/clients-manager.js +4 -0
  18. package/dist/esm/management/__generated/managers/clients-manager.js.map +1 -1
  19. package/dist/esm/management/__generated/managers/keys-manager.d.ts +46 -1
  20. package/dist/esm/management/__generated/managers/keys-manager.js +99 -0
  21. package/dist/esm/management/__generated/managers/keys-manager.js.map +1 -1
  22. package/dist/esm/management/__generated/models/index.d.ts +392 -3
  23. package/dist/esm/management/__generated/models/index.js +42 -0
  24. package/dist/esm/management/__generated/models/index.js.map +1 -1
  25. package/dist/esm/version.d.ts +1 -1
  26. package/dist/esm/version.js +1 -1
  27. package/package.json +1 -1
@@ -4,6 +4,56 @@ const { BaseAPI } = runtime;
4
4
  *
5
5
  */
6
6
  export class KeysManager extends BaseAPI {
7
+ /**
8
+ * Delete the custom provided encryption key with the given ID and move back to using native encryption key.
9
+ * Delete the encryption key by its key id
10
+ *
11
+ * @throws {RequiredError}
12
+ */
13
+ async deleteEncryptionKey(requestParameters, initOverrides) {
14
+ runtime.validateRequiredRequestParams(requestParameters, ['kid']);
15
+ const response = await this.request({
16
+ path: `/keys/encryption/{kid}`.replace('{kid}', encodeURIComponent(String(requestParameters.kid))),
17
+ method: 'DELETE',
18
+ }, initOverrides);
19
+ return runtime.VoidApiResponse.fromResponse(response);
20
+ }
21
+ /**
22
+ * Retrieve details of the encryption key with the given ID.
23
+ * Get the encryption key by its key id
24
+ *
25
+ * @throws {RequiredError}
26
+ */
27
+ async getEncryptionKey(requestParameters, initOverrides) {
28
+ runtime.validateRequiredRequestParams(requestParameters, ['kid']);
29
+ const response = await this.request({
30
+ path: `/keys/encryption/{kid}`.replace('{kid}', encodeURIComponent(String(requestParameters.kid))),
31
+ method: 'GET',
32
+ }, initOverrides);
33
+ return runtime.JSONApiResponse.fromResponse(response);
34
+ }
35
+ async getAllEncryptionKeys(requestParameters = {}, initOverrides) {
36
+ const queryParameters = runtime.applyQueryParams(requestParameters, [
37
+ {
38
+ key: 'page',
39
+ config: {},
40
+ },
41
+ {
42
+ key: 'per_page',
43
+ config: {},
44
+ },
45
+ {
46
+ key: 'include_totals',
47
+ config: {},
48
+ },
49
+ ]);
50
+ const response = await this.request({
51
+ path: `/keys/encryption`,
52
+ method: 'GET',
53
+ query: queryParameters,
54
+ }, initOverrides);
55
+ return runtime.JSONApiResponse.fromResponse(response);
56
+ }
7
57
  /**
8
58
  * Get an Application Signing Key by its key id
9
59
  *
@@ -29,6 +79,41 @@ export class KeysManager extends BaseAPI {
29
79
  }, initOverrides);
30
80
  return runtime.JSONApiResponse.fromResponse(response);
31
81
  }
82
+ /**
83
+ * Create the new, pre-activated encryption key, without the key material.
84
+ * Create the new encryption key
85
+ *
86
+ * @throws {RequiredError}
87
+ */
88
+ async createEncryptionKey(bodyParameters, initOverrides) {
89
+ const headerParameters = {};
90
+ headerParameters['Content-Type'] = 'application/json';
91
+ const response = await this.request({
92
+ path: `/keys/encryption`,
93
+ method: 'POST',
94
+ headers: headerParameters,
95
+ body: bodyParameters,
96
+ }, initOverrides);
97
+ return runtime.JSONApiResponse.fromResponse(response);
98
+ }
99
+ /**
100
+ * Import wrapped key material and activate encryption key.
101
+ * Import the encryption key
102
+ *
103
+ * @throws {RequiredError}
104
+ */
105
+ async importEncryptionKey(requestParameters, bodyParameters, initOverrides) {
106
+ runtime.validateRequiredRequestParams(requestParameters, ['kid']);
107
+ const headerParameters = {};
108
+ headerParameters['Content-Type'] = 'application/json';
109
+ const response = await this.request({
110
+ path: `/keys/encryption/{kid}`.replace('{kid}', encodeURIComponent(String(requestParameters.kid))),
111
+ method: 'POST',
112
+ headers: headerParameters,
113
+ body: bodyParameters,
114
+ }, initOverrides);
115
+ return runtime.JSONApiResponse.fromResponse(response);
116
+ }
32
117
  /**
33
118
  * Perform rekeying operation on the key hierarchy.
34
119
  * Rekey the key hierarchy
@@ -42,6 +127,20 @@ export class KeysManager extends BaseAPI {
42
127
  }, initOverrides);
43
128
  return runtime.VoidApiResponse.fromResponse(response);
44
129
  }
130
+ /**
131
+ * Create the public wrapping key to wrap your own encryption key material.
132
+ * Create the public wrapping key
133
+ *
134
+ * @throws {RequiredError}
135
+ */
136
+ async createPublicWrappingKey(requestParameters, initOverrides) {
137
+ runtime.validateRequiredRequestParams(requestParameters, ['kid']);
138
+ const response = await this.request({
139
+ path: `/keys/encryption/{kid}/wrapping-key`.replace('{kid}', encodeURIComponent(String(requestParameters.kid))),
140
+ method: 'POST',
141
+ }, initOverrides);
142
+ return runtime.JSONApiResponse.fromResponse(response);
143
+ }
45
144
  /**
46
145
  * Rotate the Application Signing Key
47
146
  *
@@ -1 +1 @@
1
- {"version":3,"file":"keys-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/keys-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,C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SACf,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CACV,iBAAwC,EACxC,aAA4B;QAE5B,OAAO,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;QAElE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,4BAA4B,CAAC,OAAO,CACxC,OAAO,EACP,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAClD;YACD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;CACF"}
1
+ {"version":3,"file":"keys-manager.js","sourceRoot":"","sources":["../../../../../src/management/__generated/managers/keys-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AAqBnD,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,OAAO;IACtC;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,iBAA6C,EAC7C,aAA4B;QAE5B,OAAO,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;QAElE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,wBAAwB,CAAC,OAAO,CACpC,OAAO,EACP,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAClD;YACD,MAAM,EAAE,QAAQ;SACjB,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC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AAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CACV,iBAAwC,EACxC,aAA4B;QAE5B,OAAO,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;QAElE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CACjC;YACE,IAAI,EAAE,4BAA4B,CAAC,OAAO,CACxC,OAAO,EACP,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAClD;YACD,MAAM,EAAE,KAAK;SACd,EACD,aAAa,CACd,CAAC;QAEF,OAAO,OAAO,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxD,CAAC;CACF"}
@@ -3512,6 +3512,45 @@ export declare const ConnectionUpdateOptionsSetUserRootAttributesEnum: {
3512
3512
  readonly first_login: "on_first_login";
3513
3513
  };
3514
3514
  export type ConnectionUpdateOptionsSetUserRootAttributesEnum = (typeof ConnectionUpdateOptionsSetUserRootAttributesEnum)[keyof typeof ConnectionUpdateOptionsSetUserRootAttributesEnum];
3515
+ /**
3516
+ * Phone provider configuration schema
3517
+ */
3518
+ export interface CreatePhoneProviderRequest {
3519
+ [key: string]: any | any;
3520
+ /**
3521
+ * Name of the phone notification provider
3522
+ *
3523
+ */
3524
+ name: CreatePhoneProviderRequestNameEnum;
3525
+ /**
3526
+ * Whether the provider is enabled (false) or disabled (true).
3527
+ *
3528
+ */
3529
+ disabled?: boolean;
3530
+ /**
3531
+ */
3532
+ configuration?: GetBrandingPhoneProviders200ResponseProvidersInnerConfiguration;
3533
+ /**
3534
+ */
3535
+ credentials: CreatePhoneProviderRequestCredentials;
3536
+ }
3537
+ export declare const CreatePhoneProviderRequestNameEnum: {
3538
+ readonly twilio: "twilio";
3539
+ readonly custom: "custom";
3540
+ };
3541
+ export type CreatePhoneProviderRequestNameEnum = (typeof CreatePhoneProviderRequestNameEnum)[keyof typeof CreatePhoneProviderRequestNameEnum];
3542
+ /**
3543
+ * Provider credentials required to use authenticate to the provider.
3544
+ */
3545
+ export type CreatePhoneProviderRequestCredentials = CreatePhoneProviderRequestCredentialsAnyOf | object;
3546
+ /**
3547
+ *
3548
+ */
3549
+ export interface CreatePhoneProviderRequestCredentialsAnyOf {
3550
+ /**
3551
+ */
3552
+ auth_token: string;
3553
+ }
3515
3554
  /**
3516
3555
  *
3517
3556
  */
@@ -4876,6 +4915,103 @@ export interface GetBranding200ResponseFont {
4876
4915
  */
4877
4916
  url: string;
4878
4917
  }
4918
+ /**
4919
+ *
4920
+ */
4921
+ export interface GetBrandingPhoneProviders200Response {
4922
+ /**
4923
+ */
4924
+ providers: Array<GetBrandingPhoneProviders200ResponseProvidersInner>;
4925
+ }
4926
+ /**
4927
+ * Phone provider configuration schema
4928
+ */
4929
+ export interface GetBrandingPhoneProviders200ResponseProvidersInner {
4930
+ /**
4931
+ */
4932
+ id?: string;
4933
+ /**
4934
+ * The name of the tenant
4935
+ *
4936
+ */
4937
+ tenant?: string;
4938
+ /**
4939
+ * Name of the phone notification provider
4940
+ *
4941
+ */
4942
+ name: GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum;
4943
+ /**
4944
+ * This depicts the type of notifications this provider can receive.
4945
+ *
4946
+ */
4947
+ channel?: GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum;
4948
+ /**
4949
+ * Whether the provider is enabled (false) or disabled (true).
4950
+ *
4951
+ */
4952
+ disabled?: boolean;
4953
+ /**
4954
+ */
4955
+ configuration?: GetBrandingPhoneProviders200ResponseProvidersInnerConfiguration;
4956
+ /**
4957
+ * The provider's creation date and time in ISO 8601 format
4958
+ *
4959
+ */
4960
+ created_at?: string;
4961
+ /**
4962
+ * The date and time of the last update to the provider in ISO 8601 format
4963
+ *
4964
+ */
4965
+ updated_at?: string;
4966
+ }
4967
+ export declare const GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum: {
4968
+ readonly twilio: "twilio";
4969
+ readonly custom: "custom";
4970
+ };
4971
+ export type GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum = (typeof GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum)[keyof typeof GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum];
4972
+ export declare const GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum: {
4973
+ readonly phone: "phone";
4974
+ };
4975
+ export type GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum = (typeof GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum)[keyof typeof GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum];
4976
+ /**
4977
+ *
4978
+ */
4979
+ export type GetBrandingPhoneProviders200ResponseProvidersInnerConfiguration = GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf | GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1;
4980
+ /**
4981
+ *
4982
+ */
4983
+ export interface GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf {
4984
+ /**
4985
+ */
4986
+ default_from?: string;
4987
+ /**
4988
+ */
4989
+ mssid?: string;
4990
+ /**
4991
+ */
4992
+ sid: string;
4993
+ /**
4994
+ */
4995
+ delivery_methods: Array<GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum>;
4996
+ }
4997
+ export declare const GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum: {
4998
+ readonly text: "text";
4999
+ readonly voice: "voice";
5000
+ };
5001
+ export type GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum = (typeof GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum)[keyof typeof GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum];
5002
+ /**
5003
+ *
5004
+ */
5005
+ export interface GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1 {
5006
+ /**
5007
+ */
5008
+ delivery_methods: Array<GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum>;
5009
+ }
5010
+ export declare const GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum: {
5011
+ readonly text: "text";
5012
+ readonly voice: "voice";
5013
+ };
5014
+ export type GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum = (typeof GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum)[keyof typeof GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum];
4879
5015
  /**
4880
5016
  *
4881
5017
  */
@@ -5044,8 +5180,6 @@ export interface GetClients200ResponseOneOf {
5044
5180
  */
5045
5181
  export interface GetClients200ResponseOneOf1 {
5046
5182
  /**
5047
- * Opaque identifier for use with the <i>from</i> query parameter for the next page of results.<br/>This identifier is valid for 24 hours.
5048
- *
5049
5183
  */
5050
5184
  next: string;
5051
5185
  /**
@@ -5280,6 +5414,89 @@ export interface GetEnabledConnections200ResponseOneOfInner {
5280
5414
  */
5281
5415
  connection: PostOrganizations201ResponseEnabledConnectionsInnerConnection;
5282
5416
  }
5417
+ /**
5418
+ *
5419
+ */
5420
+ export type GetEncryptionKeys200Response = Array<GetEncryptionKeys200ResponseOneOfInner> | GetEncryptionKeys200ResponseOneOf;
5421
+ /**
5422
+ *
5423
+ */
5424
+ export interface GetEncryptionKeys200ResponseOneOf {
5425
+ /**
5426
+ * Page index of the results to return. First page is 0.
5427
+ *
5428
+ */
5429
+ start: number;
5430
+ /**
5431
+ * Number of results per page.
5432
+ *
5433
+ */
5434
+ limit: number;
5435
+ /**
5436
+ * Total amount of encryption keys.
5437
+ *
5438
+ */
5439
+ total: number;
5440
+ /**
5441
+ * Encryption keys.
5442
+ *
5443
+ */
5444
+ keys: Array<GetEncryptionKeys200ResponseOneOfInner>;
5445
+ }
5446
+ /**
5447
+ * Encryption key
5448
+ */
5449
+ export interface GetEncryptionKeys200ResponseOneOfInner {
5450
+ /**
5451
+ * Key ID
5452
+ *
5453
+ */
5454
+ kid: string;
5455
+ /**
5456
+ * Key type
5457
+ *
5458
+ */
5459
+ type: GetEncryptionKeys200ResponseOneOfInnerTypeEnum;
5460
+ /**
5461
+ * Key state
5462
+ *
5463
+ */
5464
+ state: GetEncryptionKeys200ResponseOneOfInnerStateEnum;
5465
+ /**
5466
+ * Key creation timestamp
5467
+ *
5468
+ */
5469
+ created_at: string;
5470
+ /**
5471
+ * Key update timestamp
5472
+ *
5473
+ */
5474
+ updated_at: string;
5475
+ /**
5476
+ * ID of parent wrapping key
5477
+ *
5478
+ */
5479
+ parent_kid: string;
5480
+ /**
5481
+ * Public key in PEM format
5482
+ *
5483
+ */
5484
+ public_key?: string;
5485
+ }
5486
+ export declare const GetEncryptionKeys200ResponseOneOfInnerTypeEnum: {
5487
+ readonly customer_provided_root_key: "customer-provided-root-key";
5488
+ readonly environment_root_key: "environment-root-key";
5489
+ readonly tenant_master_key: "tenant-master-key";
5490
+ readonly tenant_encryption_key: "tenant-encryption-key";
5491
+ };
5492
+ export type GetEncryptionKeys200ResponseOneOfInnerTypeEnum = (typeof GetEncryptionKeys200ResponseOneOfInnerTypeEnum)[keyof typeof GetEncryptionKeys200ResponseOneOfInnerTypeEnum];
5493
+ export declare const GetEncryptionKeys200ResponseOneOfInnerStateEnum: {
5494
+ readonly pre_activation: "pre-activation";
5495
+ readonly active: "active";
5496
+ readonly deactivated: "deactivated";
5497
+ readonly destroyed: "destroyed";
5498
+ };
5499
+ export type GetEncryptionKeys200ResponseOneOfInnerStateEnum = (typeof GetEncryptionKeys200ResponseOneOfInnerStateEnum)[keyof typeof GetEncryptionKeys200ResponseOneOfInnerStateEnum];
5283
5500
  /**
5284
5501
  *
5285
5502
  */
@@ -10220,6 +10437,53 @@ export interface PostEnabledConnectionsRequest {
10220
10437
  */
10221
10438
  show_as_button?: boolean;
10222
10439
  }
10440
+ /**
10441
+ *
10442
+ */
10443
+ export interface PostEncryptionKeyRequest {
10444
+ [key: string]: any | any;
10445
+ /**
10446
+ * Base64 encoded ciphertext of key material wrapped by public wrapping key.
10447
+ *
10448
+ */
10449
+ wrapped_key: string;
10450
+ }
10451
+ /**
10452
+ *
10453
+ */
10454
+ export interface PostEncryptionRequest {
10455
+ [key: string]: any | any;
10456
+ /**
10457
+ * Type of the encryption key to be created.
10458
+ *
10459
+ */
10460
+ type: PostEncryptionRequestTypeEnum;
10461
+ }
10462
+ export declare const PostEncryptionRequestTypeEnum: {
10463
+ readonly customer_provided_root_key: "customer-provided-root-key";
10464
+ readonly tenant_encryption_key: "tenant-encryption-key";
10465
+ };
10466
+ export type PostEncryptionRequestTypeEnum = (typeof PostEncryptionRequestTypeEnum)[keyof typeof PostEncryptionRequestTypeEnum];
10467
+ /**
10468
+ *
10469
+ */
10470
+ export interface PostEncryptionWrappingKey201Response {
10471
+ [key: string]: any | any;
10472
+ /**
10473
+ * Public wrapping key in PEM format
10474
+ *
10475
+ */
10476
+ public_key: string;
10477
+ /**
10478
+ * Encryption algorithm that shall be used to wrap your key material
10479
+ *
10480
+ */
10481
+ algorithm: PostEncryptionWrappingKey201ResponseAlgorithmEnum;
10482
+ }
10483
+ export declare const PostEncryptionWrappingKey201ResponseAlgorithmEnum: {
10484
+ readonly CKM_RSA_AES_KEY_WRAP: "CKM_RSA_AES_KEY_WRAP";
10485
+ };
10486
+ export type PostEncryptionWrappingKey201ResponseAlgorithmEnum = (typeof PostEncryptionWrappingKey201ResponseAlgorithmEnum)[keyof typeof PostEncryptionWrappingKey201ResponseAlgorithmEnum];
10223
10487
  /**
10224
10488
  *
10225
10489
  */
@@ -15377,6 +15641,32 @@ export interface TwilioFactorProvider {
15377
15641
  */
15378
15642
  sid: string | null;
15379
15643
  }
15644
+ /**
15645
+ *
15646
+ */
15647
+ export interface UpdatePhoneProviderRequest {
15648
+ /**
15649
+ * Name of the phone notification provider
15650
+ *
15651
+ */
15652
+ name?: UpdatePhoneProviderRequestNameEnum;
15653
+ /**
15654
+ * Whether the provider is enabled (false) or disabled (true).
15655
+ *
15656
+ */
15657
+ disabled?: boolean;
15658
+ /**
15659
+ */
15660
+ credentials?: CreatePhoneProviderRequestCredentials;
15661
+ /**
15662
+ */
15663
+ configuration?: GetBrandingPhoneProviders200ResponseProvidersInnerConfiguration;
15664
+ }
15665
+ export declare const UpdatePhoneProviderRequestNameEnum: {
15666
+ readonly twilio: "twilio";
15667
+ readonly custom: "custom";
15668
+ };
15669
+ export type UpdatePhoneProviderRequestNameEnum = (typeof UpdatePhoneProviderRequestNameEnum)[keyof typeof UpdatePhoneProviderRequestNameEnum];
15380
15670
  /**
15381
15671
  *
15382
15672
  */
@@ -16053,6 +16343,24 @@ export interface DeleteBrandingThemeRequest {
16053
16343
  */
16054
16344
  themeId: string;
16055
16345
  }
16346
+ /**
16347
+ *
16348
+ */
16349
+ export interface DeletePhoneProviderRequest {
16350
+ /**
16351
+ */
16352
+ id: string;
16353
+ }
16354
+ /**
16355
+ *
16356
+ */
16357
+ export interface GetBrandingPhoneProvidersRequest {
16358
+ /**
16359
+ * Whether the provider is enabled (false) or disabled (true).
16360
+ *
16361
+ */
16362
+ disabled?: boolean;
16363
+ }
16056
16364
  /**
16057
16365
  *
16058
16366
  */
@@ -16063,6 +16371,14 @@ export interface GetBrandingThemeRequest {
16063
16371
  */
16064
16372
  themeId: string;
16065
16373
  }
16374
+ /**
16375
+ *
16376
+ */
16377
+ export interface GetPhoneProviderRequest {
16378
+ /**
16379
+ */
16380
+ id: string;
16381
+ }
16066
16382
  /**
16067
16383
  *
16068
16384
  */
@@ -16073,6 +16389,14 @@ export interface PatchBrandingThemeRequest {
16073
16389
  */
16074
16390
  themeId: string;
16075
16391
  }
16392
+ /**
16393
+ *
16394
+ */
16395
+ export interface UpdatePhoneProviderOperationRequest {
16396
+ /**
16397
+ */
16398
+ id: string;
16399
+ }
16076
16400
  /**
16077
16401
  *
16078
16402
  */
@@ -16203,7 +16527,12 @@ export interface GetClientsRequest {
16203
16527
  */
16204
16528
  app_type?: string;
16205
16529
  /**
16206
- * Advanced Query in <a href="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene</a> syntax.<br /><b>Permitted Queries</b>:<br /><ul><li><i>client_grant.organization_id:{organization_id}</i></li><li><i>client_grant.allow_any_organization:true</i></li></ul><b>Additional Restrictions</b>:<br /><ul><li>Cannot be used in combination with other filters</li><li>Requires use of the <i>from</i> and <i>take</i> paging parameters (checkpoint paginatinon)</li><li>Reduced rate limits apply. See <a href="https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-configurations/enterprise-public">Rate Limit Configurations</a></li></ul><i><b>Note</b>: Recent updates may not be immediately reflected in query results</i>
16530
+ * A comma separated list of client_ids used to filter the returned clients
16531
+ *
16532
+ */
16533
+ client_ids?: string;
16534
+ /**
16535
+ * Query in <a href ="http://www.lucenetutorial.com/lucene-query-syntax.html">Lucene query string syntax</a>.
16207
16536
  *
16208
16537
  */
16209
16538
  q?: string;
@@ -17319,6 +17648,46 @@ export interface PostUsersImportsData {
17319
17648
  */
17320
17649
  send_completion_email?: boolean;
17321
17650
  }
17651
+ /**
17652
+ *
17653
+ */
17654
+ export interface DeleteEncryptionKeyRequest {
17655
+ /**
17656
+ * Encryption key ID
17657
+ *
17658
+ */
17659
+ kid: string;
17660
+ }
17661
+ /**
17662
+ *
17663
+ */
17664
+ export interface GetEncryptionKeyRequest {
17665
+ /**
17666
+ * Encryption key ID
17667
+ *
17668
+ */
17669
+ kid: string;
17670
+ }
17671
+ /**
17672
+ *
17673
+ */
17674
+ export interface GetEncryptionKeysRequest {
17675
+ /**
17676
+ * Page index of the results to return. First page is 0.
17677
+ *
17678
+ */
17679
+ page?: number;
17680
+ /**
17681
+ * Number of results per page. Default value is 50, maximum value is 100.
17682
+ *
17683
+ */
17684
+ per_page?: number;
17685
+ /**
17686
+ * Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
17687
+ *
17688
+ */
17689
+ include_totals?: boolean;
17690
+ }
17322
17691
  /**
17323
17692
  *
17324
17693
  */
@@ -17329,6 +17698,26 @@ export interface GetSigningKeyRequest {
17329
17698
  */
17330
17699
  kid: string;
17331
17700
  }
17701
+ /**
17702
+ *
17703
+ */
17704
+ export interface PostEncryptionKeyOperationRequest {
17705
+ /**
17706
+ * Encryption key ID
17707
+ *
17708
+ */
17709
+ kid: string;
17710
+ }
17711
+ /**
17712
+ *
17713
+ */
17714
+ export interface PostEncryptionWrappingKeyRequest {
17715
+ /**
17716
+ * Encryption key ID
17717
+ *
17718
+ */
17719
+ kid: string;
17720
+ }
17332
17721
  /**
17333
17722
  *
17334
17723
  */
@@ -284,6 +284,10 @@ export const ConnectionUpdateOptionsSetUserRootAttributesEnum = {
284
284
  each_login: 'on_each_login',
285
285
  first_login: 'on_first_login',
286
286
  };
287
+ export const CreatePhoneProviderRequestNameEnum = {
288
+ twilio: 'twilio',
289
+ custom: 'custom',
290
+ };
287
291
  export const CustomDomainStatusEnum = {
288
292
  disabled: 'disabled',
289
293
  pending: 'pending',
@@ -418,6 +422,21 @@ export const GetAuthenticationMethods200ResponseOneOfInnerAuthenticationMethodsI
418
422
  sms: 'sms',
419
423
  voice: 'voice',
420
424
  };
425
+ export const GetBrandingPhoneProviders200ResponseProvidersInnerNameEnum = {
426
+ twilio: 'twilio',
427
+ custom: 'custom',
428
+ };
429
+ export const GetBrandingPhoneProviders200ResponseProvidersInnerChannelEnum = {
430
+ phone: 'phone',
431
+ };
432
+ export const GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOfDeliveryMethodsEnum = {
433
+ text: 'text',
434
+ voice: 'voice',
435
+ };
436
+ export const GetBrandingPhoneProviders200ResponseProvidersInnerConfigurationAnyOf1DeliveryMethodsEnum = {
437
+ text: 'text',
438
+ voice: 'voice',
439
+ };
421
440
  export const GetBreachedPasswordDetection200ResponseShieldsEnum = {
422
441
  block: 'block',
423
442
  user_notification: 'user_notification',
@@ -464,6 +483,18 @@ export const GetEmailTemplatesByTemplateName200ResponseTemplateEnum = {
464
483
  change_password: 'change_password',
465
484
  password_reset: 'password_reset',
466
485
  };
486
+ export const GetEncryptionKeys200ResponseOneOfInnerTypeEnum = {
487
+ customer_provided_root_key: 'customer-provided-root-key',
488
+ environment_root_key: 'environment-root-key',
489
+ tenant_master_key: 'tenant-master-key',
490
+ tenant_encryption_key: 'tenant-encryption-key',
491
+ };
492
+ export const GetEncryptionKeys200ResponseOneOfInnerStateEnum = {
493
+ pre_activation: 'pre-activation',
494
+ active: 'active',
495
+ deactivated: 'deactivated',
496
+ destroyed: 'destroyed',
497
+ };
467
498
  export const GetExecution200ResponseStatusEnum = {
468
499
  unspecified: 'unspecified',
469
500
  pending: 'pending',
@@ -871,6 +902,13 @@ export const PostEmailTemplatesRequestTemplateEnum = {
871
902
  change_password: 'change_password',
872
903
  password_reset: 'password_reset',
873
904
  };
905
+ export const PostEncryptionRequestTypeEnum = {
906
+ customer_provided_root_key: 'customer-provided-root-key',
907
+ tenant_encryption_key: 'tenant-encryption-key',
908
+ };
909
+ export const PostEncryptionWrappingKey201ResponseAlgorithmEnum = {
910
+ CKM_RSA_AES_KEY_WRAP: 'CKM_RSA_AES_KEY_WRAP',
911
+ };
874
912
  export const PostFlowsVaultConnectionsRequestAnyOfAppIdEnum = {
875
913
  ACTIVECAMPAIGN: 'ACTIVECAMPAIGN',
876
914
  };
@@ -1614,6 +1652,10 @@ export const TenantSettingsUpdateDeviceFlowCharsetEnum = {
1614
1652
  export const TenantSettingsUpdateFlagsChangePwdFlowV1Enum = {
1615
1653
  false: false,
1616
1654
  };
1655
+ export const UpdatePhoneProviderRequestNameEnum = {
1656
+ twilio: 'twilio',
1657
+ custom: 'custom',
1658
+ };
1617
1659
  export const UserEnrollmentStatusEnum = {
1618
1660
  pending: 'pending',
1619
1661
  confirmed: 'confirmed',