auth0 5.2.0 → 5.3.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 (179) hide show
  1. package/LICENSE +1 -1
  2. package/dist/cjs/management/Client.d.ts +3 -0
  3. package/dist/cjs/management/Client.js +59 -54
  4. package/dist/cjs/management/api/errors/PreconditionFailedError.d.ts +5 -0
  5. package/dist/cjs/management/api/errors/PreconditionFailedError.js +54 -0
  6. package/dist/cjs/management/api/errors/index.d.ts +1 -0
  7. package/dist/cjs/management/api/errors/index.js +1 -0
  8. package/dist/cjs/management/api/requests/requests.d.ts +185 -10
  9. package/dist/cjs/management/api/resources/actions/client/Client.d.ts +3 -0
  10. package/dist/cjs/management/api/resources/actions/client/Client.js +9 -4
  11. package/dist/cjs/management/api/resources/actions/resources/index.d.ts +1 -0
  12. package/dist/cjs/management/api/resources/actions/resources/index.js +2 -1
  13. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +149 -0
  14. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +569 -0
  15. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.d.ts +1 -0
  16. package/dist/cjs/management/api/resources/actions/resources/modules/client/index.js +2 -0
  17. package/dist/cjs/management/api/resources/actions/resources/modules/index.d.ts +2 -0
  18. package/dist/cjs/management/api/resources/actions/resources/modules/index.js +18 -0
  19. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.d.ts +1 -0
  20. package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.js +37 -0
  21. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +66 -0
  22. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +252 -0
  23. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.d.ts +1 -0
  24. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.js +2 -0
  25. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.d.ts +1 -0
  26. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.js +17 -0
  27. package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +17 -0
  28. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +61 -0
  29. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +7 -3
  30. package/dist/cjs/management/api/resources/connections/client/Client.js +9 -5
  31. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +18 -0
  32. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +80 -0
  33. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +1 -0
  34. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +2 -1
  35. package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -2
  36. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +59 -50
  37. package/dist/cjs/management/api/resources/flows/index.d.ts +1 -0
  38. package/dist/cjs/management/api/resources/flows/index.js +1 -0
  39. package/dist/cjs/management/api/resources/flows/resources/executions/index.d.ts +1 -0
  40. package/dist/cjs/management/api/resources/flows/resources/executions/index.js +1 -0
  41. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.d.ts +1 -0
  42. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.js +17 -0
  43. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.d.ts +4 -0
  44. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.js +7 -0
  45. package/dist/cjs/management/api/resources/flows/resources/index.d.ts +1 -0
  46. package/dist/cjs/management/api/resources/flows/resources/index.js +4 -0
  47. package/dist/cjs/management/api/resources/flows/types/index.d.ts +1 -0
  48. package/dist/cjs/management/api/resources/flows/types/index.js +17 -0
  49. package/dist/cjs/management/api/resources/flows/types/types.d.ts +4 -0
  50. package/dist/cjs/management/api/resources/flows/types/types.js +7 -0
  51. package/dist/cjs/management/api/resources/groups/client/Client.d.ts +56 -0
  52. package/dist/cjs/management/api/resources/groups/client/Client.js +224 -0
  53. package/dist/cjs/management/api/resources/groups/client/index.d.ts +1 -0
  54. package/dist/cjs/management/api/resources/groups/client/index.js +2 -0
  55. package/dist/cjs/management/api/resources/groups/index.d.ts +2 -0
  56. package/dist/cjs/management/api/resources/groups/index.js +18 -0
  57. package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
  58. package/dist/cjs/management/api/resources/groups/resources/index.js +37 -0
  59. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +34 -0
  60. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +148 -0
  61. package/dist/cjs/management/api/resources/groups/resources/members/client/index.d.ts +1 -0
  62. package/dist/cjs/management/api/resources/groups/resources/members/client/index.js +2 -0
  63. package/dist/cjs/management/api/resources/groups/resources/members/index.d.ts +1 -0
  64. package/dist/cjs/management/api/resources/groups/resources/members/index.js +17 -0
  65. package/dist/cjs/management/api/resources/index.d.ts +2 -0
  66. package/dist/cjs/management/api/resources/index.js +3 -1
  67. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +20 -1
  68. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +66 -1
  69. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +1 -1
  70. package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +18 -0
  71. package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +67 -0
  72. package/dist/cjs/management/api/resources/roles/client/Client.d.ts +1 -0
  73. package/dist/cjs/management/api/resources/roles/client/Client.js +3 -0
  74. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +2 -1
  75. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +3 -2
  76. package/dist/cjs/management/api/resources/users/client/Client.d.ts +3 -0
  77. package/dist/cjs/management/api/resources/users/client/Client.js +23 -18
  78. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +34 -0
  79. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +148 -0
  80. package/dist/cjs/management/api/resources/users/resources/groups/client/index.d.ts +1 -0
  81. package/dist/cjs/management/api/resources/users/resources/groups/client/index.js +2 -0
  82. package/dist/cjs/management/api/resources/users/resources/groups/index.d.ts +1 -0
  83. package/dist/cjs/management/api/resources/users/resources/groups/index.js +17 -0
  84. package/dist/cjs/management/api/resources/users/resources/index.d.ts +1 -0
  85. package/dist/cjs/management/api/resources/users/resources/index.js +2 -1
  86. package/dist/cjs/management/api/types/types.d.ts +4374 -959
  87. package/dist/cjs/management/api/types/types.js +1715 -11
  88. package/dist/cjs/management/version.d.ts +1 -1
  89. package/dist/cjs/management/version.js +1 -1
  90. package/dist/esm/management/Client.d.mts +3 -0
  91. package/dist/esm/management/Client.mjs +5 -0
  92. package/dist/esm/management/api/errors/PreconditionFailedError.d.mts +5 -0
  93. package/dist/esm/management/api/errors/PreconditionFailedError.mjs +17 -0
  94. package/dist/esm/management/api/errors/index.d.mts +1 -0
  95. package/dist/esm/management/api/errors/index.mjs +1 -0
  96. package/dist/esm/management/api/requests/requests.d.mts +185 -10
  97. package/dist/esm/management/api/resources/actions/client/Client.d.mts +3 -0
  98. package/dist/esm/management/api/resources/actions/client/Client.mjs +5 -0
  99. package/dist/esm/management/api/resources/actions/resources/index.d.mts +1 -0
  100. package/dist/esm/management/api/resources/actions/resources/index.mjs +1 -0
  101. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +149 -0
  102. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +532 -0
  103. package/dist/esm/management/api/resources/actions/resources/modules/client/index.d.mts +1 -0
  104. package/dist/esm/management/api/resources/actions/resources/modules/client/index.mjs +1 -0
  105. package/dist/esm/management/api/resources/actions/resources/modules/index.d.mts +2 -0
  106. package/dist/esm/management/api/resources/actions/resources/modules/index.mjs +2 -0
  107. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.d.mts +1 -0
  108. package/dist/esm/management/api/resources/actions/resources/modules/resources/index.mjs +1 -0
  109. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +66 -0
  110. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +215 -0
  111. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.d.mts +1 -0
  112. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.mjs +1 -0
  113. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.d.mts +1 -0
  114. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.mjs +1 -0
  115. package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +17 -0
  116. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +61 -0
  117. package/dist/esm/management/api/resources/connections/client/Client.d.mts +7 -3
  118. package/dist/esm/management/api/resources/connections/client/Client.mjs +9 -5
  119. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +18 -0
  120. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +80 -0
  121. package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +1 -0
  122. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +2 -1
  123. package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -2
  124. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +59 -50
  125. package/dist/esm/management/api/resources/flows/index.d.mts +1 -0
  126. package/dist/esm/management/api/resources/flows/index.mjs +1 -0
  127. package/dist/esm/management/api/resources/flows/resources/executions/index.d.mts +1 -0
  128. package/dist/esm/management/api/resources/flows/resources/executions/index.mjs +1 -0
  129. package/dist/esm/management/api/resources/flows/resources/executions/types/index.d.mts +1 -0
  130. package/dist/esm/management/api/resources/flows/resources/executions/types/index.mjs +1 -0
  131. package/dist/esm/management/api/resources/flows/resources/executions/types/types.d.mts +4 -0
  132. package/dist/esm/management/api/resources/flows/resources/executions/types/types.mjs +4 -0
  133. package/dist/esm/management/api/resources/flows/resources/index.d.mts +1 -0
  134. package/dist/esm/management/api/resources/flows/resources/index.mjs +1 -0
  135. package/dist/esm/management/api/resources/flows/types/index.d.mts +1 -0
  136. package/dist/esm/management/api/resources/flows/types/index.mjs +1 -0
  137. package/dist/esm/management/api/resources/flows/types/types.d.mts +4 -0
  138. package/dist/esm/management/api/resources/flows/types/types.mjs +4 -0
  139. package/dist/esm/management/api/resources/groups/client/Client.d.mts +56 -0
  140. package/dist/esm/management/api/resources/groups/client/Client.mjs +187 -0
  141. package/dist/esm/management/api/resources/groups/client/index.d.mts +1 -0
  142. package/dist/esm/management/api/resources/groups/client/index.mjs +1 -0
  143. package/dist/esm/management/api/resources/groups/index.d.mts +2 -0
  144. package/dist/esm/management/api/resources/groups/index.mjs +2 -0
  145. package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
  146. package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
  147. package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +34 -0
  148. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +111 -0
  149. package/dist/esm/management/api/resources/groups/resources/members/client/index.d.mts +1 -0
  150. package/dist/esm/management/api/resources/groups/resources/members/client/index.mjs +1 -0
  151. package/dist/esm/management/api/resources/groups/resources/members/index.d.mts +1 -0
  152. package/dist/esm/management/api/resources/groups/resources/members/index.mjs +1 -0
  153. package/dist/esm/management/api/resources/index.d.mts +2 -0
  154. package/dist/esm/management/api/resources/index.mjs +2 -0
  155. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +20 -1
  156. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +66 -1
  157. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +1 -1
  158. package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +18 -0
  159. package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +67 -0
  160. package/dist/esm/management/api/resources/roles/client/Client.d.mts +1 -0
  161. package/dist/esm/management/api/resources/roles/client/Client.mjs +3 -0
  162. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +2 -1
  163. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +3 -2
  164. package/dist/esm/management/api/resources/users/client/Client.d.mts +3 -0
  165. package/dist/esm/management/api/resources/users/client/Client.mjs +5 -0
  166. package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +34 -0
  167. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +111 -0
  168. package/dist/esm/management/api/resources/users/resources/groups/client/index.d.mts +1 -0
  169. package/dist/esm/management/api/resources/users/resources/groups/client/index.mjs +1 -0
  170. package/dist/esm/management/api/resources/users/resources/groups/index.d.mts +1 -0
  171. package/dist/esm/management/api/resources/users/resources/groups/index.mjs +1 -0
  172. package/dist/esm/management/api/resources/users/resources/index.d.mts +1 -0
  173. package/dist/esm/management/api/resources/users/resources/index.mjs +1 -0
  174. package/dist/esm/management/api/types/types.d.mts +4374 -959
  175. package/dist/esm/management/api/types/types.mjs +1705 -7
  176. package/dist/esm/management/version.d.mts +1 -1
  177. package/dist/esm/management/version.mjs +1 -1
  178. package/package.json +1 -1
  179. package/reference.md +1547 -186
