ntfy-reverse-proxy 2.0.4 → 2.1.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 +22 -0
- package/README.md +10 -0
- package/build/src/cli/commands/config-io.d.ts +3 -3
- package/build/src/cli/commands/config-io.d.ts.map +1 -1
- package/build/src/cli/commands/config-io.js +1 -1
- package/build/src/cli/commands/config-io.js.map +1 -1
- package/build/src/cli/commands/context.d.ts +7 -7
- package/build/src/cli/commands/context.d.ts.map +1 -1
- package/build/src/cli/commands/context.js +1 -1
- package/build/src/cli/commands/context.js.map +1 -1
- package/build/src/cli/commands/deploy.d.ts +2 -2
- package/build/src/cli/commands/deploy.d.ts.map +1 -1
- package/build/src/cli/commands/deploy.js +72 -30
- package/build/src/cli/commands/deploy.js.map +1 -1
- package/build/src/cli/commands/generate.d.ts +2 -2
- package/build/src/cli/commands/generate.d.ts.map +1 -1
- package/build/src/cli/commands/generate.js +3 -3
- package/build/src/cli/commands/generate.js.map +1 -1
- package/build/src/cli/commands/server.d.ts +5 -5
- package/build/src/cli/commands/server.d.ts.map +1 -1
- package/build/src/cli/commands/server.js.map +1 -1
- package/build/src/cli/commands/settings.d.ts +3 -3
- package/build/src/cli/commands/settings.d.ts.map +1 -1
- package/build/src/cli/commands/settings.js.map +1 -1
- package/build/src/cli/commands/validate.d.ts +2 -2
- package/build/src/cli/commands/validate.d.ts.map +1 -1
- package/build/src/cli/commands/validate.js +3 -0
- package/build/src/cli/commands/validate.js.map +1 -1
- package/build/src/cli/index.d.ts +2 -2
- package/build/src/cli/index.d.ts.map +1 -1
- package/build/src/cli/index.js +4 -4
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/menu/interactive.d.ts +2 -2
- package/build/src/cli/menu/interactive.d.ts.map +1 -1
- package/build/src/cli/menu/interactive.js +260 -94
- package/build/src/cli/menu/interactive.js.map +1 -1
- package/build/src/lib/regex.d.ts +4 -1
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +4 -1
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/schema.d.ts +24 -0
- package/build/src/lib/schema.d.ts.map +1 -1
- package/build/src/lib/schema.js +11 -2
- package/build/src/lib/schema.js.map +1 -1
- package/build/src/lib/utility.d.ts +2 -2
- package/build/src/lib/utility.d.ts.map +1 -1
- package/build/src/lib/utility.js +1 -1
- package/build/src/lib/utility.js.map +1 -1
- package/build/src/types/cli/commands/config-io.d.ts +12 -12
- package/build/src/types/cli/commands/context.d.ts +96 -58
- package/build/src/types/cli/commands/deploy.d.ts +342 -298
- package/build/src/types/cli/commands/generate.d.ts +40 -24
- package/build/src/types/cli/commands/server.d.ts +23 -23
- package/build/src/types/cli/commands/settings.d.ts +8 -8
- package/build/src/types/cli/commands/validate.d.ts +16 -16
- package/build/src/types/cli/index.d.ts +16 -20
- package/build/src/types/cli/menu/interactive.d.ts +233 -178
- package/build/src/types/lib/schema.d.ts +89 -81
- package/build/src/types/lib/utility.d.ts +4 -2
- package/build/src/types/shared.d.ts +85 -0
- package/build/src/types/tests/cli/commands/context.test.d.ts +102 -31
- package/build/src/types/tests/cli/commands/generate.test.d.ts +50 -4
- package/build/src/types/tests/cli/commands/server.test.d.ts +88 -23
- package/build/src/types/tests/cli/commands/settings.test.d.ts +65 -21
- package/build/src/types/tests/cli/commands/validate.test.d.ts +69 -8
- package/build/src/types/tests/cli/menu/interactive-integration.test.d.ts +99 -0
- package/build/src/types/tests/cli/menu/interactive.test.d.ts +275 -2
- package/build/src/types/tests/lib/schema.test.d.ts +258 -3
- package/build/src/types/tests/worker/index.test.d.ts +166 -8
- package/build/src/types/tests/worker/interpreters/ntfy-json.test.d.ts +94 -10
- package/build/src/types/tests/worker/interpreters/pfsense.test.d.ts +163 -4
- package/build/src/types/tests/worker/interpreters/plain-text.test.d.ts +67 -4
- package/build/src/types/tests/worker/interpreters/seerr.test.d.ts +138 -3
- package/build/src/types/tests/worker/interpreters/statuspage.test.d.ts +235 -30
- package/build/src/types/tests/worker/interpreters/synology.test.d.ts +61 -3
- package/build/src/types/tests/worker/interpreters/unifi.test.d.ts +93 -3
- package/build/src/types/tests/worker/landing/page.test.d.ts +73 -50
- package/build/src/types/tests/worker/pipeline/accumulate.test.d.ts +226 -15
- package/build/src/types/tests/worker/pipeline/authenticate.test.d.ts +148 -4
- package/build/src/types/tests/worker/pipeline/email.test.d.ts +82 -8
- package/build/src/types/tests/worker/pipeline/format.test.d.ts +112 -32
- package/build/src/types/tests/worker/pipeline/interpret.test.d.ts +109 -17
- package/build/src/types/tests/worker/pipeline/parse.test.d.ts +70 -5
- package/build/src/types/tests/worker/pipeline/receive.test.d.ts +156 -15
- package/build/src/types/tests/worker/pipeline/respond.test.d.ts +129 -10
- package/build/src/types/tests/worker/pipeline/route.test.d.ts +412 -74
- package/build/src/types/tests/worker/pipeline/send.test.d.ts +58 -23
- package/build/src/types/tests/worker/pipeline/split.test.d.ts +47 -9
- package/build/src/types/worker/handlers.d.ts +193 -0
- package/build/src/types/worker/index.d.ts +58 -203
- package/build/src/types/worker/interpreters/ntfy-json.d.ts +10 -10
- package/build/src/types/worker/interpreters/pfsense.d.ts +57 -49
- package/build/src/types/worker/interpreters/plain-text.d.ts +7 -7
- package/build/src/types/worker/interpreters/seerr.d.ts +63 -61
- package/build/src/types/worker/interpreters/statuspage.d.ts +201 -116
- package/build/src/types/worker/interpreters/synology.d.ts +48 -46
- package/build/src/types/worker/interpreters/unifi.d.ts +79 -54
- package/build/src/types/worker/landing/page.d.ts +30 -23
- package/build/src/types/worker/pipeline/accumulate.d.ts +46 -32
- package/build/src/types/worker/pipeline/authenticate.d.ts +94 -34
- package/build/src/types/worker/pipeline/email.d.ts +114 -50
- package/build/src/types/worker/pipeline/format.d.ts +31 -23
- package/build/src/types/worker/pipeline/interpret.d.ts +34 -34
- package/build/src/types/worker/pipeline/parse.d.ts +25 -19
- package/build/src/types/worker/pipeline/receive.d.ts +36 -34
- package/build/src/types/worker/pipeline/respond.d.ts +119 -63
- package/build/src/types/worker/pipeline/route.d.ts +33 -16
- package/build/src/types/worker/pipeline/send.d.ts +116 -79
- package/build/src/types/worker/pipeline/split.d.ts +21 -16
- package/build/src/worker/handlers.d.ts +5 -4
- package/build/src/worker/handlers.d.ts.map +1 -1
- package/build/src/worker/handlers.js +238 -202
- package/build/src/worker/handlers.js.map +1 -1
- package/build/src/worker/index.d.ts +2 -2
- package/build/src/worker/index.d.ts.map +1 -1
- package/build/src/worker/index.js +37 -9
- package/build/src/worker/index.js.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.d.ts +2 -2
- package/build/src/worker/interpreters/ntfy-json.d.ts.map +1 -1
- package/build/src/worker/interpreters/ntfy-json.js.map +1 -1
- package/build/src/worker/interpreters/pfsense.d.ts +2 -2
- package/build/src/worker/interpreters/pfsense.d.ts.map +1 -1
- package/build/src/worker/interpreters/pfsense.js +20 -27
- package/build/src/worker/interpreters/pfsense.js.map +1 -1
- package/build/src/worker/interpreters/plain-text.d.ts +2 -2
- package/build/src/worker/interpreters/plain-text.d.ts.map +1 -1
- package/build/src/worker/interpreters/plain-text.js.map +1 -1
- package/build/src/worker/interpreters/seerr.d.ts +2 -2
- package/build/src/worker/interpreters/seerr.d.ts.map +1 -1
- package/build/src/worker/interpreters/seerr.js +16 -12
- package/build/src/worker/interpreters/seerr.js.map +1 -1
- package/build/src/worker/interpreters/statuspage.d.ts +2 -2
- package/build/src/worker/interpreters/statuspage.d.ts.map +1 -1
- package/build/src/worker/interpreters/statuspage.js +98 -47
- package/build/src/worker/interpreters/statuspage.js.map +1 -1
- package/build/src/worker/interpreters/synology.d.ts +2 -2
- package/build/src/worker/interpreters/synology.d.ts.map +1 -1
- package/build/src/worker/interpreters/synology.js +9 -5
- package/build/src/worker/interpreters/synology.js.map +1 -1
- package/build/src/worker/interpreters/unifi.d.ts +2 -2
- package/build/src/worker/interpreters/unifi.d.ts.map +1 -1
- package/build/src/worker/interpreters/unifi.js +34 -20
- package/build/src/worker/interpreters/unifi.js.map +1 -1
- package/build/src/worker/landing/page.d.ts +2 -2
- package/build/src/worker/landing/page.d.ts.map +1 -1
- package/build/src/worker/landing/page.js +4 -3
- package/build/src/worker/landing/page.js.map +1 -1
- package/build/src/worker/pipeline/accumulate.d.ts +5 -6
- package/build/src/worker/pipeline/accumulate.d.ts.map +1 -1
- package/build/src/worker/pipeline/accumulate.js +4 -11
- package/build/src/worker/pipeline/accumulate.js.map +1 -1
- package/build/src/worker/pipeline/authenticate.d.ts +2 -2
- package/build/src/worker/pipeline/authenticate.d.ts.map +1 -1
- package/build/src/worker/pipeline/authenticate.js +25 -7
- package/build/src/worker/pipeline/authenticate.js.map +1 -1
- package/build/src/worker/pipeline/email.d.ts +2 -2
- package/build/src/worker/pipeline/email.d.ts.map +1 -1
- package/build/src/worker/pipeline/email.js +34 -11
- package/build/src/worker/pipeline/email.js.map +1 -1
- package/build/src/worker/pipeline/format.d.ts +2 -3
- package/build/src/worker/pipeline/format.d.ts.map +1 -1
- package/build/src/worker/pipeline/format.js +2 -1
- package/build/src/worker/pipeline/format.js.map +1 -1
- package/build/src/worker/pipeline/interpret.d.ts +4 -3
- package/build/src/worker/pipeline/interpret.d.ts.map +1 -1
- package/build/src/worker/pipeline/interpret.js +7 -7
- package/build/src/worker/pipeline/interpret.js.map +1 -1
- package/build/src/worker/pipeline/parse.d.ts +2 -2
- package/build/src/worker/pipeline/parse.d.ts.map +1 -1
- package/build/src/worker/pipeline/parse.js +14 -7
- package/build/src/worker/pipeline/parse.js.map +1 -1
- package/build/src/worker/pipeline/receive.d.ts +2 -2
- package/build/src/worker/pipeline/receive.d.ts.map +1 -1
- package/build/src/worker/pipeline/receive.js +6 -6
- package/build/src/worker/pipeline/receive.js.map +1 -1
- package/build/src/worker/pipeline/respond.d.ts +2 -2
- package/build/src/worker/pipeline/respond.d.ts.map +1 -1
- package/build/src/worker/pipeline/respond.js +1 -1
- package/build/src/worker/pipeline/respond.js.map +1 -1
- package/build/src/worker/pipeline/route.d.ts +2 -3
- package/build/src/worker/pipeline/route.d.ts.map +1 -1
- package/build/src/worker/pipeline/route.js.map +1 -1
- package/build/src/worker/pipeline/send.d.ts +2 -2
- package/build/src/worker/pipeline/send.d.ts.map +1 -1
- package/build/src/worker/pipeline/send.js +80 -41
- package/build/src/worker/pipeline/send.js.map +1 -1
- package/build/src/worker/pipeline/split.d.ts +2 -2
- package/build/src/worker/pipeline/split.d.ts.map +1 -1
- package/build/src/worker/pipeline/split.js +4 -2
- package/build/src/worker/pipeline/split.js.map +1 -1
- package/package.json +11 -9
- package/build/src/types/tests/type-declarations.test.d.ts +0 -173
- package/build/src/types/worker/pipeline/shared.d.ts +0 -85
|
@@ -1,551 +1,595 @@
|
|
|
1
|
-
import type { SpawnSyncReturns } from 'child_process';
|
|
1
|
+
import type { SpawnSyncReturns } from 'node:child_process';
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Lib_Schema_ContextConfig,
|
|
5
|
+
Lib_Schema_ServerConfig,
|
|
6
|
+
Lib_Schema_SettingsConfigBaseDomain,
|
|
7
|
+
Lib_Schema_SettingsConfigShowResponseOutput,
|
|
8
|
+
Lib_Schema_SettingsConfigWorkerName,
|
|
7
9
|
} from '../../lib/schema.d.ts';
|
|
8
|
-
import type { CliCommandsValidateValidateConfigResult } from './validate.d.ts';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* CLI - Commands - Deploy - Create Email Routing Rule.
|
|
12
13
|
*
|
|
13
14
|
* @since 2.0.0
|
|
14
15
|
*/
|
|
15
|
-
export type
|
|
16
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_Token = string;
|
|
16
17
|
|
|
17
|
-
export type
|
|
18
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_ZoneId = string;
|
|
18
19
|
|
|
19
|
-
export type
|
|
20
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_Email = string;
|
|
20
21
|
|
|
21
|
-
export type
|
|
22
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_ContextId = string;
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_WorkerName = string;
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_Returns = Promise<void>;
|
|
26
27
|
|
|
27
|
-
export type
|
|
28
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_Response = Response;
|
|
28
29
|
|
|
29
|
-
export type
|
|
30
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataSuccess = boolean;
|
|
30
31
|
|
|
31
|
-
export type
|
|
32
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorCode = number;
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorMessage = string;
|
|
34
35
|
|
|
35
|
-
export type
|
|
36
|
-
code:
|
|
37
|
-
message:
|
|
36
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataError = {
|
|
37
|
+
code: Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorCode;
|
|
38
|
+
message: Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorMessage;
|
|
38
39
|
};
|
|
39
40
|
|
|
40
|
-
export type
|
|
41
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorsList = Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataError[] | undefined;
|
|
41
42
|
|
|
42
|
-
export type
|
|
43
|
-
success:
|
|
44
|
-
errors:
|
|
43
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateData = {
|
|
44
|
+
success: Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataSuccess;
|
|
45
|
+
errors: Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorsList;
|
|
45
46
|
};
|
|
46
47
|
|
|
47
|
-
export type
|
|
48
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_CreateErrors = Cli_Commands_Deploy_CreateEmailRoutingRule_CreateDataErrorsList;
|
|
48
49
|
|
|
49
|
-
export type
|
|
50
|
+
export type Cli_Commands_Deploy_CreateEmailRoutingRule_ErrorDetails = string;
|
|
50
51
|
|
|
51
52
|
/**
|
|
52
53
|
* CLI - Commands - Deploy - Delete Email Routing Rule.
|
|
53
54
|
*
|
|
54
55
|
* @since 2.0.0
|
|
55
56
|
*/
|
|
56
|
-
export type
|
|
57
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_Token = string;
|
|
57
58
|
|
|
58
|
-
export type
|
|
59
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_ZoneId = string;
|
|
59
60
|
|
|
60
|
-
export type
|
|
61
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_RuleId = string;
|
|
61
62
|
|
|
62
|
-
export type
|
|
63
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_Returns = Promise<void>;
|
|
63
64
|
|
|
64
|
-
export type
|
|
65
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_Response = Response;
|
|
65
66
|
|
|
66
|
-
export type
|
|
67
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataSuccess = boolean;
|
|
67
68
|
|
|
68
|
-
export type
|
|
69
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorCode = number;
|
|
69
70
|
|
|
70
|
-
export type
|
|
71
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorMessage = string;
|
|
71
72
|
|
|
72
|
-
export type
|
|
73
|
-
code:
|
|
74
|
-
message:
|
|
73
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataError = {
|
|
74
|
+
code: Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorCode;
|
|
75
|
+
message: Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorMessage;
|
|
75
76
|
};
|
|
76
77
|
|
|
77
|
-
export type
|
|
78
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorsList = Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataError[] | undefined;
|
|
78
79
|
|
|
79
|
-
export type
|
|
80
|
-
success:
|
|
81
|
-
errors:
|
|
80
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteData = {
|
|
81
|
+
success: Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataSuccess;
|
|
82
|
+
errors: Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorsList;
|
|
82
83
|
};
|
|
83
84
|
|
|
84
|
-
export type
|
|
85
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteErrors = Cli_Commands_Deploy_DeleteEmailRoutingRule_DeleteDataErrorsList;
|
|
85
86
|
|
|
86
|
-
export type
|
|
87
|
+
export type Cli_Commands_Deploy_DeleteEmailRoutingRule_ErrorDetails = string;
|
|
87
88
|
|
|
88
89
|
/**
|
|
89
90
|
* CLI - Commands - Deploy - Deploy.
|
|
90
91
|
*
|
|
91
92
|
* @since 2.0.0
|
|
92
93
|
*/
|
|
93
|
-
export type
|
|
94
|
+
export type Cli_Commands_Deploy_Deploy_ConfigPath = string;
|
|
94
95
|
|
|
95
|
-
export type
|
|
96
|
+
export type Cli_Commands_Deploy_Deploy_Interactive = boolean;
|
|
96
97
|
|
|
97
|
-
export type
|
|
98
|
+
export type Cli_Commands_Deploy_Deploy_Returns = Promise<void>;
|
|
98
99
|
|
|
99
|
-
export type
|
|
100
|
+
export type Cli_Commands_Deploy_Deploy_Token = string;
|
|
100
101
|
|
|
101
|
-
export type
|
|
102
|
+
export type Cli_Commands_Deploy_Deploy_ResultValid = boolean;
|
|
102
103
|
|
|
103
|
-
export type
|
|
104
|
+
export type Cli_Commands_Deploy_Deploy_ResultErrors = string[];
|
|
104
105
|
|
|
105
|
-
export type
|
|
106
|
+
export type Cli_Commands_Deploy_Deploy_Result = {
|
|
107
|
+
valid: Cli_Commands_Deploy_Deploy_ResultValid;
|
|
108
|
+
errors: Cli_Commands_Deploy_Deploy_ResultErrors;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type Cli_Commands_Deploy_Deploy_Servers = Array<Lib_Schema_ServerConfig>;
|
|
112
|
+
|
|
113
|
+
export type Cli_Commands_Deploy_Deploy_Settings_WorkerName = Lib_Schema_SettingsConfigWorkerName;
|
|
114
|
+
|
|
115
|
+
export type Cli_Commands_Deploy_Deploy_Settings_BaseDomain = Lib_Schema_SettingsConfigBaseDomain;
|
|
106
116
|
|
|
107
|
-
export type
|
|
117
|
+
export type Cli_Commands_Deploy_Deploy_Settings_ShowResponseOutput = Lib_Schema_SettingsConfigShowResponseOutput;
|
|
108
118
|
|
|
109
|
-
export type
|
|
119
|
+
export type Cli_Commands_Deploy_Deploy_Settings = {
|
|
120
|
+
worker_name: Cli_Commands_Deploy_Deploy_Settings_WorkerName;
|
|
121
|
+
base_domain: Cli_Commands_Deploy_Deploy_Settings_BaseDomain;
|
|
122
|
+
show_response_output: Cli_Commands_Deploy_Deploy_Settings_ShowResponseOutput;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export type Cli_Commands_Deploy_Deploy_WorkerName = string;
|
|
110
126
|
|
|
111
|
-
export type
|
|
127
|
+
export type Cli_Commands_Deploy_Deploy_Contexts = Array<Lib_Schema_ContextConfig>;
|
|
112
128
|
|
|
113
|
-
export type
|
|
129
|
+
export type Cli_Commands_Deploy_Deploy_HasEmailContexts = boolean;
|
|
114
130
|
|
|
115
|
-
export type
|
|
131
|
+
export type Cli_Commands_Deploy_Deploy_AccountId = string;
|
|
116
132
|
|
|
117
|
-
export type
|
|
133
|
+
export type Cli_Commands_Deploy_Deploy_KvNamespaceId = string;
|
|
118
134
|
|
|
119
|
-
export type
|
|
135
|
+
export type Cli_Commands_Deploy_Deploy_ProjectRoot = string;
|
|
136
|
+
|
|
137
|
+
export type Cli_Commands_Deploy_Deploy_WranglerTomlPath = string;
|
|
120
138
|
|
|
121
139
|
/**
|
|
122
140
|
* CLI - Commands - Deploy - Deploy Worker.
|
|
123
141
|
*
|
|
124
142
|
* @since 2.0.0
|
|
125
143
|
*/
|
|
126
|
-
export type
|
|
144
|
+
export type Cli_Commands_Deploy_DeployWorker_Returns = void;
|
|
127
145
|
|
|
128
|
-
export type
|
|
146
|
+
export type Cli_Commands_Deploy_DeployWorker_ProjectRoot = string;
|
|
129
147
|
|
|
130
|
-
export type
|
|
148
|
+
export type Cli_Commands_Deploy_DeployWorker_WranglerTomlPath = string;
|
|
131
149
|
|
|
132
|
-
export type
|
|
150
|
+
export type Cli_Commands_Deploy_DeployWorker_DeployResult = SpawnSyncReturns<string>;
|
|
133
151
|
|
|
134
152
|
/**
|
|
135
153
|
* CLI - Commands - Deploy - Ensure Kv Namespace.
|
|
136
154
|
*
|
|
137
155
|
* @since 2.0.0
|
|
138
156
|
*/
|
|
139
|
-
export type
|
|
157
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_Returns = Promise<string>;
|
|
158
|
+
|
|
159
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_Token = string;
|
|
140
160
|
|
|
141
|
-
export type
|
|
161
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_AccountId = string;
|
|
142
162
|
|
|
143
|
-
export type
|
|
163
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_WorkerName = string;
|
|
144
164
|
|
|
145
|
-
export type
|
|
165
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_AllNamespacesId = string;
|
|
146
166
|
|
|
147
|
-
export type
|
|
167
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_AllNamespacesTitle = string;
|
|
148
168
|
|
|
149
|
-
export type
|
|
169
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_AllNamespaces = {
|
|
170
|
+
id: Cli_Commands_Deploy_EnsureKvNamespace_AllNamespacesId;
|
|
171
|
+
title: Cli_Commands_Deploy_EnsureKvNamespace_AllNamespacesTitle;
|
|
172
|
+
}[];
|
|
150
173
|
|
|
151
|
-
export type
|
|
174
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_Page = number;
|
|
152
175
|
|
|
153
|
-
export type
|
|
176
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_Cursor = string | undefined;
|
|
154
177
|
|
|
155
|
-
export type
|
|
156
|
-
|
|
157
|
-
|
|
178
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_HasMore = boolean;
|
|
179
|
+
|
|
180
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_PaginationUrl = string;
|
|
181
|
+
|
|
182
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListResponse = Response;
|
|
183
|
+
|
|
184
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataSuccess = boolean;
|
|
185
|
+
|
|
186
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultId = string;
|
|
187
|
+
|
|
188
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultTitle = string;
|
|
189
|
+
|
|
190
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResult = {
|
|
191
|
+
id: Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultId;
|
|
192
|
+
title: Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultTitle;
|
|
158
193
|
};
|
|
159
194
|
|
|
160
|
-
export type
|
|
195
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorCode = number;
|
|
161
196
|
|
|
162
|
-
export type
|
|
197
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorMessage = string;
|
|
163
198
|
|
|
164
|
-
export type
|
|
165
|
-
code:
|
|
166
|
-
message:
|
|
199
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataError = {
|
|
200
|
+
code: Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorCode;
|
|
201
|
+
message: Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorMessage;
|
|
167
202
|
};
|
|
168
203
|
|
|
169
|
-
export type
|
|
204
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResults = Cli_Commands_Deploy_EnsureKvNamespace_ListDataResult[];
|
|
205
|
+
|
|
206
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorsList = Cli_Commands_Deploy_EnsureKvNamespace_ListDataError[] | undefined;
|
|
207
|
+
|
|
208
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultInfoCursor = string | undefined;
|
|
170
209
|
|
|
171
|
-
export type
|
|
210
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultInfo = {
|
|
211
|
+
cursor: Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultInfoCursor;
|
|
212
|
+
} | undefined;
|
|
172
213
|
|
|
173
|
-
export type
|
|
174
|
-
success:
|
|
175
|
-
result:
|
|
176
|
-
errors:
|
|
214
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListData = {
|
|
215
|
+
success: Cli_Commands_Deploy_EnsureKvNamespace_ListDataSuccess;
|
|
216
|
+
result: Cli_Commands_Deploy_EnsureKvNamespace_ListDataResults;
|
|
217
|
+
errors: Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorsList;
|
|
218
|
+
result_info: Cli_Commands_Deploy_EnsureKvNamespace_ListDataResultInfo;
|
|
177
219
|
};
|
|
178
220
|
|
|
179
|
-
export type
|
|
221
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListErrors = Cli_Commands_Deploy_EnsureKvNamespace_ListDataErrorsList;
|
|
180
222
|
|
|
181
|
-
export type
|
|
223
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ListErrorDetails = string;
|
|
182
224
|
|
|
183
|
-
export type
|
|
225
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_ResultInfoCursor = string | undefined;
|
|
184
226
|
|
|
185
|
-
export type
|
|
227
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_KvTitle = string;
|
|
186
228
|
|
|
187
|
-
export type
|
|
229
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_Existing = Cli_Commands_Deploy_EnsureKvNamespace_ListDataResult | undefined;
|
|
188
230
|
|
|
189
|
-
export type
|
|
231
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateResponse = Response;
|
|
190
232
|
|
|
191
|
-
export type
|
|
233
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateDataSuccess = boolean;
|
|
192
234
|
|
|
193
|
-
export type
|
|
194
|
-
|
|
235
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateDataResultId = string;
|
|
236
|
+
|
|
237
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateDataResult = {
|
|
238
|
+
id: Cli_Commands_Deploy_EnsureKvNamespace_CreateDataResultId;
|
|
195
239
|
};
|
|
196
240
|
|
|
197
|
-
export type
|
|
241
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateDataErrorsList = Cli_Commands_Deploy_EnsureKvNamespace_ListDataError[] | undefined;
|
|
198
242
|
|
|
199
|
-
export type
|
|
200
|
-
success:
|
|
201
|
-
result:
|
|
202
|
-
errors:
|
|
243
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateData = {
|
|
244
|
+
success: Cli_Commands_Deploy_EnsureKvNamespace_CreateDataSuccess;
|
|
245
|
+
result: Cli_Commands_Deploy_EnsureKvNamespace_CreateDataResult;
|
|
246
|
+
errors: Cli_Commands_Deploy_EnsureKvNamespace_CreateDataErrorsList;
|
|
203
247
|
};
|
|
204
248
|
|
|
205
|
-
export type
|
|
249
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateErrors = Cli_Commands_Deploy_EnsureKvNamespace_CreateDataErrorsList;
|
|
206
250
|
|
|
207
|
-
export type
|
|
251
|
+
export type Cli_Commands_Deploy_EnsureKvNamespace_CreateErrorDetails = string;
|
|
208
252
|
|
|
209
253
|
/**
|
|
210
254
|
* CLI - Commands - Deploy - Get Zone Info.
|
|
211
255
|
*
|
|
212
256
|
* @since 2.0.0
|
|
213
257
|
*/
|
|
214
|
-
export type
|
|
258
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Token = string;
|
|
215
259
|
|
|
216
|
-
export type
|
|
260
|
+
export type Cli_Commands_Deploy_GetZoneInfo_BaseDomain = string;
|
|
217
261
|
|
|
218
|
-
export type
|
|
262
|
+
export type Cli_Commands_Deploy_GetZoneInfo_ResultZoneId = string;
|
|
219
263
|
|
|
220
|
-
export type
|
|
264
|
+
export type Cli_Commands_Deploy_GetZoneInfo_ResultAccountId = string;
|
|
221
265
|
|
|
222
|
-
export type
|
|
266
|
+
export type Cli_Commands_Deploy_GetZoneInfo_ResultZoneName = string;
|
|
223
267
|
|
|
224
|
-
export type
|
|
225
|
-
zoneId:
|
|
226
|
-
accountId:
|
|
227
|
-
zoneName:
|
|
268
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Result = {
|
|
269
|
+
zoneId: Cli_Commands_Deploy_GetZoneInfo_ResultZoneId;
|
|
270
|
+
accountId: Cli_Commands_Deploy_GetZoneInfo_ResultAccountId;
|
|
271
|
+
zoneName: Cli_Commands_Deploy_GetZoneInfo_ResultZoneName;
|
|
228
272
|
};
|
|
229
273
|
|
|
230
|
-
export type
|
|
274
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Returns = Promise<Cli_Commands_Deploy_GetZoneInfo_Result>;
|
|
231
275
|
|
|
232
|
-
export type
|
|
276
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Parts = string[];
|
|
233
277
|
|
|
234
|
-
export type
|
|
278
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Candidate = string;
|
|
235
279
|
|
|
236
|
-
export type
|
|
280
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Candidates = Cli_Commands_Deploy_GetZoneInfo_Candidate[];
|
|
237
281
|
|
|
238
|
-
export type
|
|
282
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Response = Response;
|
|
239
283
|
|
|
240
|
-
export type
|
|
284
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataSuccess = boolean;
|
|
241
285
|
|
|
242
|
-
export type
|
|
286
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResultId = string;
|
|
243
287
|
|
|
244
|
-
export type
|
|
288
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResultName = string;
|
|
245
289
|
|
|
246
|
-
export type
|
|
290
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResultAccountId = string;
|
|
247
291
|
|
|
248
|
-
export type
|
|
249
|
-
id:
|
|
292
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResultAccount = {
|
|
293
|
+
id: Cli_Commands_Deploy_GetZoneInfo_DataResultAccountId;
|
|
250
294
|
};
|
|
251
295
|
|
|
252
|
-
export type
|
|
253
|
-
id:
|
|
254
|
-
name:
|
|
255
|
-
account:
|
|
296
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResult = {
|
|
297
|
+
id: Cli_Commands_Deploy_GetZoneInfo_DataResultId;
|
|
298
|
+
name: Cli_Commands_Deploy_GetZoneInfo_DataResultName;
|
|
299
|
+
account: Cli_Commands_Deploy_GetZoneInfo_DataResultAccount;
|
|
256
300
|
};
|
|
257
301
|
|
|
258
|
-
export type
|
|
302
|
+
export type Cli_Commands_Deploy_GetZoneInfo_DataResults = Cli_Commands_Deploy_GetZoneInfo_DataResult[];
|
|
259
303
|
|
|
260
|
-
export type
|
|
261
|
-
success:
|
|
262
|
-
result:
|
|
304
|
+
export type Cli_Commands_Deploy_GetZoneInfo_Data = {
|
|
305
|
+
success: Cli_Commands_Deploy_GetZoneInfo_DataSuccess;
|
|
306
|
+
result: Cli_Commands_Deploy_GetZoneInfo_DataResults;
|
|
263
307
|
};
|
|
264
308
|
|
|
265
|
-
export type
|
|
309
|
+
export type Cli_Commands_Deploy_GetZoneInfo_HasResults = boolean;
|
|
266
310
|
|
|
267
|
-
export type
|
|
311
|
+
export type Cli_Commands_Deploy_GetZoneInfo_FirstResult = Cli_Commands_Deploy_GetZoneInfo_DataResult | undefined;
|
|
268
312
|
|
|
269
313
|
/**
|
|
270
314
|
* CLI - Commands - Deploy - List Email Routing Rules.
|
|
271
315
|
*
|
|
272
316
|
* @since 2.0.0
|
|
273
317
|
*/
|
|
274
|
-
export type
|
|
318
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_Token = string;
|
|
275
319
|
|
|
276
|
-
export type
|
|
320
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_ZoneId = string;
|
|
277
321
|
|
|
278
|
-
export type
|
|
322
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_Returns = Promise<Cli_Commands_Deploy_ListEmailRoutingRules_Rule[]>;
|
|
279
323
|
|
|
280
|
-
export type
|
|
324
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherType = string;
|
|
281
325
|
|
|
282
|
-
export type
|
|
326
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherField = string;
|
|
283
327
|
|
|
284
|
-
export type
|
|
328
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherValue = string;
|
|
285
329
|
|
|
286
|
-
export type
|
|
287
|
-
type:
|
|
288
|
-
field:
|
|
289
|
-
value:
|
|
330
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcher = {
|
|
331
|
+
type: Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherType;
|
|
332
|
+
field: Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherField;
|
|
333
|
+
value: Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcherValue;
|
|
290
334
|
};
|
|
291
335
|
|
|
292
|
-
export type
|
|
336
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatchers = Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatcher[];
|
|
293
337
|
|
|
294
|
-
export type
|
|
338
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleActionType = string;
|
|
295
339
|
|
|
296
|
-
export type
|
|
340
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleActionValue = string[];
|
|
297
341
|
|
|
298
|
-
export type
|
|
299
|
-
type:
|
|
300
|
-
value:
|
|
342
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleAction = {
|
|
343
|
+
type: Cli_Commands_Deploy_ListEmailRoutingRules_RuleActionType;
|
|
344
|
+
value: Cli_Commands_Deploy_ListEmailRoutingRules_RuleActionValue;
|
|
301
345
|
};
|
|
302
346
|
|
|
303
|
-
export type
|
|
347
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleActions = Cli_Commands_Deploy_ListEmailRoutingRules_RuleAction[];
|
|
304
348
|
|
|
305
|
-
export type
|
|
349
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleTag = string;
|
|
306
350
|
|
|
307
|
-
export type
|
|
351
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleName = string;
|
|
308
352
|
|
|
309
|
-
export type
|
|
353
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_RuleEnabled = boolean;
|
|
310
354
|
|
|
311
|
-
export type
|
|
312
|
-
tag:
|
|
313
|
-
name:
|
|
314
|
-
enabled:
|
|
315
|
-
matchers:
|
|
316
|
-
actions:
|
|
355
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_Rule = {
|
|
356
|
+
tag: Cli_Commands_Deploy_ListEmailRoutingRules_RuleTag;
|
|
357
|
+
name: Cli_Commands_Deploy_ListEmailRoutingRules_RuleName;
|
|
358
|
+
enabled: Cli_Commands_Deploy_ListEmailRoutingRules_RuleEnabled;
|
|
359
|
+
matchers: Cli_Commands_Deploy_ListEmailRoutingRules_RuleMatchers;
|
|
360
|
+
actions: Cli_Commands_Deploy_ListEmailRoutingRules_RuleActions;
|
|
317
361
|
};
|
|
318
362
|
|
|
319
|
-
export type
|
|
363
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_Response = Response;
|
|
320
364
|
|
|
321
|
-
export type
|
|
365
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataSuccess = boolean;
|
|
322
366
|
|
|
323
|
-
export type
|
|
367
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorCode = number;
|
|
324
368
|
|
|
325
|
-
export type
|
|
369
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorMessage = string;
|
|
326
370
|
|
|
327
|
-
export type
|
|
328
|
-
code:
|
|
329
|
-
message:
|
|
371
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataError = {
|
|
372
|
+
code: Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorCode;
|
|
373
|
+
message: Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorMessage;
|
|
330
374
|
};
|
|
331
375
|
|
|
332
|
-
export type
|
|
376
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataResult = Cli_Commands_Deploy_ListEmailRoutingRules_Rule[];
|
|
333
377
|
|
|
334
|
-
export type
|
|
378
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorsList = Cli_Commands_Deploy_ListEmailRoutingRules_DataError[] | undefined;
|
|
335
379
|
|
|
336
|
-
export type
|
|
337
|
-
success:
|
|
338
|
-
result:
|
|
339
|
-
errors:
|
|
380
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_Data = {
|
|
381
|
+
success: Cli_Commands_Deploy_ListEmailRoutingRules_DataSuccess;
|
|
382
|
+
result: Cli_Commands_Deploy_ListEmailRoutingRules_DataResult;
|
|
383
|
+
errors: Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorsList;
|
|
340
384
|
};
|
|
341
385
|
|
|
342
|
-
export type
|
|
386
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_DataErrors = Cli_Commands_Deploy_ListEmailRoutingRules_DataErrorsList;
|
|
343
387
|
|
|
344
|
-
export type
|
|
388
|
+
export type Cli_Commands_Deploy_ListEmailRoutingRules_ErrorDetails = string;
|
|
345
389
|
|
|
346
390
|
/**
|
|
347
391
|
* CLI - Commands - Deploy - Load Env Token.
|
|
348
392
|
*
|
|
349
393
|
* @since 2.0.0
|
|
350
394
|
*/
|
|
351
|
-
export type
|
|
395
|
+
export type Cli_Commands_Deploy_LoadEnvToken_Returns = string | undefined;
|
|
352
396
|
|
|
353
|
-
export type
|
|
397
|
+
export type Cli_Commands_Deploy_LoadEnvToken_EnvValue = string | undefined;
|
|
354
398
|
|
|
355
|
-
export type
|
|
399
|
+
export type Cli_Commands_Deploy_LoadEnvToken_Content = string;
|
|
356
400
|
|
|
357
|
-
export type
|
|
401
|
+
export type Cli_Commands_Deploy_LoadEnvToken_Match = RegExpMatchArray | null;
|
|
358
402
|
|
|
359
|
-
export type
|
|
403
|
+
export type Cli_Commands_Deploy_LoadEnvToken_Value = string;
|
|
360
404
|
|
|
361
405
|
/**
|
|
362
406
|
* CLI - Commands - Deploy - Print Context Summary.
|
|
363
407
|
*
|
|
364
408
|
* @since 2.0.0
|
|
365
409
|
*/
|
|
366
|
-
export type
|
|
367
|
-
|
|
368
|
-
export type CliCommandsDeployPrintContextSummaryReturn = void;
|
|
369
|
-
|
|
370
|
-
export type CliCommandsDeployPrintContextSummaryContexts = LibSchemaContextConfig[];
|
|
371
|
-
|
|
372
|
-
export type CliCommandsDeployPrintContextSummarySettings = LibSchemaSettingsConfig;
|
|
410
|
+
export type Cli_Commands_Deploy_PrintContextSummary_ConfigPath = string;
|
|
373
411
|
|
|
374
|
-
|
|
375
|
-
* CLI - Commands - Deploy - Print Email Routing Manual Instructions.
|
|
376
|
-
*
|
|
377
|
-
* @since 2.0.0
|
|
378
|
-
*/
|
|
379
|
-
export type CliCommandsDeployPrintEmailRoutingManualInstructionsEmailContextsId = string;
|
|
412
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Returns = void;
|
|
380
413
|
|
|
381
|
-
export type
|
|
414
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Contexts = Array<Lib_Schema_ContextConfig>;
|
|
382
415
|
|
|
383
|
-
export type
|
|
384
|
-
id: CliCommandsDeployPrintEmailRoutingManualInstructionsEmailContextsId;
|
|
385
|
-
name: CliCommandsDeployPrintEmailRoutingManualInstructionsEmailContextsName;
|
|
386
|
-
}>;
|
|
416
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Settings_WorkerName = Lib_Schema_SettingsConfigWorkerName;
|
|
387
417
|
|
|
388
|
-
export type
|
|
418
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Settings_BaseDomain = Lib_Schema_SettingsConfigBaseDomain;
|
|
389
419
|
|
|
390
|
-
export type
|
|
420
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Settings_ShowResponseOutput = Lib_Schema_SettingsConfigShowResponseOutput;
|
|
391
421
|
|
|
392
|
-
export type
|
|
422
|
+
export type Cli_Commands_Deploy_PrintContextSummary_Settings = {
|
|
423
|
+
worker_name: Cli_Commands_Deploy_PrintContextSummary_Settings_WorkerName;
|
|
424
|
+
base_domain: Cli_Commands_Deploy_PrintContextSummary_Settings_BaseDomain;
|
|
425
|
+
show_response_output: Cli_Commands_Deploy_PrintContextSummary_Settings_ShowResponseOutput;
|
|
426
|
+
};
|
|
393
427
|
|
|
394
428
|
/**
|
|
395
429
|
* CLI - Commands - Deploy - Prompt For Api Token.
|
|
396
430
|
*
|
|
397
431
|
* @since 2.0.0
|
|
398
432
|
*/
|
|
399
|
-
export type
|
|
433
|
+
export type Cli_Commands_Deploy_PromptForApiToken_Returns = Promise<string>;
|
|
400
434
|
|
|
401
|
-
export type
|
|
435
|
+
export type Cli_Commands_Deploy_PromptForApiToken_PromptResultApiToken = string | undefined;
|
|
402
436
|
|
|
403
|
-
export type
|
|
404
|
-
apiToken:
|
|
437
|
+
export type Cli_Commands_Deploy_PromptForApiToken_PromptResult = {
|
|
438
|
+
apiToken: Cli_Commands_Deploy_PromptForApiToken_PromptResultApiToken;
|
|
405
439
|
};
|
|
406
440
|
|
|
407
|
-
export type
|
|
408
|
-
|
|
409
|
-
export type CliCommandsDeployPromptForApiTokenToken = string;
|
|
441
|
+
export type Cli_Commands_Deploy_PromptForApiToken_Token = string;
|
|
410
442
|
|
|
411
443
|
/**
|
|
412
444
|
* CLI - Commands - Deploy - Resolve Api Token.
|
|
413
445
|
*
|
|
414
446
|
* @since 2.0.0
|
|
415
447
|
*/
|
|
416
|
-
export type
|
|
448
|
+
export type Cli_Commands_Deploy_ResolveApiToken_Interactive = boolean;
|
|
417
449
|
|
|
418
|
-
export type
|
|
450
|
+
export type Cli_Commands_Deploy_ResolveApiToken_Returns = Promise<string>;
|
|
419
451
|
|
|
420
|
-
export type
|
|
452
|
+
export type Cli_Commands_Deploy_ResolveApiToken_EnvToken = string | undefined;
|
|
421
453
|
|
|
422
454
|
/**
|
|
423
455
|
* CLI - Commands - Deploy - Run Lint.
|
|
424
456
|
*
|
|
425
457
|
* @since 2.0.0
|
|
426
458
|
*/
|
|
427
|
-
export type
|
|
459
|
+
export type Cli_Commands_Deploy_RunLint_Returns = void;
|
|
428
460
|
|
|
429
|
-
export type
|
|
461
|
+
export type Cli_Commands_Deploy_RunLint_PackageRoot = string;
|
|
462
|
+
|
|
463
|
+
export type Cli_Commands_Deploy_RunLint_LintResult = SpawnSyncReturns<string>;
|
|
430
464
|
|
|
431
465
|
/**
|
|
432
466
|
* CLI - Commands - Deploy - Save Env Token.
|
|
433
467
|
*
|
|
434
468
|
* @since 2.0.0
|
|
435
469
|
*/
|
|
436
|
-
export type
|
|
470
|
+
export type Cli_Commands_Deploy_SaveEnvToken_Token = string;
|
|
437
471
|
|
|
438
|
-
export type
|
|
472
|
+
export type Cli_Commands_Deploy_SaveEnvToken_Returns = void;
|
|
439
473
|
|
|
440
|
-
export type
|
|
474
|
+
export type Cli_Commands_Deploy_SaveEnvToken_Content = string;
|
|
441
475
|
|
|
442
|
-
export type
|
|
476
|
+
export type Cli_Commands_Deploy_SaveEnvToken_Regex = RegExp;
|
|
443
477
|
|
|
444
478
|
/**
|
|
445
479
|
* CLI - Commands - Deploy - Setup Email Routing.
|
|
446
480
|
*
|
|
447
481
|
* @since 2.0.0
|
|
448
482
|
*/
|
|
449
|
-
export type
|
|
483
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ConfigPath = string;
|
|
484
|
+
|
|
485
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Token = string;
|
|
450
486
|
|
|
451
|
-
export type
|
|
487
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Returns = Promise<void>;
|
|
452
488
|
|
|
453
|
-
export type
|
|
489
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Contexts = Array<Lib_Schema_ContextConfig>;
|
|
454
490
|
|
|
455
|
-
export type
|
|
491
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_EmailContexts = Array<Lib_Schema_ContextConfig>;
|
|
456
492
|
|
|
457
|
-
export type
|
|
493
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Settings_WorkerName = Lib_Schema_SettingsConfigWorkerName;
|
|
458
494
|
|
|
459
|
-
export type
|
|
495
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Settings_BaseDomain = Lib_Schema_SettingsConfigBaseDomain;
|
|
496
|
+
|
|
497
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Settings_ShowResponseOutput = Lib_Schema_SettingsConfigShowResponseOutput;
|
|
498
|
+
|
|
499
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Settings = {
|
|
500
|
+
worker_name: Cli_Commands_Deploy_SetupEmailRouting_Settings_WorkerName;
|
|
501
|
+
base_domain: Cli_Commands_Deploy_SetupEmailRouting_Settings_BaseDomain;
|
|
502
|
+
show_response_output: Cli_Commands_Deploy_SetupEmailRouting_Settings_ShowResponseOutput;
|
|
503
|
+
};
|
|
460
504
|
|
|
461
|
-
export type
|
|
505
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_WorkerName = string;
|
|
462
506
|
|
|
463
|
-
export type
|
|
507
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoZoneId = string;
|
|
464
508
|
|
|
465
|
-
export type
|
|
509
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoAccountId = string;
|
|
466
510
|
|
|
467
|
-
export type
|
|
511
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoZoneName = string;
|
|
468
512
|
|
|
469
|
-
export type
|
|
470
|
-
zoneId:
|
|
471
|
-
accountId:
|
|
472
|
-
zoneName:
|
|
513
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ZoneInfo = {
|
|
514
|
+
zoneId: Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoZoneId;
|
|
515
|
+
accountId: Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoAccountId;
|
|
516
|
+
zoneName: Cli_Commands_Deploy_SetupEmailRouting_ZoneInfoZoneName;
|
|
473
517
|
};
|
|
474
518
|
|
|
475
|
-
export type
|
|
519
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ZoneId = string;
|
|
476
520
|
|
|
477
|
-
export type
|
|
521
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherType = string;
|
|
478
522
|
|
|
479
|
-
export type
|
|
523
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherField = string;
|
|
480
524
|
|
|
481
|
-
export type
|
|
525
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherValue = string;
|
|
482
526
|
|
|
483
|
-
export type
|
|
484
|
-
type:
|
|
485
|
-
field:
|
|
486
|
-
value:
|
|
527
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleMatcher = {
|
|
528
|
+
type: Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherType;
|
|
529
|
+
field: Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherField;
|
|
530
|
+
value: Cli_Commands_Deploy_SetupEmailRouting_RuleMatcherValue;
|
|
487
531
|
};
|
|
488
532
|
|
|
489
|
-
export type
|
|
533
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleMatchers = Cli_Commands_Deploy_SetupEmailRouting_RuleMatcher[];
|
|
490
534
|
|
|
491
|
-
export type
|
|
535
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleActionType = string;
|
|
492
536
|
|
|
493
|
-
export type
|
|
537
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleActionValue = string[];
|
|
494
538
|
|
|
495
|
-
export type
|
|
496
|
-
type:
|
|
497
|
-
value:
|
|
539
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleAction = {
|
|
540
|
+
type: Cli_Commands_Deploy_SetupEmailRouting_RuleActionType;
|
|
541
|
+
value: Cli_Commands_Deploy_SetupEmailRouting_RuleActionValue;
|
|
498
542
|
};
|
|
499
543
|
|
|
500
|
-
export type
|
|
544
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleActions = Cli_Commands_Deploy_SetupEmailRouting_RuleAction[];
|
|
501
545
|
|
|
502
|
-
export type
|
|
546
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleTag = string;
|
|
503
547
|
|
|
504
|
-
export type
|
|
548
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleName = string;
|
|
505
549
|
|
|
506
|
-
export type
|
|
550
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleEnabled = boolean;
|
|
507
551
|
|
|
508
|
-
export type
|
|
509
|
-
tag:
|
|
510
|
-
name:
|
|
511
|
-
enabled:
|
|
512
|
-
matchers:
|
|
513
|
-
actions:
|
|
552
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Rule = {
|
|
553
|
+
tag: Cli_Commands_Deploy_SetupEmailRouting_RuleTag;
|
|
554
|
+
name: Cli_Commands_Deploy_SetupEmailRouting_RuleName;
|
|
555
|
+
enabled: Cli_Commands_Deploy_SetupEmailRouting_RuleEnabled;
|
|
556
|
+
matchers: Cli_Commands_Deploy_SetupEmailRouting_RuleMatchers;
|
|
557
|
+
actions: Cli_Commands_Deploy_SetupEmailRouting_RuleActions;
|
|
514
558
|
};
|
|
515
559
|
|
|
516
|
-
export type
|
|
560
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_ExistingRules = Cli_Commands_Deploy_SetupEmailRouting_Rule[];
|
|
517
561
|
|
|
518
|
-
export type
|
|
562
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_WorkerRules = Cli_Commands_Deploy_SetupEmailRouting_Rule[];
|
|
519
563
|
|
|
520
|
-
export type
|
|
564
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_DesiredEmails = Set<string>;
|
|
521
565
|
|
|
522
|
-
export type
|
|
566
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Created = number;
|
|
523
567
|
|
|
524
|
-
export type
|
|
568
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Kept = number;
|
|
525
569
|
|
|
526
|
-
export type
|
|
570
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Removed = number;
|
|
527
571
|
|
|
528
|
-
export type
|
|
572
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_Email = string;
|
|
529
573
|
|
|
530
|
-
export type
|
|
574
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleExists = boolean;
|
|
531
575
|
|
|
532
|
-
export type
|
|
576
|
+
export type Cli_Commands_Deploy_SetupEmailRouting_RuleEmail = Cli_Commands_Deploy_SetupEmailRouting_RuleMatcher | undefined;
|
|
533
577
|
|
|
534
578
|
/**
|
|
535
579
|
* CLI - Commands - Deploy - Verify Api Token.
|
|
536
580
|
*
|
|
537
581
|
* @since 2.0.0
|
|
538
582
|
*/
|
|
539
|
-
export type
|
|
583
|
+
export type Cli_Commands_Deploy_VerifyApiToken_Token = string;
|
|
540
584
|
|
|
541
|
-
export type
|
|
585
|
+
export type Cli_Commands_Deploy_VerifyApiToken_Returns = Promise<boolean>;
|
|
542
586
|
|
|
543
|
-
export type
|
|
587
|
+
export type Cli_Commands_Deploy_VerifyApiToken_Response = Response;
|
|
544
588
|
|
|
545
|
-
export type
|
|
589
|
+
export type Cli_Commands_Deploy_VerifyApiToken_DataSuccess = boolean;
|
|
546
590
|
|
|
547
|
-
export type
|
|
548
|
-
success:
|
|
591
|
+
export type Cli_Commands_Deploy_VerifyApiToken_Data = {
|
|
592
|
+
success: Cli_Commands_Deploy_VerifyApiToken_DataSuccess;
|
|
549
593
|
};
|
|
550
594
|
|
|
551
595
|
/**
|
|
@@ -553,70 +597,70 @@ export type CliCommandsDeployVerifyApiTokenData = {
|
|
|
553
597
|
*
|
|
554
598
|
* @since 2.0.0
|
|
555
599
|
*/
|
|
556
|
-
export type
|
|
600
|
+
export type Cli_Commands_Deploy_VerifyPermissions_Token = string;
|
|
557
601
|
|
|
558
|
-
export type
|
|
602
|
+
export type Cli_Commands_Deploy_VerifyPermissions_BaseDomain = string;
|
|
559
603
|
|
|
560
|
-
export type
|
|
604
|
+
export type Cli_Commands_Deploy_VerifyPermissions_HasEmailContexts = boolean;
|
|
561
605
|
|
|
562
|
-
export type
|
|
606
|
+
export type Cli_Commands_Deploy_VerifyPermissions_Interactive = boolean;
|
|
563
607
|
|
|
564
|
-
export type
|
|
608
|
+
export type Cli_Commands_Deploy_VerifyPermissions_Returns = Promise<string>;
|
|
565
609
|
|
|
566
|
-
export type
|
|
610
|
+
export type Cli_Commands_Deploy_VerifyPermissions_ZoneInfoZoneId = string;
|
|
567
611
|
|
|
568
|
-
export type
|
|
612
|
+
export type Cli_Commands_Deploy_VerifyPermissions_ZoneInfoAccountId = string;
|
|
569
613
|
|
|
570
|
-
export type
|
|
614
|
+
export type Cli_Commands_Deploy_VerifyPermissions_ZoneInfoZoneName = string;
|
|
571
615
|
|
|
572
|
-
export type
|
|
573
|
-
zoneId:
|
|
574
|
-
accountId:
|
|
575
|
-
zoneName:
|
|
616
|
+
export type Cli_Commands_Deploy_VerifyPermissions_ZoneInfo = {
|
|
617
|
+
zoneId: Cli_Commands_Deploy_VerifyPermissions_ZoneInfoZoneId;
|
|
618
|
+
accountId: Cli_Commands_Deploy_VerifyPermissions_ZoneInfoAccountId;
|
|
619
|
+
zoneName: Cli_Commands_Deploy_VerifyPermissions_ZoneInfoZoneName;
|
|
576
620
|
};
|
|
577
621
|
|
|
578
|
-
export type
|
|
622
|
+
export type Cli_Commands_Deploy_VerifyPermissions_ZoneId = string;
|
|
579
623
|
|
|
580
|
-
export type
|
|
624
|
+
export type Cli_Commands_Deploy_VerifyPermissions_AccountId = string;
|
|
581
625
|
|
|
582
|
-
export type
|
|
626
|
+
export type Cli_Commands_Deploy_VerifyPermissions_HasWorkersScripts = boolean;
|
|
583
627
|
|
|
584
|
-
export type
|
|
628
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersScriptsResponse = Response;
|
|
585
629
|
|
|
586
|
-
export type
|
|
630
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersScriptsDataSuccess = boolean;
|
|
587
631
|
|
|
588
|
-
export type
|
|
589
|
-
success:
|
|
632
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersScriptsData = {
|
|
633
|
+
success: Cli_Commands_Deploy_VerifyPermissions_WorkersScriptsDataSuccess;
|
|
590
634
|
};
|
|
591
635
|
|
|
592
|
-
export type
|
|
636
|
+
export type Cli_Commands_Deploy_VerifyPermissions_HasWorkersRoutes = boolean;
|
|
593
637
|
|
|
594
|
-
export type
|
|
638
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersRoutesResponse = Response;
|
|
595
639
|
|
|
596
|
-
export type
|
|
640
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersRoutesDataSuccess = boolean;
|
|
597
641
|
|
|
598
|
-
export type
|
|
599
|
-
success:
|
|
642
|
+
export type Cli_Commands_Deploy_VerifyPermissions_WorkersRoutesData = {
|
|
643
|
+
success: Cli_Commands_Deploy_VerifyPermissions_WorkersRoutesDataSuccess;
|
|
600
644
|
};
|
|
601
645
|
|
|
602
|
-
export type
|
|
646
|
+
export type Cli_Commands_Deploy_VerifyPermissions_HasKvStorage = boolean;
|
|
603
647
|
|
|
604
|
-
export type
|
|
648
|
+
export type Cli_Commands_Deploy_VerifyPermissions_KvStorageResponse = Response;
|
|
605
649
|
|
|
606
|
-
export type
|
|
650
|
+
export type Cli_Commands_Deploy_VerifyPermissions_KvStorageDataSuccess = boolean;
|
|
607
651
|
|
|
608
|
-
export type
|
|
609
|
-
success:
|
|
652
|
+
export type Cli_Commands_Deploy_VerifyPermissions_KvStorageData = {
|
|
653
|
+
success: Cli_Commands_Deploy_VerifyPermissions_KvStorageDataSuccess;
|
|
610
654
|
};
|
|
611
655
|
|
|
612
|
-
export type
|
|
656
|
+
export type Cli_Commands_Deploy_VerifyPermissions_HasEmailRouting = boolean;
|
|
613
657
|
|
|
614
|
-
export type
|
|
658
|
+
export type Cli_Commands_Deploy_VerifyPermissions_Missing = string[];
|
|
615
659
|
|
|
616
|
-
export type
|
|
660
|
+
export type Cli_Commands_Deploy_VerifyPermissions_MissingMessage = string;
|
|
617
661
|
|
|
618
|
-
export type
|
|
662
|
+
export type Cli_Commands_Deploy_VerifyPermissions_PromptResultReady = boolean | undefined;
|
|
619
663
|
|
|
620
|
-
export type
|
|
621
|
-
ready:
|
|
664
|
+
export type Cli_Commands_Deploy_VerifyPermissions_PromptResult = {
|
|
665
|
+
ready: Cli_Commands_Deploy_VerifyPermissions_PromptResultReady;
|
|
622
666
|
};
|