auth0 5.3.0 → 5.4.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 (218) hide show
  1. package/dist/cjs/management/BaseClient.d.ts +4 -4
  2. package/dist/cjs/management/api/requests/requests.d.ts +50 -134
  3. package/dist/cjs/management/api/requests/requests.js +0 -108
  4. package/dist/cjs/management/api/resources/actions/client/Client.js +25 -37
  5. package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +22 -28
  6. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +6 -3
  7. package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +65 -45
  8. package/dist/cjs/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.js +11 -14
  9. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +2 -2
  10. package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +13 -16
  11. package/dist/cjs/management/api/resources/branding/resources/phone/resources/providers/client/Client.js +10 -11
  12. package/dist/cjs/management/api/resources/branding/resources/phone/resources/templates/client/Client.js +10 -11
  13. package/dist/cjs/management/api/resources/clientGrants/client/Client.js +15 -26
  14. package/dist/cjs/management/api/resources/clientGrants/resources/organizations/client/Client.js +11 -14
  15. package/dist/cjs/management/api/resources/clients/client/Client.js +29 -49
  16. package/dist/cjs/management/api/resources/clients/resources/connections/client/Client.js +18 -28
  17. package/dist/cjs/management/api/resources/connectionProfiles/client/Client.js +11 -14
  18. package/dist/cjs/management/api/resources/connections/client/Client.d.ts +2 -2
  19. package/dist/cjs/management/api/resources/connections/client/Client.js +34 -49
  20. package/dist/cjs/management/api/resources/connections/resources/clients/client/Client.js +11 -14
  21. package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +13 -16
  22. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.d.ts +19 -0
  23. package/dist/cjs/management/api/resources/connections/resources/keys/client/Client.js +71 -1
  24. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.d.ts +18 -0
  25. package/dist/cjs/management/api/resources/connections/resources/scimConfiguration/client/Client.js +78 -1
  26. package/dist/cjs/management/api/resources/connections/resources/users/client/Client.js +3 -2
  27. package/dist/cjs/management/api/resources/customDomains/client/Client.js +13 -20
  28. package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +17 -32
  29. package/dist/cjs/management/api/resources/emails/resources/provider/client/Client.js +11 -14
  30. package/dist/cjs/management/api/resources/eventStreams/client/Client.js +11 -14
  31. package/dist/cjs/management/api/resources/eventStreams/resources/deliveries/client/Client.js +15 -26
  32. package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -2
  33. package/dist/cjs/management/api/resources/flows/client/Client.js +22 -38
  34. package/dist/cjs/management/api/resources/flows/index.d.ts +0 -1
  35. package/dist/cjs/management/api/resources/flows/index.js +0 -1
  36. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +4 -4
  37. package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +16 -25
  38. package/dist/cjs/management/api/resources/flows/resources/executions/index.d.ts +0 -1
  39. package/dist/cjs/management/api/resources/flows/resources/executions/index.js +0 -1
  40. package/dist/cjs/management/api/resources/flows/resources/index.d.ts +0 -1
  41. package/dist/cjs/management/api/resources/flows/resources/index.js +0 -4
  42. package/dist/cjs/management/api/resources/flows/resources/vault/resources/connections/client/Client.js +12 -17
  43. package/dist/cjs/management/api/resources/forms/client/Client.js +20 -34
  44. package/dist/cjs/management/api/resources/groups/client/Client.js +16 -29
  45. package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +13 -20
  46. package/dist/cjs/management/api/resources/hooks/client/Client.js +18 -30
  47. package/dist/cjs/management/api/resources/index.d.ts +0 -1
  48. package/dist/cjs/management/api/resources/index.js +0 -1
  49. package/dist/cjs/management/api/resources/jobs/resources/usersImports/client/Client.js +14 -14
  50. package/dist/cjs/management/api/resources/keys/resources/encryption/client/Client.js +12 -17
  51. package/dist/cjs/management/api/resources/logs/client/Client.js +16 -29
  52. package/dist/cjs/management/api/resources/networkAcls/client/Client.js +12 -17
  53. package/dist/cjs/management/api/resources/organizations/client/Client.js +12 -17
  54. package/dist/cjs/management/api/resources/organizations/resources/clientGrants/client/Client.js +15 -31
  55. package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +11 -14
  56. package/dist/cjs/management/api/resources/organizations/resources/enabledConnections/client/Client.js +12 -17
  57. package/dist/cjs/management/api/resources/organizations/resources/invitations/client/Client.js +26 -40
  58. package/dist/cjs/management/api/resources/organizations/resources/members/client/Client.js +13 -20
  59. package/dist/cjs/management/api/resources/organizations/resources/members/resources/roles/client/Client.js +12 -17
  60. package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.js +17 -32
  61. package/dist/cjs/management/api/resources/resourceServers/client/Client.js +24 -39
  62. package/dist/cjs/management/api/resources/roles/client/Client.js +13 -20
  63. package/dist/cjs/management/api/resources/roles/resources/permissions/client/Client.js +12 -17
  64. package/dist/cjs/management/api/resources/roles/resources/users/client/Client.js +11 -14
  65. package/dist/cjs/management/api/resources/rules/client/Client.js +26 -40
  66. package/dist/cjs/management/api/resources/selfServiceProfiles/client/Client.js +12 -17
  67. package/dist/cjs/management/api/resources/stats/client/Client.js +4 -7
  68. package/dist/cjs/management/api/resources/tenants/resources/settings/client/Client.js +11 -14
  69. package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +11 -14
  70. package/dist/cjs/management/api/resources/userAttributeProfiles/client/Client.js +11 -14
  71. package/dist/cjs/management/api/resources/userBlocks/client/Client.js +24 -25
  72. package/dist/cjs/management/api/resources/userGrants/client/Client.js +18 -28
  73. package/dist/cjs/management/api/resources/users/client/Client.js +42 -67
  74. package/dist/cjs/management/api/resources/users/resources/authenticationMethods/client/Client.js +12 -17
  75. package/dist/cjs/management/api/resources/users/resources/connectedAccounts/client/Client.js +11 -14
  76. package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +13 -20
  77. package/dist/cjs/management/api/resources/users/resources/logs/client/Client.js +13 -20
  78. package/dist/cjs/management/api/resources/users/resources/organizations/client/Client.js +12 -17
  79. package/dist/cjs/management/api/resources/users/resources/permissions/client/Client.js +12 -17
  80. package/dist/cjs/management/api/resources/users/resources/refreshToken/client/Client.js +11 -14
  81. package/dist/cjs/management/api/resources/users/resources/roles/client/Client.js +12 -17
  82. package/dist/cjs/management/api/resources/users/resources/sessions/client/Client.js +11 -14
  83. package/dist/cjs/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.js +11 -14
  84. package/dist/cjs/management/api/types/types.d.ts +5257 -4642
  85. package/dist/cjs/management/api/types/types.js +457 -431
  86. package/dist/cjs/management/auth/BearerAuthProvider.d.ts +14 -10
  87. package/dist/cjs/management/auth/BearerAuthProvider.js +15 -6
  88. package/dist/cjs/management/core/fetcher/EndpointSupplier.d.ts +2 -2
  89. package/dist/cjs/management/core/fetcher/Fetcher.d.ts +1 -2
  90. package/dist/cjs/management/core/fetcher/Fetcher.js +7 -1
  91. package/dist/cjs/management/core/form-data-utils/FormDataWrapper.js +1 -1
  92. package/dist/cjs/management/core/headers.d.ts +2 -2
  93. package/dist/cjs/management/core/pagination/CustomPager.d.ts +29 -44
  94. package/dist/cjs/management/core/pagination/CustomPager.js +60 -42
  95. package/dist/cjs/management/core/pagination/exports.d.ts +0 -1
  96. package/dist/cjs/management/core/pagination/exports.js +0 -3
  97. package/dist/cjs/management/core/pagination/index.d.ts +1 -1
  98. package/dist/cjs/management/core/pagination/index.js +2 -1
  99. package/dist/cjs/management/version.d.ts +1 -1
  100. package/dist/cjs/management/version.js +1 -1
  101. package/dist/esm/management/BaseClient.d.mts +4 -4
  102. package/dist/esm/management/api/requests/requests.d.mts +50 -134
  103. package/dist/esm/management/api/requests/requests.mjs +1 -107
  104. package/dist/esm/management/api/resources/actions/client/Client.mjs +25 -37
  105. package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +22 -28
  106. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +6 -3
  107. package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +65 -45
  108. package/dist/esm/management/api/resources/actions/resources/triggers/resources/bindings/client/Client.mjs +11 -14
  109. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +2 -2
  110. package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +13 -16
  111. package/dist/esm/management/api/resources/branding/resources/phone/resources/providers/client/Client.mjs +10 -11
  112. package/dist/esm/management/api/resources/branding/resources/phone/resources/templates/client/Client.mjs +10 -11
  113. package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +15 -26
  114. package/dist/esm/management/api/resources/clientGrants/resources/organizations/client/Client.mjs +11 -14
  115. package/dist/esm/management/api/resources/clients/client/Client.mjs +29 -49
  116. package/dist/esm/management/api/resources/clients/resources/connections/client/Client.mjs +18 -28
  117. package/dist/esm/management/api/resources/connectionProfiles/client/Client.mjs +11 -14
  118. package/dist/esm/management/api/resources/connections/client/Client.d.mts +2 -2
  119. package/dist/esm/management/api/resources/connections/client/Client.mjs +34 -49
  120. package/dist/esm/management/api/resources/connections/resources/clients/client/Client.mjs +11 -14
  121. package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +13 -16
  122. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.d.mts +19 -0
  123. package/dist/esm/management/api/resources/connections/resources/keys/client/Client.mjs +71 -1
  124. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.d.mts +18 -0
  125. package/dist/esm/management/api/resources/connections/resources/scimConfiguration/client/Client.mjs +78 -1
  126. package/dist/esm/management/api/resources/connections/resources/users/client/Client.mjs +3 -2
  127. package/dist/esm/management/api/resources/customDomains/client/Client.mjs +13 -20
  128. package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +17 -32
  129. package/dist/esm/management/api/resources/emails/resources/provider/client/Client.mjs +11 -14
  130. package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +11 -14
  131. package/dist/esm/management/api/resources/eventStreams/resources/deliveries/client/Client.mjs +15 -26
  132. package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -2
  133. package/dist/esm/management/api/resources/flows/client/Client.mjs +22 -38
  134. package/dist/esm/management/api/resources/flows/index.d.mts +0 -1
  135. package/dist/esm/management/api/resources/flows/index.mjs +0 -1
  136. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +4 -4
  137. package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +16 -25
  138. package/dist/esm/management/api/resources/flows/resources/executions/index.d.mts +0 -1
  139. package/dist/esm/management/api/resources/flows/resources/executions/index.mjs +0 -1
  140. package/dist/esm/management/api/resources/flows/resources/index.d.mts +0 -1
  141. package/dist/esm/management/api/resources/flows/resources/index.mjs +0 -1
  142. package/dist/esm/management/api/resources/flows/resources/vault/resources/connections/client/Client.mjs +12 -17
  143. package/dist/esm/management/api/resources/forms/client/Client.mjs +20 -34
  144. package/dist/esm/management/api/resources/groups/client/Client.mjs +16 -29
  145. package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +13 -20
  146. package/dist/esm/management/api/resources/hooks/client/Client.mjs +18 -30
  147. package/dist/esm/management/api/resources/index.d.mts +0 -1
  148. package/dist/esm/management/api/resources/index.mjs +0 -1
  149. package/dist/esm/management/api/resources/jobs/resources/usersImports/client/Client.mjs +14 -14
  150. package/dist/esm/management/api/resources/keys/resources/encryption/client/Client.mjs +12 -17
  151. package/dist/esm/management/api/resources/logs/client/Client.mjs +16 -29
  152. package/dist/esm/management/api/resources/networkAcls/client/Client.mjs +12 -17
  153. package/dist/esm/management/api/resources/organizations/client/Client.mjs +12 -17
  154. package/dist/esm/management/api/resources/organizations/resources/clientGrants/client/Client.mjs +15 -31
  155. package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +11 -14
  156. package/dist/esm/management/api/resources/organizations/resources/enabledConnections/client/Client.mjs +12 -17
  157. package/dist/esm/management/api/resources/organizations/resources/invitations/client/Client.mjs +26 -40
  158. package/dist/esm/management/api/resources/organizations/resources/members/client/Client.mjs +13 -20
  159. package/dist/esm/management/api/resources/organizations/resources/members/resources/roles/client/Client.mjs +12 -17
  160. package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.mjs +17 -32
  161. package/dist/esm/management/api/resources/resourceServers/client/Client.mjs +24 -39
  162. package/dist/esm/management/api/resources/roles/client/Client.mjs +13 -20
  163. package/dist/esm/management/api/resources/roles/resources/permissions/client/Client.mjs +12 -17
  164. package/dist/esm/management/api/resources/roles/resources/users/client/Client.mjs +11 -14
  165. package/dist/esm/management/api/resources/rules/client/Client.mjs +26 -40
  166. package/dist/esm/management/api/resources/selfServiceProfiles/client/Client.mjs +12 -17
  167. package/dist/esm/management/api/resources/stats/client/Client.mjs +4 -7
  168. package/dist/esm/management/api/resources/tenants/resources/settings/client/Client.mjs +11 -14
  169. package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +11 -14
  170. package/dist/esm/management/api/resources/userAttributeProfiles/client/Client.mjs +11 -14
  171. package/dist/esm/management/api/resources/userBlocks/client/Client.mjs +24 -25
  172. package/dist/esm/management/api/resources/userGrants/client/Client.mjs +18 -28
  173. package/dist/esm/management/api/resources/users/client/Client.mjs +42 -67
  174. package/dist/esm/management/api/resources/users/resources/authenticationMethods/client/Client.mjs +12 -17
  175. package/dist/esm/management/api/resources/users/resources/connectedAccounts/client/Client.mjs +11 -14
  176. package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +13 -20
  177. package/dist/esm/management/api/resources/users/resources/logs/client/Client.mjs +13 -20
  178. package/dist/esm/management/api/resources/users/resources/organizations/client/Client.mjs +12 -17
  179. package/dist/esm/management/api/resources/users/resources/permissions/client/Client.mjs +12 -17
  180. package/dist/esm/management/api/resources/users/resources/refreshToken/client/Client.mjs +11 -14
  181. package/dist/esm/management/api/resources/users/resources/roles/client/Client.mjs +12 -17
  182. package/dist/esm/management/api/resources/users/resources/sessions/client/Client.mjs +11 -14
  183. package/dist/esm/management/api/resources/verifiableCredentials/resources/verification/resources/templates/client/Client.mjs +11 -14
  184. package/dist/esm/management/api/types/types.d.mts +5257 -4642
  185. package/dist/esm/management/api/types/types.mjs +447 -421
  186. package/dist/esm/management/auth/BearerAuthProvider.d.mts +14 -10
  187. package/dist/esm/management/auth/BearerAuthProvider.mjs +15 -6
  188. package/dist/esm/management/core/fetcher/EndpointSupplier.d.mts +2 -2
  189. package/dist/esm/management/core/fetcher/Fetcher.d.mts +1 -2
  190. package/dist/esm/management/core/fetcher/Fetcher.mjs +7 -1
  191. package/dist/esm/management/core/form-data-utils/FormDataWrapper.mjs +1 -1
  192. package/dist/esm/management/core/headers.d.mts +2 -2
  193. package/dist/esm/management/core/pagination/CustomPager.d.mts +29 -44
  194. package/dist/esm/management/core/pagination/CustomPager.mjs +58 -41
  195. package/dist/esm/management/core/pagination/exports.d.mts +0 -1
  196. package/dist/esm/management/core/pagination/exports.mjs +1 -1
  197. package/dist/esm/management/core/pagination/index.d.mts +1 -1
  198. package/dist/esm/management/core/pagination/index.mjs +1 -1
  199. package/dist/esm/management/version.d.mts +1 -1
  200. package/dist/esm/management/version.mjs +1 -1
  201. package/package.json +4 -3
  202. package/reference.md +302 -124
  203. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.d.ts +0 -1
  204. package/dist/cjs/management/api/resources/flows/resources/executions/types/index.js +0 -17
  205. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.d.ts +0 -4
  206. package/dist/cjs/management/api/resources/flows/resources/executions/types/types.js +0 -7
  207. package/dist/cjs/management/api/resources/flows/types/index.d.ts +0 -1
  208. package/dist/cjs/management/api/resources/flows/types/index.js +0 -17
  209. package/dist/cjs/management/api/resources/flows/types/types.d.ts +0 -4
  210. package/dist/cjs/management/api/resources/flows/types/types.js +0 -7
  211. package/dist/esm/management/api/resources/flows/resources/executions/types/index.d.mts +0 -1
  212. package/dist/esm/management/api/resources/flows/resources/executions/types/index.mjs +0 -1
  213. package/dist/esm/management/api/resources/flows/resources/executions/types/types.d.mts +0 -4
  214. package/dist/esm/management/api/resources/flows/resources/executions/types/types.mjs +0 -4
  215. package/dist/esm/management/api/resources/flows/types/index.d.mts +0 -1
  216. package/dist/esm/management/api/resources/flows/types/index.mjs +0 -1
  217. package/dist/esm/management/api/resources/flows/types/types.d.mts +0 -4
  218. package/dist/esm/management/api/resources/flows/types/types.mjs +0 -4