@@ -47,6 +47,8 @@ export interface CreateActionRequestContent {
47
47
  runtime?: string;
48
48
  /** The list of secrets that are included in an action or a version of an action. */
49
49
  secrets?: Management.ActionSecretRequest[];
50
+ /** The list of action modules and their versions used by this action. */
51
+ modules?: Management.ActionModuleReference[];
50
52
  /** True if the action should be deployed after creation. */
51
53
  deploy?: boolean;
52
54
  }
@@ -77,6 +79,8 @@ export interface UpdateActionRequestContent {
77
79
  runtime?: string;
78
80
  /** The list of secrets that are included in an action or a version of an action. */
79
81
  secrets?: Management.ActionSecretRequest[];
82
+ /** The list of action modules and their versions used by this action. */
83
+ modules?: Management.ActionModuleReference[];
80
84
  }
81
85
  /**
82
86
  * @example
@@ -123,7 +127,7 @@ export interface ListClientGrantsRequestParameters {
123
127
  client_id?: string | null;
124
128
  /** Optional filter on allow_any_organization. */
125
129
  allow_any_organization?: Management.ClientGrantAllowAnyOrganizationEnum | null;
126
- /** The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href="https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
130
+ /** The type of application access the client grant allows. */
127
131
  subject_type?: Management.ClientGrantSubjectTypeEnum | null;
