auth0 5.2.0 → 5.3.1
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.
- package/LICENSE +1 -1
- package/dist/cjs/management/Client.d.ts +3 -0
- package/dist/cjs/management/Client.js +59 -54
- package/dist/cjs/management/api/errors/PreconditionFailedError.d.ts +5 -0
- package/dist/cjs/management/api/errors/PreconditionFailedError.js +54 -0
- package/dist/cjs/management/api/errors/index.d.ts +1 -0
- package/dist/cjs/management/api/errors/index.js +1 -0
- package/dist/cjs/management/api/requests/requests.d.ts +212 -134
- package/dist/cjs/management/api/requests/requests.js +0 -108
- package/dist/cjs/management/api/resources/actions/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/actions/client/Client.js +9 -4
- package/dist/cjs/management/api/resources/actions/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.d.ts +149 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/Client.js +569 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/client/index.js +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/index.js +18 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.ts +69 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/Client.js +275 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/client/index.js +2 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/actions/resources/modules/resources/versions/index.js +17 -0
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/actions/resources/versions/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/clientGrants/client/Client.d.ts +17 -0
- package/dist/cjs/management/api/resources/clientGrants/client/Client.js +61 -0
- package/dist/cjs/management/api/resources/connections/client/Client.d.ts +7 -3
- package/dist/cjs/management/api/resources/connections/client/Client.js +9 -5
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/connections/resources/directoryProvisioning/client/Client.js +80 -0
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/deviceCredentials/client/Client.js +2 -1
- package/dist/cjs/management/api/resources/eventStreams/client/Client.d.ts +1 -2
- package/dist/cjs/management/api/resources/eventStreams/client/Client.js +59 -50
- package/dist/cjs/management/api/resources/flows/client/Client.d.ts +2 -2
- package/dist/cjs/management/api/resources/flows/client/Client.js +1 -1
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.d.ts +4 -4
- package/dist/cjs/management/api/resources/flows/resources/executions/client/Client.js +2 -2
- package/dist/cjs/management/api/resources/groups/client/Client.d.ts +56 -0
- package/dist/cjs/management/api/resources/groups/client/Client.js +224 -0
- package/dist/cjs/management/api/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/index.d.ts +2 -0
- package/dist/cjs/management/api/resources/groups/index.js +18 -0
- package/dist/cjs/management/api/resources/groups/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/index.js +37 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/client/index.js +2 -0
- package/dist/cjs/management/api/resources/groups/resources/members/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/groups/resources/members/index.js +17 -0
- package/dist/cjs/management/api/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/index.js +2 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.ts +20 -1
- package/dist/cjs/management/api/resources/organizations/resources/discoveryDomains/client/Client.js +66 -1
- package/dist/cjs/management/api/resources/prompts/resources/rendering/client/Client.d.ts +1 -1
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.d.ts +18 -0
- package/dist/cjs/management/api/resources/refreshTokens/client/Client.js +67 -0
- package/dist/cjs/management/api/resources/roles/client/Client.d.ts +1 -0
- package/dist/cjs/management/api/resources/roles/client/Client.js +3 -0
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.d.ts +2 -1
- package/dist/cjs/management/api/resources/tokenExchangeProfiles/client/Client.js +3 -2
- package/dist/cjs/management/api/resources/users/client/Client.d.ts +3 -0
- package/dist/cjs/management/api/resources/users/client/Client.js +23 -18
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.d.ts +34 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/Client.js +148 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/client/index.js +2 -0
- package/dist/cjs/management/api/resources/users/resources/groups/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/groups/index.js +17 -0
- package/dist/cjs/management/api/resources/users/resources/index.d.ts +1 -0
- package/dist/cjs/management/api/resources/users/resources/index.js +2 -1
- package/dist/cjs/management/api/types/types.d.ts +5277 -1396
- package/dist/cjs/management/api/types/types.js +2143 -442
- package/dist/cjs/management/version.d.ts +1 -1
- package/dist/cjs/management/version.js +1 -1
- package/dist/esm/management/Client.d.mts +3 -0
- package/dist/esm/management/Client.mjs +5 -0
- package/dist/esm/management/api/errors/PreconditionFailedError.d.mts +5 -0
- package/dist/esm/management/api/errors/PreconditionFailedError.mjs +17 -0
- package/dist/esm/management/api/errors/index.d.mts +1 -0
- package/dist/esm/management/api/errors/index.mjs +1 -0
- package/dist/esm/management/api/requests/requests.d.mts +212 -134
- package/dist/esm/management/api/requests/requests.mjs +1 -107
- package/dist/esm/management/api/resources/actions/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/actions/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/actions/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.d.mts +149 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/Client.mjs +532 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/index.d.mts +2 -0
- package/dist/esm/management/api/resources/actions/resources/modules/index.mjs +2 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.d.mts +69 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/Client.mjs +238 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.d.mts +1 -0
- package/dist/esm/management/api/resources/actions/resources/modules/resources/versions/index.mjs +1 -0
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/actions/resources/versions/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/clientGrants/client/Client.d.mts +17 -0
- package/dist/esm/management/api/resources/clientGrants/client/Client.mjs +61 -0
- package/dist/esm/management/api/resources/connections/client/Client.d.mts +7 -3
- package/dist/esm/management/api/resources/connections/client/Client.mjs +9 -5
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/connections/resources/directoryProvisioning/client/Client.mjs +80 -0
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/deviceCredentials/client/Client.mjs +2 -1
- package/dist/esm/management/api/resources/eventStreams/client/Client.d.mts +1 -2
- package/dist/esm/management/api/resources/eventStreams/client/Client.mjs +59 -50
- package/dist/esm/management/api/resources/flows/client/Client.d.mts +2 -2
- package/dist/esm/management/api/resources/flows/client/Client.mjs +1 -1
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.d.mts +4 -4
- package/dist/esm/management/api/resources/flows/resources/executions/client/Client.mjs +2 -2
- package/dist/esm/management/api/resources/groups/client/Client.d.mts +56 -0
- package/dist/esm/management/api/resources/groups/client/Client.mjs +187 -0
- package/dist/esm/management/api/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/index.d.mts +2 -0
- package/dist/esm/management/api/resources/groups/index.mjs +2 -0
- package/dist/esm/management/api/resources/groups/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/index.d.mts +1 -0
- package/dist/esm/management/api/resources/groups/resources/members/index.mjs +1 -0
- package/dist/esm/management/api/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/index.mjs +1 -0
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.d.mts +20 -1
- package/dist/esm/management/api/resources/organizations/resources/discoveryDomains/client/Client.mjs +66 -1
- package/dist/esm/management/api/resources/prompts/resources/rendering/client/Client.d.mts +1 -1
- package/dist/esm/management/api/resources/refreshTokens/client/Client.d.mts +18 -0
- package/dist/esm/management/api/resources/refreshTokens/client/Client.mjs +67 -0
- package/dist/esm/management/api/resources/roles/client/Client.d.mts +1 -0
- package/dist/esm/management/api/resources/roles/client/Client.mjs +3 -0
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.d.mts +2 -1
- package/dist/esm/management/api/resources/tokenExchangeProfiles/client/Client.mjs +3 -2
- package/dist/esm/management/api/resources/users/client/Client.d.mts +3 -0
- package/dist/esm/management/api/resources/users/client/Client.mjs +5 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.d.mts +34 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/Client.mjs +111 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/client/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/groups/index.mjs +1 -0
- package/dist/esm/management/api/resources/users/resources/index.d.mts +1 -0
- package/dist/esm/management/api/resources/users/resources/index.mjs +1 -0
- package/dist/esm/management/api/types/types.d.mts +5277 -1396
- package/dist/esm/management/api/types/types.mjs +2133 -438
- package/dist/esm/management/version.d.mts +1 -1
- package/dist/esm/management/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1572 -185
|
@@ -1,108 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
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 {};
|
|
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Management from "../../../index.mjs";
|
|
5
5
|
import { ExecutionsClient } from "../resources/executions/client/Client.mjs";
|
|
6
|
+
import { ModulesClient } from "../resources/modules/client/Client.mjs";
|
|
6
7
|
import { TriggersClient } from "../resources/triggers/client/Client.mjs";
|
|
7
8
|
import { VersionsClient } from "../resources/versions/client/Client.mjs";
|
|
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.
|
|
@@ -16,6 +16,7 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
|
|
|
16
16
|
import * as errors from "../../../../errors/index.mjs";
|
|
17
17
|
import * as Management from "../../../index.mjs";
|
|
18
18
|
import { ExecutionsClient } from "../resources/executions/client/Client.mjs";
|
|
19
|
+
import { ModulesClient } from "../resources/modules/client/Client.mjs";
|
|
19
20
|
import { TriggersClient } from "../resources/triggers/client/Client.mjs";
|
|
20
21
|
import { VersionsClient } from "../resources/versions/client/Client.mjs";
|
|
21
22
|
export class ActionsClient {
|
|
@@ -30,6 +31,10 @@ export class ActionsClient {
|
|
|
30
31
|
var _a;
|
|
31
32
|
return ((_a = this._executions) !== null && _a !== void 0 ? _a : (this._executions = new ExecutionsClient(this._options)));
|
|
32
33
|
}
|
|
34
|
+
get modules() {
|
|
35
|
+
var _a;
|
|
36
|
+
return ((_a = this._modules) !== null && _a !== void 0 ? _a : (this._modules = new ModulesClient(this._options)));
|
|
37
|
+
}
|
|
33
38
|
get triggers() {
|
|
34
39
|
var _a;
|
|
35
40
|
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new TriggersClient(this._options)));
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
+
import * as Management from "../../../../../index.mjs";
|
|
5
|
+
import { VersionsClient } from "../resources/versions/client/Client.mjs";
|
|
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
|
+
}
|