@@ -333,7 +333,7 @@ export interface UpdateClientRequestContent {
333
333
  client_aliases?: string[];
334
334
  /** Ids of clients that will be allowed to perform delegation requests. Clients that will be allowed to make delegation request. By default, all your clients will be allowed. This field allows you to specify specific clients */
335
335
  allowed_clients?: string[];
336
- /** URLs that are valid to redirect to after logout from Auth0. */
336
+ /** URLs that are valid to redirect to after logout from Auth0 */
337
337
  allowed_logout_urls?: string[];
338
338
  jwt_configuration?: Management.ClientJwtConfiguration;
339
339
  encryption_key?: Management.ClientEncryptionKey | null;
@@ -730,7 +730,7 @@ export interface CreateEventStreamTestEventRequestContent {
730
730
  * synchronous: true
731
731
  * }
732
732
  */
733
- export interface FlowsListRequest {
733
+ export interface ListFlowsRequestParameters {
734
734
  /** Page index of the results to return. First page is 0. */
735
735
  page?: number | null;
736
736
  /** Number of results per page. Defaults to 50. */
@@ -738,7 +738,7 @@ export interface FlowsListRequest {
738
738
  /** Return results inside an object that contains the total result count (true) or as a direct array of results (false, default). */
739
739
  include_totals?: boolean | null;
740
740
  /** hydration param */
741
- hydrate?: (Management.FlowsListRequestHydrateItem | null) | (Management.FlowsListRequestHydrateItem | null)[];
741
+ hydrate?: (Management.ListFlowsRequestParametersHydrateEnum | null) | (Management.ListFlowsRequestParametersHydrateEnum | null)[];
742
742
  /** flag to filter by sync/async flows */
743
743
  synchronous?: boolean | null;
744
744
  }
@@ -1369,7 +1369,7 @@ export interface CreateSelfServiceProfileRequestContent {
1369
1369
  /** The description of the self-service Profile. */
1370
1370
  description?: string;
1371
1371
  branding?: Management.SelfServiceProfileBrandingProperties;
1372
- /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `keycloak-samlp`, `pingfederate`] */
1372
+ /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1373
1373
  allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
1374
1374
  /** List of attributes to be mapped that will be shown to the user during the SS-SSO flow. */
1375
1375
  user_attributes?: Management.SelfServiceProfileUserAttribute[];
@@ -1385,7 +1385,7 @@ export interface UpdateSelfServiceProfileRequestContent {
1385
1385
  name?: string;
1386
1386
  description?: (Management.SelfServiceProfileDescription | undefined) | null;
1387
1387
  branding?: Management.SelfServiceProfileBranding | undefined;
1388
- /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `keycloak-samlp`, `pingfederate`] */
1388
+ /** List of IdP strategies that will be shown to users during the Self-Service SSO flow. Possible values: [`oidc`, `samlp`, `waad`, `google-apps`, `adfs`, `okta`, `auth0-samlp`, `okta-samlp`, `keycloak-samlp`, `pingfederate`] */
1389
1389
  allowed_strategies?: Management.SelfServiceProfileAllowedStrategyEnum[];
1390
1390
  user_attributes?: (Management.SelfServiceProfileUserAttributes | undefined) | null;
1391
1391
  /** ID of the user-attribute-profile to associate with this self-service profile. */
@@ -1828,6 +1828,19 @@ export interface RollbackActionModuleRequestParameters {
1828
1828
  /** The unique ID of the module version to roll back to. */
1829
1829
  module_version_id: string;
1830
1830
  }
1831
+ /**
1832
+ * @example
1833
+ * {
1834
+ * page: 1,
1835
+ * per_page: 1
1836
+ * }
1837
+ */
1838
+ export interface GetActionModuleVersionsRequestParameters {
1839
+ /** Use this field to request a specific page of the list results. */
1840
+ page?: number | null;
1841
+ /** The maximum number of results to be returned by the server in a single response. 20 by default. */
1842
+ per_page?: number | null;
1843
+ }
1831
1844
  /**
1832
1845
  * @example
1833
1846
  * {
@@ -1892,36 +1905,13 @@ export interface UpdateBruteForceSettingsRequestContent {
1892
1905
  * Action to take when a brute force protection threshold is violated.
1893
1906
  * Possible values: <code>block</code>, <code>user_notification</code>.
1894
1907
  */
1895
- shields?: UpdateBruteForceSettingsRequestContent.Shields.Item[];
1908
+ shields?: Management.BruteForceProtectionShieldsEnum[];
1896
1909
  /** List of trusted IP addresses that will not have attack protection enforced against them. */
1897
1910
  allowlist?: string[];
1898
- /**
1899
- * Account Lockout: Determines whether or not IP address is used when counting failed attempts.
1900
- * Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
1901
- */
1902
- mode?: UpdateBruteForceSettingsRequestContent.Mode;
1911
+ mode?: Management.BruteForceProtectionModeEnum;
1903
1912
  /** Maximum number of unsuccessful attempts. */
1904
1913
  max_attempts?: number;
1905
1914
  }
1906
- export declare namespace UpdateBruteForceSettingsRequestContent {
1907
- type Shields = Shields.Item[];
1908
- namespace Shields {
1909
- const Item: {
1910
- readonly Block: "block";
1911
- readonly UserNotification: "user_notification";
1912
- };
1913
- type Item = (typeof Item)[keyof typeof Item];
1914
- }
1915
- /**
1916
- * Account Lockout: Determines whether or not IP address is used when counting failed attempts.
1917
- * Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
1918
- */
1919
- const Mode: {
1920
- readonly CountPerIdentifierAndIp: "count_per_identifier_and_ip";
1921
- readonly CountPerIdentifier: "count_per_identifier";
1922
- };
1923
- type Mode = (typeof Mode)[keyof typeof Mode];
1924
- }
1925
1915
  /**
1926
1916
  * @example
1927
1917
  * {}
@@ -2285,15 +2275,15 @@ export interface ListDirectoryProvisioningsRequestParameters {
2285
2275
  /**
2286
2276
  * @example
2287
2277
  * {
2288
- * take: 1,
2289
- * from: "from"
2278
+ * from: "from",
2279
+ * take: 1
2290
2280
  * }
2291
2281
  */
2292
- export interface GetConnectionEnabledClientsRequestParameters {
2293
- /** Number of results per page. Defaults to 50. */
2294
- take?: number | null;
2282
+ export interface ListScimConfigurationsRequestParameters {
2295
2283
  /** Optional Id from which to start selection. */
2296
2284
  from?: string | null;
2285
+ /** Number of results per page. Defaults to 50. */
2286
+ take?: number | null;
2297
2287
  }
2298
2288
  /**
2299
2289
  * @example
@@ -2308,6 +2298,19 @@ export interface UpdateScimConfigurationRequestContent {
2308
2298
  /** The mapping between auth0 and SCIM */
2309
2299
  mapping: Management.ScimMappingItem[];
2310
2300
  }
2301
+ /**
2302
+ * @example
2303
+ * {
2304
+ * take: 1,
2305
+ * from: "from"
2306
+ * }
2307
+ */
2308
+ export interface GetConnectionEnabledClientsRequestParameters {
2309
+ /** Number of results per page. Defaults to 50. */
2310
+ take?: number | null;
2311
+ /** Optional Id from which to start selection. */
2312
+ from?: string | null;
2313
+ }
2311
2314
  /**
2312
2315
  * @example
2313
2316
  * {
@@ -2418,7 +2421,7 @@ export interface CreateEventStreamRedeliveryRequestContent {
2418
2421
  * take: 1
2419
2422
  * }
2420
2423
  */
2421
- export interface ExecutionsListRequest {
2424
+ export interface ListFlowExecutionsRequestParameters {
2422
2425
  /** Optional Id from which to start selection. */
2423
2426
  from?: string | null;
2424
2427
  /** Number of results per page. Defaults to 50. */
@@ -2428,9 +2431,9 @@ export interface ExecutionsListRequest {
2428
2431
  * @example
2429
2432
  * {}
2430
2433
  */
2431
- export interface ExecutionsGetRequest {
2434
+ export interface GetFlowExecutionRequestParameters {
2432
2435
  /** Hydration param */
2433
- hydrate?: (Management.flows.ExecutionsGetRequestHydrateItem | null) | (Management.flows.ExecutionsGetRequestHydrateItem | null)[];
2436
+ hydrate?: (Management.GetFlowExecutionRequestParametersHydrateEnum | null) | (Management.GetFlowExecutionRequestParametersHydrateEnum | null)[];
2434
2437
  }
2435
2438
  /**
2436
2439
  * @example
@@ -3244,7 +3247,7 @@ export interface UpdateTenantSettingsRequestContent {
3244
3247
  /** The default absolute redirection uri, must be https */
3245
3248
  default_redirection_uri?: string;
3246
3249
  /** Supported locales for the user interface */
3247
- enabled_locales?: UpdateTenantSettingsRequestContent.EnabledLocales.Item[];
3250
+ enabled_locales?: Management.TenantSettingsSupportedLocalesEnum[];
3248
3251
  session_cookie?: Management.SessionCookieSchema | null;
3249
3252
  sessions?: Management.TenantSettingsSessions | null;
3250
3253
  oidc_logout?: Management.TenantOidcLogoutSettings;
@@ -3268,95 +3271,8 @@ export interface UpdateTenantSettingsRequestContent {
3268
3271
  resource_parameter_profile?: Management.TenantSettingsResourceParameterProfile;
3269
3272
  /** Whether Auth0 Guide (AI-powered assistance) is enabled for this tenant. */
3270
3273
  enable_ai_guide?: boolean;
3271
- }
3272
- export declare namespace UpdateTenantSettingsRequestContent {
3273
- type EnabledLocales = EnabledLocales.Item[];
3274
- namespace EnabledLocales {
3275
- const Item: {
3276
- readonly Am: "am";
3277
- readonly Ar: "ar";
3278
- readonly ArEg: "ar-EG";
3279
- readonly ArSa: "ar-SA";
3280
- readonly Az: "az";
3281
- readonly Bg: "bg";
3282
- readonly Bn: "bn";
3283
- readonly Bs: "bs";
3284
- readonly CaEs: "ca-ES";
3285
- readonly Cnr: "cnr";
3286
- readonly Cs: "cs";
3287
- readonly Cy: "cy";
3288
- readonly Da: "da";
3289
- readonly De: "de";
3290
- readonly El: "el";
3291
- readonly En: "en";
3292
- readonly EnCa: "en-CA";
3293
- readonly Es: "es";
3294
- readonly Es419: "es-419";
3295
- readonly EsAr: "es-AR";
3296
- readonly EsMx: "es-MX";
3297
- readonly Et: "et";
3298
- readonly EuEs: "eu-ES";
3299
- readonly Fa: "fa";
3300
- readonly Fi: "fi";
3301
- readonly Fr: "fr";
3302
- readonly FrCa: "fr-CA";
3303
- readonly FrFr: "fr-FR";
3304
- readonly GlEs: "gl-ES";
3305
- readonly Gu: "gu";
3306
- readonly He: "he";
3307
- readonly Hi: "hi";
3308
- readonly Hr: "hr";
3309
- readonly Hu: "hu";
3310
- readonly Hy: "hy";
3311
- readonly Id: "id";
3312
- readonly Is: "is";
3313
- readonly It: "it";
3314
- readonly Ja: "ja";
3315
- readonly Ka: "ka";
3316
- readonly Kk: "kk";
3317
- readonly Kn: "kn";
3318
- readonly Ko: "ko";
3319
- readonly Lt: "lt";
3320
- readonly Lv: "lv";
3321
- readonly Mk: "mk";
3322
- readonly Ml: "ml";
3323
- readonly Mn: "mn";
3324
- readonly Mr: "mr";
3325
- readonly Ms: "ms";
3326
- readonly My: "my";
3327
- readonly Nb: "nb";
3328
- readonly Nl: "nl";
3329
- readonly Nn: "nn";
3330
- readonly No: "no";
3331
- readonly Pa: "pa";
3332
- readonly Pl: "pl";
3333
- readonly Pt: "pt";
3334
- readonly PtBr: "pt-BR";
3335
- readonly PtPt: "pt-PT";
3336
- readonly Ro: "ro";
3337
- readonly Ru: "ru";
3338
- readonly Sk: "sk";
3339
- readonly Sl: "sl";
3340
- readonly So: "so";
3341
- readonly Sq: "sq";
3342
- readonly Sr: "sr";
3343
- readonly Sv: "sv";
3344
- readonly Sw: "sw";
3345
- readonly Ta: "ta";
3346
- readonly Te: "te";
3347
- readonly Th: "th";
3348
- readonly Tl: "tl";
3349
- readonly Tr: "tr";
3350
- readonly Uk: "uk";
3351
- readonly Ur: "ur";
3352
- readonly Vi: "vi";
3353
- readonly Zgh: "zgh";
3354
- readonly ZhCn: "zh-CN";
3355
- readonly ZhHk: "zh-HK";
3356
- readonly ZhTw: "zh-TW";
3357
- };
3358
- type Item = (typeof Item)[keyof typeof Item];
3359
- }
3274
+ /** Whether Phone Consolidated Experience is enabled for this tenant. */
3275
+ phone_consolidated_experience?: boolean;
3360
3276
  }
3361
3277
  /**
3362
3278
  * @example
@@ -3635,7 +3551,7 @@ export interface CreateVerifiableCredentialTemplateRequestContent {
3635
3551
  type: string;
3636
3552
  dialect: string;
3637
3553
  presentation: Management.MdlPresentationRequest;
3638
- custom_certificate_authority?: string;
3554
+ custom_certificate_authority?: string | null;
3639
3555
  well_known_trusted_issuers: string;
3640
3556
  }
3641
3557
  /**
@@ -3643,10 +3559,10 @@ export interface CreateVerifiableCredentialTemplateRequestContent {
3643
3559
  * {}
3644
3560
  */
3645
3561
  export interface UpdateVerifiableCredentialTemplateRequestContent {
3646
- name?: string;
3647
- type?: string;
3648
- dialect?: string;
3562
+ name?: string | null;
3563
+ type?: string | null;
3564
+ dialect?: string | null;
3649
3565
  presentation?: Management.MdlPresentationRequest;
3650
- well_known_trusted_issuers?: string;
3651
- version?: number;
3566
+ well_known_trusted_issuers?: string | null;
3567
+ version?: number | null;
3652
3568
  }
@@ -1,108 +1,2 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export var UpdateBruteForceSettingsRequestContent;
3
- (function (UpdateBruteForceSettingsRequestContent) {
4
- let Shields;
5
- (function (Shields) {
6
- Shields.Item = {
7
- Block: "block",
8
- UserNotification: "user_notification",
9
- };
10
- })(Shields = UpdateBruteForceSettingsRequestContent.Shields || (UpdateBruteForceSettingsRequestContent.Shields = {}));
11
- /**
12
- * Account Lockout: Determines whether or not IP address is used when counting failed attempts.
13
- * Possible values: <code>count_per_identifier_and_ip</code>, <code>count_per_identifier</code>.
14
- */
15
- UpdateBruteForceSettingsRequestContent.Mode = {
16
- CountPerIdentifierAndIp: "count_per_identifier_and_ip",
17
- CountPerIdentifier: "count_per_identifier",
18
- };
19
- })(UpdateBruteForceSettingsRequestContent || (UpdateBruteForceSettingsRequestContent = {}));
20
- export var UpdateTenantSettingsRequestContent;
21
- (function (UpdateTenantSettingsRequestContent) {
22
- let EnabledLocales;
23
- (function (EnabledLocales) {
24
- EnabledLocales.Item = {
25
- Am: "am",
26
- Ar: "ar",
27
- ArEg: "ar-EG",
28
- ArSa: "ar-SA",
29
- Az: "az",
30
- Bg: "bg",
31
- Bn: "bn",
32
- Bs: "bs",
33
- CaEs: "ca-ES",
34
- Cnr: "cnr",
35
- Cs: "cs",
36
- Cy: "cy",
37
- Da: "da",
38
- De: "de",
39
- El: "el",
40
- En: "en",
41
- EnCa: "en-CA",
42
- Es: "es",
43
- Es419: "es-419",
44
- EsAr: "es-AR",
45
- EsMx: "es-MX",
46
- Et: "et",
47
- EuEs: "eu-ES",
48
- Fa: "fa",
49
- Fi: "fi",
50
- Fr: "fr",
51
- FrCa: "fr-CA",
52
- FrFr: "fr-FR",
53
- GlEs: "gl-ES",
54
- Gu: "gu",
55
- He: "he",
56
- Hi: "hi",
57
- Hr: "hr",
58
- Hu: "hu",
59
- Hy: "hy",
60
- Id: "id",
61
- Is: "is",
62
- It: "it",
63
- Ja: "ja",
64
- Ka: "ka",
65
- Kk: "kk",
66
- Kn: "kn",
67
- Ko: "ko",
68
- Lt: "lt",
69
- Lv: "lv",
70
- Mk: "mk",
71
- Ml: "ml",
72
- Mn: "mn",
73
- Mr: "mr",
74
- Ms: "ms",
75
- My: "my",
76
- Nb: "nb",
77
- Nl: "nl",
78
- Nn: "nn",
79
- No: "no",
80
- Pa: "pa",
81
- Pl: "pl",
82
- Pt: "pt",
83
- PtBr: "pt-BR",
84
- PtPt: "pt-PT",
85
- Ro: "ro",
86
- Ru: "ru",
87
- Sk: "sk",
88
- Sl: "sl",
89
- So: "so",
90
- Sq: "sq",
91
- Sr: "sr",
92
- Sv: "sv",
93
- Sw: "sw",
94
- Ta: "ta",
95
- Te: "te",
96
- Th: "th",
97
- Tl: "tl",
98
- Tr: "tr",
99
- Uk: "uk",
100
- Ur: "ur",
101
- Vi: "vi",
102
- Zgh: "zgh",
103
- ZhCn: "zh-CN",
104
- ZhHk: "zh-HK",
105
- ZhTw: "zh-TW",
106
- };
107
- })(EnabledLocales = UpdateTenantSettingsRequestContent.EnabledLocales || (UpdateTenantSettingsRequestContent.EnabledLocales = {}));
108
- })(UpdateTenantSettingsRequestContent || (UpdateTenantSettingsRequestContent = {}));
2
+ export {};
@@ -63,38 +63,27 @@ export class ActionsClient {
63
63
  list() {
64
64
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
65
65
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
66
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
66
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
67
67
  const { triggerId, actionName, deployed, page = 0, per_page: perPage = 50, installed } = request;
68
- const _queryParams = {};
69
- if (triggerId !== undefined) {
70
- _queryParams["triggerId"] = triggerId;
71
- }
72
- if (actionName !== undefined) {
73
- _queryParams["actionName"] = actionName;
74
- }
75
- if (deployed !== undefined) {
76
- _queryParams["deployed"] = (_a = deployed === null || deployed === void 0 ? void 0 : deployed.toString()) !== null && _a !== void 0 ? _a : null;
77
- }
78
- if (page !== undefined) {
79
- _queryParams["page"] = (_b = page === null || page === void 0 ? void 0 : page.toString()) !== null && _b !== void 0 ? _b : null;
80
- }
81
- if (perPage !== undefined) {
82
- _queryParams["per_page"] = (_c = perPage === null || perPage === void 0 ? void 0 : perPage.toString()) !== null && _c !== void 0 ? _c : null;
83
- }
84
- if (installed !== undefined) {
85
- _queryParams["installed"] = (_d = installed === null || installed === void 0 ? void 0 : installed.toString()) !== null && _d !== void 0 ? _d : null;
86
- }
68
+ const _queryParams = {
69
+ triggerId,
70
+ actionName,
71
+ deployed,
72
+ page,
73
+ per_page: perPage,
74
+ installed,
75
+ };
87
76
  const _authRequest = yield this._options.authProvider.getAuthRequest();
88
- let _headers = mergeHeaders(_authRequest.headers, (_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
89
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
90
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ManagementEnvironment.Default, "actions/actions"),
77
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
78
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
79
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "actions/actions"),
91
80
  method: "GET",
92
81
  headers: _headers,
93
82
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
94
- timeoutMs: ((_l = (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.timeoutInSeconds) !== null && _l !== void 0 ? _l : 60) * 1000,
95
- maxRetries: (_m = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _m !== void 0 ? _m : (_o = this._options) === null || _o === void 0 ? void 0 : _o.maxRetries,
83
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
84
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
96
85
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
97
- fetchFn: (_p = this._options) === null || _p === void 0 ? void 0 : _p.fetch,
86
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
98
87
  logging: this._options.logging,
99
88
  });
100
89
  if (_response.ok) {
@@ -288,23 +277,22 @@ export class ActionsClient {
288
277
  }
289
278
  __delete(id_1) {
290
279
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
291
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
280
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
292
281
  const { force } = request;
293
- const _queryParams = {};
294
- if (force !== undefined) {
295
- _queryParams["force"] = (_a = force === null || force === void 0 ? void 0 : force.toString()) !== null && _a !== void 0 ? _a : null;
296
- }
282
+ const _queryParams = {
283
+ force,
284
+ };
297
285
  const _authRequest = yield this._options.authProvider.getAuthRequest();
298
- let _headers = mergeHeaders(_authRequest.headers, (_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
299
- const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
300
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ManagementEnvironment.Default, `actions/actions/${core.url.encodePathParam(id)}`),
286
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
287
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
288
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/actions/${core.url.encodePathParam(id)}`),
301
289
  method: "DELETE",
302
290
  headers: _headers,
303
291
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
304
- timeoutMs: ((_h = (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.timeoutInSeconds) !== null && _h !== void 0 ? _h : 60) * 1000,
305
- maxRetries: (_j = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _j !== void 0 ? _j : (_k = this._options) === null || _k === void 0 ? void 0 : _k.maxRetries,
292
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
293
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
306
294
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
307
- fetchFn: (_l = this._options) === null || _l === void 0 ? void 0 : _l.fetch,
295
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
308
296
  logging: this._options.logging,
309
297
  });
310
298
  if (_response.ok) {
@@ -44,26 +44,23 @@ export class ModulesClient {
44
44
  list() {
45
45
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
46
46
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
47
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
47
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
48
48
  const { page = 0, per_page: perPage = 50 } = request;
49
- const _queryParams = {};
50
- if (page !== undefined) {
51
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
52
- }
53
- if (perPage !== undefined) {
54
- _queryParams["per_page"] = (_b = perPage === null || perPage === void 0 ? void 0 : perPage.toString()) !== null && _b !== void 0 ? _b : null;
55
- }
49
+ const _queryParams = {
50
+ page,
51
+ per_page: perPage,
52
+ };
56
53
  const _authRequest = yield this._options.authProvider.getAuthRequest();
57
- let _headers = mergeHeaders(_authRequest.headers, (_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
58
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
59
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ManagementEnvironment.Default, "actions/modules"),
54
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
55
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
56
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, "actions/modules"),
60
57
  method: "GET",
61
58
  headers: _headers,
62
59
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
63
- timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
64
- maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
60
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
61
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
65
62
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
66
- fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
63
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
67
64
  logging: this._options.logging,
68
65
  });
69
66
  if (_response.ok) {
@@ -393,26 +390,23 @@ export class ModulesClient {
393
390
  listActions(id_1) {
394
391
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
395
392
  const list = core.HttpResponsePromise.interceptFunction((request) => __awaiter(this, void 0, void 0, function* () {
396
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
393
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
397
394
  const { page = 0, per_page: perPage = 50 } = request;
398
- const _queryParams = {};
399
- if (page !== undefined) {
400
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
401
- }
402
- if (perPage !== undefined) {
403
- _queryParams["per_page"] = (_b = perPage === null || perPage === void 0 ? void 0 : perPage.toString()) !== null && _b !== void 0 ? _b : null;
404
- }
395
+ const _queryParams = {
396
+ page,
397
+ per_page: perPage,
398
+ };
405
399
  const _authRequest = yield this._options.authProvider.getAuthRequest();
406
- let _headers = mergeHeaders(_authRequest.headers, (_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
407
- const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
408
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ManagementEnvironment.Default, `actions/modules/${core.url.encodePathParam(id)}/actions`),
400
+ let _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
401
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
402
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ManagementEnvironment.Default, `actions/modules/${core.url.encodePathParam(id)}/actions`),
409
403
  method: "GET",
410
404
  headers: _headers,
411
405
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
412
- timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
413
- maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
406
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
407
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
414
408
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
415
- fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
409
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
416
410
  logging: this._options.logging,
417
411
  });
418
412
  if (_response.ok) {
@@ -14,6 +14,7 @@ export declare class VersionsClient {
14
14
  * List all published versions of a specific Actions Module.
15
15
  *
16
16
  * @param {string} id - The unique ID of the module.
17
+ * @param {Management.GetActionModuleVersionsRequestParameters} request
17
18
  * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
18
19
  *
19
20
  * @throws {@link Management.BadRequestError}
@@ -23,10 +24,12 @@ export declare class VersionsClient {
23
24
  * @throws {@link Management.TooManyRequestsError}
24
25
  *
25
26
  * @example
26
- * await client.actions.modules.versions.list("id")
27
+ * await client.actions.modules.versions.list("id", {
28
+ * page: 1,
29
+ * per_page: 1
30
+ * })
27
31
  */
28
- list(id: string, requestOptions?: VersionsClient.RequestOptions): core.HttpResponsePromise<Management.GetActionModuleVersionsResponseContent>;
29
- private __list;
32
+ list(id: string, request?: Management.GetActionModuleVersionsRequestParameters, requestOptions?: VersionsClient.RequestOptions): Promise<core.Page<Management.ActionModuleVersion, Management.GetActionModuleVersionsResponseContent>>;
30
33
  /**
31
34
  * Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
32
35
  *