128
132
  }
129
133
  /**
@@ -144,8 +148,10 @@ export interface CreateClientGrantRequestContent {
144
148
  /** Scopes allowed for this client grant. */
145
149
  scope?: string[];
146
150
  subject_type?: Management.ClientGrantSubjectTypeEnum;
147
- /** Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href= "https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
151
+ /** Types of authorization_details allowed for this client grant. */
148
152
  authorization_details_types?: string[];
153
+ /** If enabled, all scopes configured on the resource server are allowed for this grant. */
154
+ allow_all_scopes?: boolean;
149
155
  }
150
156
  /**
151
157
  * @example
@@ -157,8 +163,10 @@ export interface UpdateClientGrantRequestContent {
157
163
  organization_usage?: Management.ClientGrantOrganizationNullableUsageEnum | null;
158
164
  /** Controls allowing any organization to be used with this grant */
159
165
  allow_any_organization?: boolean | null;
160
- /** Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta’s <a href= "https://www.okta.com/legal/"> Master Subscription Agreement.</a> */
166
+ /** Types of authorization_details allowed for this client grant. */
161
167
  authorization_details_types?: string[];
168
+ /** If enabled, all scopes configured on the resource server are allowed for this grant. */
169
+ allow_all_scopes?: boolean | null;
162
170
  }
163
171
  /**
164
172
  * @example
@@ -540,6 +548,8 @@ export interface CreateCustomDomainRequestContent {
540
548
  tls_policy?: Management.CustomDomainTlsPolicyEnum;
541
549
  custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
542
550
  domain_metadata?: Management.DomainMetadata;
551
+ /** Relying Party ID (rpId) to be used for Passkeys on this custom domain. If not provided, the full domain will be used. */
552
+ relying_party_identifier?: string;
543
553
  }
544
554
  /**
545
555
  * @example
@@ -549,6 +559,8 @@ export interface UpdateCustomDomainRequestContent {
549
559
  tls_policy?: Management.CustomDomainTlsPolicyEnum;
550
560
  custom_client_ip_header?: Management.CustomDomainCustomClientIpHeader | undefined;
551
561
  domain_metadata?: Management.DomainMetadata;
562
+ /** Relying Party ID (rpId) to be used for Passkeys on this custom domain. Set to null to remove the rpId and fall back to using the full domain. */
563
+ relying_party_identifier?: string | null;
552
564
  }
553
565
  /**
554
566
  * @example
@@ -585,6 +597,7 @@ export interface ListDeviceCredentialsRequestParameters {
585
597
  * @example
586
598
  * {
587
599
  * device_name: "device_name",
600
+ * type: "public_key",
588
601
  * value: "value",
589
602
  * device_id: "device_id"
590
603
  * }
@@ -592,6 +605,7 @@ export interface ListDeviceCredentialsRequestParameters {
592
605
  export interface CreatePublicKeyDeviceCredentialRequestContent {
593
606
  /** Name for this device easily recognized by owner. */
594
607
  device_name: string;
608
+ type: Management.DeviceCredentialPublicKeyTypeEnum;
595
609
  /** Base64 encoded string containing the credential. */
596
610
  value: string;
597
611
  /** Unique identifier for the device. Recommend using <a href="http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID">Android_ID</a> on Android and <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html#//apple_ref/occ/instp/UIDevice/identifierForVendor">identifierForVendor</a>. */
@@ -724,7 +738,7 @@ export interface FlowsListRequest {
724
738
  /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
725
739
  include_totals?: boolean | null;
726
740
  /** hydration param */
727
- hydrate?: ("form_count" | null) | ("form_count" | null)[];
741
+ hydrate?: (Management.FlowsListRequestHydrateItem | null) | (Management.FlowsListRequestHydrateItem | null)[];
728
742
  /** flag to filter by sync/async flows */
729
743
  synchronous?: boolean | null;
730
744
  }
@@ -845,6 +859,34 @@ export interface DeleteUserGrantByUserIdRequestParameters {
845
859
  /** user_id of the grant to delete. */
846
860
  user_id: string;
847
861
  }
862
+ /**
863
+ * @example
864
+ * {
865
+ * connection_id: "connection_id",
866
+ * name: "name",
867
+ * external_id: "external_id",
868
+ * fields: "fields",
869
+ * include_fields: true,
870
+ * from: "from",
871
+ * take: 1
872
+ * }
873
+ */
874
+ export interface ListGroupsRequestParameters {
875
+ /** Filter groups by connection ID. */
876
+ connection_id?: string | null;
877
+ /** Filter groups by name. */
878
+ name?: string | null;
879
+ /** Filter groups by external ID. */
880
+ external_id?: string | null;
881
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
882
+ fields?: string | null;
883
+ /** Whether specified fields are to be included (true) or excluded (false). */
884
+ include_fields?: boolean | null;
885
+ /** Optional Id from which to start selection. */
886
+ from?: string | null;
887
+ /** Number of results per page. Defaults to 50. */
888
+ take?: number | null;
889
+ }
848
890
  /**
849
891
  * @example
850
892
  * {
@@ -1083,6 +1125,13 @@ export interface UpdateSettingsRequestContent {
1083
1125
  /** Use WebAuthn with Device Biometrics as the first authentication factor */
1084
1126
  webauthn_platform_first_factor?: boolean | null;
1085
1127
  }
1128
+ /**
1129
+ * @example
1130
+ * {}
1131
+ */
1132
+ export interface UpdateRefreshTokenRequestContent {
1133
+ refresh_token_metadata?: (Management.RefreshTokenMetadata | undefined) | null;
1134
+ }
1086
1135
  /**
1087
1136
  * @example
1088
1137
  * {
@@ -1130,7 +1179,7 @@ export interface CreateResourceServerRequestContent {
1130
1179
  /** Whether to enforce authorization policies (true) or to ignore them (false). */
1131
1180
  enforce_policies?: boolean;
1132
1181
  token_encryption?: Management.ResourceServerTokenEncryption | null;
1133
- consent_policy?: (Management.ResourceServerConsentPolicyEnum | undefined) | null;
1182
+ consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
1134
1183
  authorization_details?: unknown[];
1135
1184
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1136
1185
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
@@ -1167,7 +1216,7 @@ export interface UpdateResourceServerRequestContent {
1167
1216
  /** Whether authorization policies are enforced (true) or not enforced (false). */
1168
1217
  enforce_policies?: boolean;
1169
1218
  token_encryption?: Management.ResourceServerTokenEncryption | null;
1170
- consent_policy?: (Management.ResourceServerConsentPolicyEnum | undefined) | null;
1219
+ consent_policy?: Management.ResourceServerConsentPolicyEnum | null;
1171
1220
  authorization_details?: unknown[];
1172
1221
  proof_of_possession?: Management.ResourceServerProofOfPossession | null;
1173
1222
  subject_type_authorization?: Management.ResourceServerSubjectTypeAuthorization;
@@ -1436,7 +1485,8 @@ export interface TokenExchangeProfilesListRequest {
1436
1485
  * {
1437
1486
  * name: "name",
1438
1487
  * subject_token_type: "subject_token_type",
1439
- * action_id: "action_id"
1488
+ * action_id: "action_id",
1489
+ * type: "custom_authentication"
1440
1490
  * }
1441
1491
  */
1442
1492
  export interface CreateTokenExchangeProfileRequestContent {
@@ -1446,6 +1496,7 @@ export interface CreateTokenExchangeProfileRequestContent {
1446
1496
  subject_token_type: string;
1447
1497
  /** The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger. */
1448
1498
  action_id: string;
1499
+ type: Management.TokenExchangeProfileTypeEnum;
1449
1500
  }
1450
1501
  /**
1451
1502
  * @example
@@ -1708,6 +1759,75 @@ export interface ListActionVersionsRequestParameters {
1708
1759
  /** This field specify the maximum number of results to be returned by the server. 20 by default */
1709
1760
  per_page?: number | null;
1710
1761
  }
1762
+ /**
1763
+ * @example
1764
+ * {
1765
+ * page: 1,
1766
+ * per_page: 1
1767
+ * }
1768
+ */
1769
+ export interface GetActionModulesRequestParameters {
1770
+ /** Page index of the results to return. First page is 0. */
1771
+ page?: number | null;
1772
+ /** Number of results per page. Paging is disabled if parameter not sent. */
1773
+ per_page?: number | null;
1774
+ }
1775
+ /**
1776
+ * @example
1777
+ * {
1778
+ * name: "name",
1779
+ * code: "code"
1780
+ * }
1781
+ */
1782
+ export interface CreateActionModuleRequestContent {
1783
+ /** The name of the action module. */
1784
+ name: string;
1785
+ /** The source code of the action module. */
1786
+ code: string;
1787
+ /** The secrets to associate with the action module. */
1788
+ secrets?: Management.ActionModuleSecretRequest[];
1789
+ /** The npm dependencies of the action module. */
1790
+ dependencies?: Management.ActionModuleDependencyRequest[];
1791
+ /** The API version of the module. */
1792
+ api_version?: string;
1793
+ /** Whether to publish the module immediately after creation. */
1794
+ publish?: boolean;
1795
+ }
1796
+ /**
1797
+ * @example
1798
+ * {}
1799
+ */
1800
+ export interface UpdateActionModuleRequestContent {
1801
+ /** The source code of the action module. */
1802
+ code?: string;
1803
+ /** The secrets to associate with the action module. */
1804
+ secrets?: Management.ActionModuleSecretRequest[];
1805
+ /** The npm dependencies of the action module. */
1806
+ dependencies?: Management.ActionModuleDependencyRequest[];
1807
+ }
1808
+ /**
1809
+ * @example
1810
+ * {
1811
+ * page: 1,
1812
+ * per_page: 1
1813
+ * }
1814
+ */
1815
+ export interface GetActionModuleActionsRequestParameters {
1816
+ /** Page index of the results to return. First page is 0. */
1817
+ page?: number | null;
1818
+ /** Number of results per page. */
1819
+ per_page?: number | null;
1820
+ }
1821
+ /**
1822
+ * @example
1823
+ * {
1824
+ * module_version_id: "module_version_id"
1825
+ * }
1826
+ */
1827
+ export interface RollbackActionModuleRequestParameters {
1828
+ /** The unique ID of the module version to roll back to. */
1829
+ module_version_id: string;
1830
+ }
1711
1831
  /**
1712
1832
  * @example
1713
1833
  * {
@@ -2149,6 +2269,19 @@ export interface ConnectionsGetRequest {
2149
2269
  /** <code>true</code> if the fields specified are to be included in the result, <code>false</code> otherwise (defaults to <code>true</code>) */
2150
2270
  include_fields?: boolean | null;
2151
2271
  }
2272
+ /**
2273
+ * @example
2274
+ * {
2275
+ * from: "from",
2276
+ * take: 1
2277
+ * }
2278
+ */
2279
+ export interface ListDirectoryProvisioningsRequestParameters {
2280
+ /** Optional Id from which to start selection. */
2281
+ from?: string | null;
2282
+ /** Number of results per page. Defaults to 50. */
2283
+ take?: number | null;
2284
+ }
2152
2285
  /**
2153
2286
  * @example
2154
2287
  * {
@@ -2297,7 +2430,7 @@ export interface ExecutionsListRequest {
2297
2430
  */
2298
2431
  export interface ExecutionsGetRequest {
2299
2432
  /** Hydration param */
2300
- hydrate?: ("debug" | null) | ("debug" | null)[];
2433
+ hydrate?: (Management.flows.ExecutionsGetRequestHydrateItem | null) | (Management.flows.ExecutionsGetRequestHydrateItem | null)[];
2301
2434
  }
2302
2435
  /**
2303
2436
  * @example
@@ -2324,6 +2457,25 @@ export interface UpdateFlowsVaultConnectionRequestContent {
2324
2457
  name?: string;
2325
2458
  setup?: Management.UpdateFlowsVaultConnectionSetup;
2326
2459
  }
2460
+ /**
2461
+ * @example
2462
+ * {
2463
+ * fields: "fields",
2464
+ * include_fields: true,
2465
+ * from: "from",
2466
+ * take: 1
2467
+ * }
2468
+ */
2469
+ export interface GetGroupMembersRequestParameters {
2470
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
2471
+ fields?: string | null;
2472
+ /** Whether specified fields are to be included (true) or excluded (false). */
2473
+ include_fields?: boolean | null;
2474
+ /** Optional Id from which to start selection. */
2475
+ from?: string | null;
2476
+ /** Number of results per page. Defaults to 50. */
2477
+ take?: number | null;
2478
+ }
2327
2479
  /**
2328
2480
  * @example
2329
2481
  * {
@@ -2680,7 +2832,7 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
2680
2832
  /** The domain name to associate with the organization e.g. acme.com. */
2681
2833
  domain: string;
2682
2834
  status?: Management.OrganizationDiscoveryDomainStatus;
2683
- /** Indicates whether this discovery domain should be used for organization discovery. */
2835
+ /** Indicates whether this domain should be used for organization discovery. */
2684
2836
  use_for_organization_discovery?: boolean;
2685
2837
  }
2686
2838
  /**
@@ -2689,7 +2841,7 @@ export interface CreateOrganizationDiscoveryDomainRequestContent {
2689
2841
  */
2690
2842
  export interface UpdateOrganizationDiscoveryDomainRequestContent {
2691
2843
  status?: Management.OrganizationDiscoveryDomainStatus;
2692
- /** Indicates whether this discovery domain should be used for organization discovery. */
2844
+ /** Indicates whether this domain should be used for organization discovery. */
2693
2845
  use_for_organization_discovery?: boolean;
2694
2846
  }
2695
2847
  /**
@@ -3036,6 +3188,8 @@ export interface CreateSelfServiceProfileSsoTicketRequestContent {
3036
3188
  ttl_sec?: number;
3037
3189
  domain_aliases_config?: Management.SelfServiceProfileSsoTicketDomainAliasesConfig;
3038
3190
  provisioning_config?: Management.SelfServiceProfileSsoTicketProvisioningConfig;
3191
+ /** Indicates whether a verified domain should be used for organization discovery during authentication. */
3192
+ use_for_organization_discovery?: boolean;
3039
3193
  }
3040
3194
  /**
3041
3195
  * @example
@@ -3112,6 +3266,8 @@ export interface UpdateTenantSettingsRequestContent {
3112
3266
  */
3113
3267
  skip_non_verifiable_callback_uri_confirmation_prompt?: boolean | null;
3114
3268
  resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
3269
+ /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
3270
+ enable_ai_guide?: boolean;
3115
3271
  }
3116
3272
  export declare namespace UpdateTenantSettingsRequestContent {
3117
3273
  type EnabledLocales = EnabledLocales.Item[];
@@ -3264,6 +3420,25 @@ export interface GetUserConnectedAccountsRequestParameters {
3264
3420
  /** Number of results to return. Defaults to 10 with a maximum of 20 */
3265
3421
  take?: number | null;
3266
3422
  }
3423
+ /**
3424
+ * @example
3425
+ * {
3426
+ * fields: "fields",
3427
+ * include_fields: true,
3428
+ * from: "from",
3429
+ * take: 1
3430
+ * }
3431
+ */
3432
+ export interface GetUserGroupsRequestParameters {
3433
+ /** A comma separated list of fields to include or exclude (depending on include_fields) from the result, empty to retrieve all fields */
3434
+ fields?: string | null;
3435
+ /** Whether specified fields are to be included (true) or excluded (false). */
3436
+ include_fields?: boolean | null;
3437
+ /** Optional Id from which to start selection. */
3438
+ from?: string | null;
3439
+ /** Number of results per page. Defaults to 50. */
3440
+ take?: number | null;
3441
+ }
3267
3442
  /**
3268
3443
  * @example
3269
3444
  * {}
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as Management from "../../../index.js";
5
5
  import { ExecutionsClient } from "../resources/executions/client/Client.js";
6
+ import { ModulesClient } from "../resources/modules/client/Client.js";
6
7
  import { TriggersClient } from "../resources/triggers/client/Client.js";
7
8
  import { VersionsClient } from "../resources/versions/client/Client.js";
8
9
  export declare namespace ActionsClient {
@@ -14,10 +15,12 @@ export declare class ActionsClient {
14
15
  protected readonly _options: NormalizedClientOptionsWithAuth<ActionsClient.Options>;
15
16
  protected _versions: VersionsClient | undefined;
16
17
  protected _executions: ExecutionsClient | undefined;
18
+ protected _modules: ModulesClient | undefined;
17
19
  protected _triggers: TriggersClient | undefined;
18
20
  constructor(options: ActionsClient.Options);
19
21
  get versions(): VersionsClient;
20
22
  get executions(): ExecutionsClient;
23
+ get modules(): ModulesClient;
21
24
  get triggers(): TriggersClient;
22
25
  /**
23
26
  * Retrieve all actions.
@@ -52,23 +52,28 @@ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatu
52
52
  const errors = __importStar(require("../../../../errors/index.js"));
53
53
  const Management = __importStar(require("../../../index.js"));
54
54
  const Client_js_1 = require("../resources/executions/client/Client.js");
55
- const Client_js_2 = require("../resources/triggers/client/Client.js");
56
- const Client_js_3 = require("../resources/versions/client/Client.js");
55
+ const Client_js_2 = require("../resources/modules/client/Client.js");
56
+ const Client_js_3 = require("../resources/triggers/client/Client.js");
57
+ const Client_js_4 = require("../resources/versions/client/Client.js");
57
58
  class ActionsClient {
58
59
  constructor(options) {
59
60
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
60
61
  }
61
62
  get versions() {
62
63
  var _a;
63
- return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_3.VersionsClient(this._options)));
64
+ return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_4.VersionsClient(this._options)));
64
65
  }
65
66
  get executions() {
66
67
  var _a;
67
68
  return ((_a = this._executions) !== null && _a !== void 0 ? _a : (this._executions = new Client_js_1.ExecutionsClient(this._options)));
68
69
  }
70
+ get modules() {
71
+ var _a;
72
+ return ((_a = this._modules) !== null && _a !== void 0 ? _a : (this._modules = new Client_js_2.ModulesClient(this._options)));
73
+ }
69
74
  get triggers() {
70
75
  var _a;
71
- return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_js_2.TriggersClient(this._options)));
76
+ return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_js_3.TriggersClient(this._options)));
72
77
  }
73
78
  /**
74
79
  * Retrieve all actions.
@@ -1,3 +1,4 @@
1
1
  export * as executions from "./executions/index.js";
2
+ export * as modules from "./modules/index.js";
2
3
  export * as triggers from "./triggers/index.js";
3
4
  export * as versions from "./versions/index.js";
@@ -33,7 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.versions = exports.triggers = exports.executions = void 0;
36
+ exports.versions = exports.triggers = exports.modules = exports.executions = void 0;
37
37
  exports.executions = __importStar(require("./executions/index.js"));
38
+ exports.modules = __importStar(require("./modules/index.js"));
38
39
  exports.triggers = __importStar(require("./triggers/index.js"));
39
40
  exports.versions = __importStar(require("./versions/index.js"));
@@ -0,0 +1,149 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ import * as Management from "../../../../../index.js";
5
+ import { VersionsClient } from "../resources/versions/client/Client.js";
6
+ export declare namespace ModulesClient {
7
+ type Options = BaseClientOptions;
8
+ interface RequestOptions extends BaseRequestOptions {
9
+ }
10
+ }
11
+ export declare class ModulesClient {
12
+ protected readonly _options: NormalizedClientOptionsWithAuth<ModulesClient.Options>;
13
+ protected _versions: VersionsClient | undefined;
14
+ constructor(options: ModulesClient.Options);
15
+ get versions(): VersionsClient;
16
+ /**
17
+ * Retrieve a paginated list of all Actions Modules with optional filtering and totals.
18
+ *
19
+ * @param {Management.GetActionModulesRequestParameters} request
20
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
21
+ *
22
+ * @throws {@link Management.BadRequestError}
23
+ * @throws {@link Management.UnauthorizedError}
24
+ * @throws {@link Management.ForbiddenError}
25
+ * @throws {@link Management.TooManyRequestsError}
26
+ *
27
+ * @example
28
+ * await client.actions.modules.list({
29
+ * page: 1,
30
+ * per_page: 1
31
+ * })
32
+ */
33
+ list(request?: Management.GetActionModulesRequestParameters, requestOptions?: ModulesClient.RequestOptions): Promise<core.Page<Management.ActionModuleListItem, Management.GetActionModulesResponseContent>>;
34
+ /**
35
+ * Create a new Actions Module for reusable code across actions.
36
+ *
37
+ * @param {Management.CreateActionModuleRequestContent} request
38
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
39
+ *
40
+ * @throws {@link Management.BadRequestError}
41
+ * @throws {@link Management.UnauthorizedError}
42
+ * @throws {@link Management.ForbiddenError}
43
+ * @throws {@link Management.ConflictError}
44
+ * @throws {@link Management.TooManyRequestsError}
45
+ *
46
+ * @example
47
+ * await client.actions.modules.create({
48
+ * name: "name",
49
+ * code: "code"
50
+ * })
51
+ */
52
+ create(request: Management.CreateActionModuleRequestContent, requestOptions?: ModulesClient.RequestOptions): core.HttpResponsePromise<Management.CreateActionModuleResponseContent>;
53
+ private __create;
54
+ /**
55
+ * Retrieve details of a specific Actions Module by its unique identifier.
56
+ *
57
+ * @param {string} id - The ID of the action module to retrieve.
58
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ *
60
+ * @throws {@link Management.BadRequestError}
61
+ * @throws {@link Management.UnauthorizedError}
62
+ * @throws {@link Management.ForbiddenError}
63
+ * @throws {@link Management.NotFoundError}
64
+ * @throws {@link Management.TooManyRequestsError}
65
+ *
66
+ * @example
67
+ * await client.actions.modules.get("id")
68
+ */
69
+ get(id: string, requestOptions?: ModulesClient.RequestOptions): core.HttpResponsePromise<Management.GetActionModuleResponseContent>;
70
+ private __get;
71
+ /**
72
+ * Permanently delete an Actions Module. This will fail if the module is still in use by any actions.
73
+ *
74
+ * @param {string} id - The ID of the Actions Module to delete.
75
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
76
+ *
77
+ * @throws {@link Management.BadRequestError}
78
+ * @throws {@link Management.UnauthorizedError}
79
+ * @throws {@link Management.ForbiddenError}
80
+ * @throws {@link Management.NotFoundError}
81
+ * @throws {@link Management.PreconditionFailedError}
82
+ * @throws {@link Management.TooManyRequestsError}
83
+ *
84
+ * @example
85
+ * await client.actions.modules.delete("id")
86
+ */
87
+ delete(id: string, requestOptions?: ModulesClient.RequestOptions): core.HttpResponsePromise<void>;
88
+ private __delete;
89
+ /**
90
+ * Update properties of an existing Actions Module, such as code, dependencies, or secrets.
91
+ *
92
+ * @param {string} id - The ID of the action module to update.
93
+ * @param {Management.UpdateActionModuleRequestContent} request
94
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
95
+ *
96
+ * @throws {@link Management.BadRequestError}
97
+ * @throws {@link Management.UnauthorizedError}
98
+ * @throws {@link Management.ForbiddenError}
99
+ * @throws {@link Management.NotFoundError}
100
+ * @throws {@link Management.ConflictError}
101
+ * @throws {@link Management.TooManyRequestsError}
102
+ *
103
+ * @example
104
+ * await client.actions.modules.update("id")
105
+ */
106
+ update(id: string, request?: Management.UpdateActionModuleRequestContent, requestOptions?: ModulesClient.RequestOptions): core.HttpResponsePromise<Management.UpdateActionModuleResponseContent>;
107
+ private __update;
108
+ /**
109
+ * Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module.
110
+ *
111
+ * @param {string} id - The unique ID of the module.
112
+ * @param {Management.GetActionModuleActionsRequestParameters} request
113
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
114
+ *
115
+ * @throws {@link Management.BadRequestError}
116
+ * @throws {@link Management.UnauthorizedError}
117
+ * @throws {@link Management.ForbiddenError}
118
+ * @throws {@link Management.NotFoundError}
119
+ * @throws {@link Management.TooManyRequestsError}
120
+ *
121
+ * @example
122
+ * await client.actions.modules.listActions("id", {
123
+ * page: 1,
124
+ * per_page: 1
125
+ * })
126
+ */
127
+ listActions(id: string, request?: Management.GetActionModuleActionsRequestParameters, requestOptions?: ModulesClient.RequestOptions): Promise<core.Page<Management.ActionModuleAction, Management.GetActionModuleActionsResponseContent>>;
128
+ /**
129
+ * Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft.
130
+ *
131
+ * @param {string} id - The unique ID of the module to roll back.
132
+ * @param {Management.RollbackActionModuleRequestParameters} request
133
+ * @param {ModulesClient.RequestOptions} requestOptions - Request-specific configuration.
134
+ *
135
+ * @throws {@link Management.BadRequestError}
136
+ * @throws {@link Management.UnauthorizedError}
137
+ * @throws {@link Management.ForbiddenError}
138
+ * @throws {@link Management.NotFoundError}
139
+ * @throws {@link Management.ConflictError}
140
+ * @throws {@link Management.TooManyRequestsError}
141
+ *
142
+ * @example
143
+ * await client.actions.modules.rollback("id", {
144
+ * module_version_id: "module_version_id"
145
+ * })
146
+ */
147
+ rollback(id: string, request: Management.RollbackActionModuleRequestParameters, requestOptions?: ModulesClient.RequestOptions): core.HttpResponsePromise<Management.RollbackActionModuleResponseContent>;
148
+ private __rollback;
149
+ }