@sitepong/fastnode 0.2.1 → 0.2.2
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/dist/actions/index.cjs +43 -18
- package/dist/actions/index.cjs.map +1 -1
- package/dist/actions/index.mjs +43 -18
- package/dist/actions/index.mjs.map +1 -1
- package/dist/cert/index.cjs +17822 -24
- package/dist/cert/index.cjs.map +1 -1
- package/dist/cert/index.d.cts +3 -3
- package/dist/cert/index.d.ts +3 -3
- package/dist/cert/index.mjs +17807 -6
- package/dist/cert/index.mjs.map +1 -1
- package/dist/{cert-e5GAgAPb.d.ts → cert-Ddl7FpFT.d.ts} +1 -1
- package/dist/{cert-uLLdb5a7.d.cts → cert-FehieKeb.d.cts} +1 -1
- package/dist/cli/index.cjs +43 -18
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.mjs +43 -18
- package/dist/cli/index.mjs.map +1 -1
- package/dist/client/index.cjs +37 -0
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.mjs +37 -0
- package/dist/client/index.mjs.map +1 -1
- package/dist/deliver/index.d.cts +2 -2
- package/dist/deliver/index.d.ts +2 -2
- package/dist/{index-CEldrbyz.d.ts → index-B8FOfxOw.d.ts} +1 -1
- package/dist/{index-XsMsVc3O.d.cts → index-B9QeTpQK.d.cts} +1 -1
- package/dist/{index-BgHagzj1.d.cts → index-BICa8odo.d.cts} +1 -1
- package/dist/{index-CdfgEZwh.d.cts → index-BKUapQP2.d.cts} +25 -0
- package/dist/{index-BN0iWhuw.d.cts → index-BZWmOTWE.d.cts} +1 -1
- package/dist/{index-DrCOh0Vh.d.cts → index-Bk1Gd-qE.d.cts} +1 -1
- package/dist/{index-BwwpAlk2.d.ts → index-CCtYhPN9.d.ts} +25 -0
- package/dist/{index-CtydPNxA.d.cts → index-CNHf7I4v.d.cts} +1 -1
- package/dist/{index-BNP7Bpu5.d.ts → index-CplRWSUc.d.ts} +1 -1
- package/dist/{index-EKU_G1G5.d.ts → index-CtPyeMLH.d.ts} +1 -1
- package/dist/{index-Clyf4-lu.d.cts → index-D13sn8DO.d.cts} +1 -1
- package/dist/{index-C2YLoFVl.d.ts → index-DFni8oZt.d.ts} +1 -1
- package/dist/{index-mddpvrRX.d.ts → index-DI1ZHr-3.d.ts} +1 -1
- package/dist/{index-Di4Ic0EE.d.ts → index-DZoPGCbE.d.ts} +3 -3
- package/dist/{index-BjkOUQcQ.d.cts → index-OelCoOth.d.cts} +1 -1
- package/dist/{index-jeI44Q5G.d.ts → index-YcKz4aRS.d.ts} +1 -1
- package/dist/{index-DHxi-QPC.d.cts → index-oVyLLIEK.d.cts} +3 -3
- package/dist/{index-BbY_H_f6.d.ts → index-xykpq6Lz.d.ts} +1 -1
- package/dist/index.cjs +18134 -238
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -19
- package/dist/index.d.ts +52 -19
- package/dist/index.mjs +18134 -237
- package/dist/index.mjs.map +1 -1
- package/dist/lane/index.cjs +43 -18
- package/dist/lane/index.cjs.map +1 -1
- package/dist/lane/index.mjs +43 -18
- package/dist/lane/index.mjs.map +1 -1
- package/dist/match/index.d.cts +4 -4
- package/dist/match/index.d.ts +4 -4
- package/dist/pem/index.d.cts +2 -2
- package/dist/pem/index.d.ts +2 -2
- package/dist/pilot/index.d.cts +2 -2
- package/dist/pilot/index.d.ts +2 -2
- package/dist/precheck/index.d.cts +2 -2
- package/dist/precheck/index.d.ts +2 -2
- package/dist/produce/index.cjs +6 -18
- package/dist/produce/index.cjs.map +1 -1
- package/dist/produce/index.d.cts +2 -2
- package/dist/produce/index.d.ts +2 -2
- package/dist/produce/index.mjs +6 -18
- package/dist/produce/index.mjs.map +1 -1
- package/dist/sigh/index.d.cts +2 -2
- package/dist/sigh/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A as AppleSession } from './index-
|
|
2
|
-
export { j as App, K as AppScreenshot, M as AppScreenshotSet, I as AppScreenshotsResource, a as AppStoreConnectClient, d as AppStoreConnectConfig, b as AppStoreConnectError, G as AppStoreVersion, H as AppStoreVersionLocalization, Q as AppStoreVersionSubmission, F as AppStoreVersionsResource, x as AppsResource, m as BetaBuildLocalization, l as BetaGroup, z as BetaGroupsResource, k as Build, n as BuildBetaDetail, y as BuildsResource, B as BundleId, p as BundleIdCapability, v as BundleIdsResource, E as CapabilitiesResource, s as CapabilityOption, r as CapabilitySetting, q as CapabilitySettingInput, C as Certificate, t as CertificatesResource, D as Device, w as DevicesResource, i as JsonApiError, h as JsonApiListResponse, J as JsonApiResource, g as JsonApiResponse, L as ListParams, o as PreReleaseVersion, P as Profile, u as ProfilesResource, c as RateLimitError, R as RequestClient, f as RequestOptions, O as ReviewSubmission, N as ReviewSubmissionsResource, e as TokenConfig, T as TokenManager, U as UploadOperation } from './index-
|
|
1
|
+
import { A as AppleSession } from './index-BKUapQP2.cjs';
|
|
2
|
+
export { j as App, K as AppScreenshot, M as AppScreenshotSet, I as AppScreenshotsResource, a as AppStoreConnectClient, d as AppStoreConnectConfig, b as AppStoreConnectError, G as AppStoreVersion, H as AppStoreVersionLocalization, Q as AppStoreVersionSubmission, F as AppStoreVersionsResource, x as AppsResource, m as BetaBuildLocalization, l as BetaGroup, z as BetaGroupsResource, k as Build, n as BuildBetaDetail, y as BuildsResource, B as BundleId, p as BundleIdCapability, v as BundleIdsResource, E as CapabilitiesResource, s as CapabilityOption, r as CapabilitySetting, q as CapabilitySettingInput, C as Certificate, t as CertificatesResource, D as Device, w as DevicesResource, i as JsonApiError, h as JsonApiListResponse, J as JsonApiResource, g as JsonApiResponse, L as ListParams, o as PreReleaseVersion, P as Profile, u as ProfilesResource, c as RateLimitError, R as RequestClient, f as RequestOptions, O as ReviewSubmission, N as ReviewSubmissionsResource, e as TokenConfig, T as TokenManager, U as UploadOperation } from './index-BKUapQP2.cjs';
|
|
3
3
|
export { A as AppStoreVersionState, i as BetaReviewState, h as BuildProcessingState, B as BundleIdPlatform, f as CapabilityOptionKey, e as CapabilitySettingsKey, d as CapabilityType, C as CertificateType, g as ContentRightsDeclaration, D as DeviceClass, c as DeviceStatus, E as ExportMethod, b as Platform, a as ProfileState, P as ProfileType, R as ReleaseType } from './enums-B609j2rb.cjs';
|
|
4
|
-
export { i as cert } from './index-
|
|
5
|
-
export { i as sigh } from './index-
|
|
6
|
-
export { i as match } from './index-
|
|
7
|
-
export { i as produce } from './index-
|
|
8
|
-
export { i as pilot } from './index-
|
|
9
|
-
export { i as deliver } from './index-
|
|
10
|
-
export { i as pem } from './index-
|
|
4
|
+
export { i as cert } from './index-CNHf7I4v.cjs';
|
|
5
|
+
export { i as sigh } from './index-BZWmOTWE.cjs';
|
|
6
|
+
export { i as match } from './index-oVyLLIEK.cjs';
|
|
7
|
+
export { i as produce } from './index-OelCoOth.cjs';
|
|
8
|
+
export { i as pilot } from './index-BICa8odo.cjs';
|
|
9
|
+
export { i as deliver } from './index-B9QeTpQK.cjs';
|
|
10
|
+
export { i as pem } from './index-Bk1Gd-qE.cjs';
|
|
11
11
|
export { i as gym } from './index-DrUpRXRG.cjs';
|
|
12
12
|
export { i as scan } from './index-BimqCmY8.cjs';
|
|
13
13
|
export { i as snapshot } from './index-CR3BFPIz.cjs';
|
|
14
14
|
export { i as trainer } from './index-BoU8qt8r.cjs';
|
|
15
|
-
export { i as precheck } from './index-
|
|
15
|
+
export { i as precheck } from './index-D13sn8DO.cjs';
|
|
16
16
|
export { i as frameit } from './index-BYonklf3.cjs';
|
|
17
17
|
export { i as xcode } from './index-Cp6cjtd-.cjs';
|
|
18
18
|
export { i as core } from './index-C2yG3wXA.cjs';
|
|
@@ -20,29 +20,27 @@ export { LaneCallback, LaneDefinition, RunLaneOptions, RunResult, afterAll, afte
|
|
|
20
20
|
export { L as LaneContext } from './context-CymLkfrS.cjs';
|
|
21
21
|
export { ActionDefinition, action, ensureActionsRegistered, getAction, listActions, registerAction } from './actions/index.cjs';
|
|
22
22
|
export { createCli } from './cli/index.cjs';
|
|
23
|
-
import './cert-
|
|
23
|
+
import './cert-FehieKeb.cjs';
|
|
24
24
|
import 'commander';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* One-click Apple Developer setup — given an authenticated portal session,
|
|
28
28
|
* provisions everything needed to code-sign and upload iOS builds:
|
|
29
29
|
*
|
|
30
|
-
* • Bundle ID (created or reused)
|
|
30
|
+
* • Bundle ID (Developer Portal App ID, created or reused)
|
|
31
31
|
* • Distribution certificate + RSA private key bundled into a .p12
|
|
32
32
|
* • App Store provisioning profile
|
|
33
|
-
* •
|
|
34
|
-
* •
|
|
33
|
+
* • App Store Connect API key (.p8) for TestFlight uploads
|
|
34
|
+
* • APNs Authentication Key (.p8) for push notifications
|
|
35
|
+
* • Push / Sign in with Apple capabilities on the bundle
|
|
36
|
+
* • App Store Connect app record (the "My Apps" entry uploads need)
|
|
37
|
+
* • Optional legacy APNs Production / Sandbox push certificates (.p12)
|
|
35
38
|
* • Optional revocation of existing distribution certificates first
|
|
36
39
|
* (used when the team is at the 3-cert distribution limit)
|
|
37
40
|
*
|
|
38
41
|
* Returns values shaped to match the `apple_credentials` form in the
|
|
39
42
|
* App Release product so an HTTP route or the in-page wizard can pre-fill
|
|
40
43
|
* the existing form fields.
|
|
41
|
-
*
|
|
42
|
-
* Three fields are intentionally left empty (asc_key_id, asc_issuer_id,
|
|
43
|
-
* asc_api_key_base64) — the App Store Connect API key still needs to be
|
|
44
|
-
* uploaded manually. Auto-creating ASC API keys via the iris admin API
|
|
45
|
-
* is a separate stretch goal.
|
|
46
44
|
*/
|
|
47
45
|
|
|
48
46
|
interface OneClickInventory {
|
|
@@ -54,6 +52,7 @@ interface OneClickInventory {
|
|
|
54
52
|
appIdId: string;
|
|
55
53
|
identifier: string;
|
|
56
54
|
name: string;
|
|
55
|
+
capabilities?: string[];
|
|
57
56
|
}[];
|
|
58
57
|
/** Active distribution certs. Apple caps a team at 3. */
|
|
59
58
|
distributionCerts: {
|
|
@@ -135,6 +134,20 @@ interface OneClickOptions {
|
|
|
135
134
|
enableSignInWithApple?: boolean;
|
|
136
135
|
/** Enable Push Notifications capability on the bundle ID. Default true. */
|
|
137
136
|
enablePushNotifications?: boolean;
|
|
137
|
+
/** Enable Apple Pay capability on the bundle ID. Default false. Required for Stripe. */
|
|
138
|
+
enableApplePay?: boolean;
|
|
139
|
+
/** Merchant ID to register for Apple Pay (e.g. "merchant.com.example.app"). Required when enableApplePay is true. */
|
|
140
|
+
merchantId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Create the App Store Connect **app record** (the "My Apps" entry that
|
|
143
|
+
* TestFlight and App Store uploads require). Default true. Distinct
|
|
144
|
+
* from registering the bundle id in the Developer Portal — you need
|
|
145
|
+
* both. Requires an ASC API key to be created (step 7) since the call
|
|
146
|
+
* goes through the JWT-authenticated REST API. Non-fatal — if the app
|
|
147
|
+
* record can't be created (or already exists), the orchestrator
|
|
148
|
+
* records a warning and continues.
|
|
149
|
+
*/
|
|
150
|
+
createAscAppRecord?: boolean;
|
|
138
151
|
/** Distribution cert IDs to revoke before creating the new one (for the 3-cert limit). */
|
|
139
152
|
revokeCertIds?: string[];
|
|
140
153
|
/** APNs auth key IDs to revoke before creating the new one (Apple caps APNs keys at 2/team). */
|
|
@@ -148,6 +161,18 @@ interface OneClickInput {
|
|
|
148
161
|
options?: OneClickOptions;
|
|
149
162
|
/** Defaults to a random 32-char password. Override for deterministic tests. */
|
|
150
163
|
certPassword?: string;
|
|
164
|
+
/**
|
|
165
|
+
* SKU for the App Store Connect app record. Arbitrary unique string
|
|
166
|
+
* Apple uses internally. Defaults to `<bundle_identifier>.<timestamp>`
|
|
167
|
+
* which is good enough for most automated flows.
|
|
168
|
+
*/
|
|
169
|
+
sku?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Primary locale for the App Store Connect app record. Defaults to
|
|
172
|
+
* `en-US`. Changing this after creation requires a support ticket so
|
|
173
|
+
* err on the side of sensible defaults.
|
|
174
|
+
*/
|
|
175
|
+
primaryLocale?: string;
|
|
151
176
|
/**
|
|
152
177
|
* Structured progress callback invoked at every step transition. The
|
|
153
178
|
* wizard UI uses this to render a live list of "in progress / done /
|
|
@@ -192,6 +217,13 @@ interface OneClickResult {
|
|
|
192
217
|
asc_key_id: string;
|
|
193
218
|
asc_issuer_id: string;
|
|
194
219
|
asc_api_key_base64: string;
|
|
220
|
+
/**
|
|
221
|
+
* App Store Connect app-record id, populated when the record was
|
|
222
|
+
* created fresh OR already existed and we reused it. Empty string
|
|
223
|
+
* when creation was skipped or failed — check `warnings` for the
|
|
224
|
+
* reason in that case.
|
|
225
|
+
*/
|
|
226
|
+
asc_app_id: string;
|
|
195
227
|
/** Additional certs to write to apple_credential_certs after credential is created. */
|
|
196
228
|
additional_certs: AdditionalCertResult[];
|
|
197
229
|
/** IDs of resources created (for debugging / rollback) */
|
|
@@ -202,6 +234,7 @@ interface OneClickResult {
|
|
|
202
234
|
profileUuid?: string;
|
|
203
235
|
apnsAuthKeyId?: string;
|
|
204
236
|
ascApiKeyId?: string;
|
|
237
|
+
ascAppId?: string;
|
|
205
238
|
revokedCertIds: string[];
|
|
206
239
|
};
|
|
207
240
|
/** Non-fatal issues — e.g. "used existing bundle id" */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A as AppleSession } from './index-
|
|
2
|
-
export { j as App, K as AppScreenshot, M as AppScreenshotSet, I as AppScreenshotsResource, a as AppStoreConnectClient, d as AppStoreConnectConfig, b as AppStoreConnectError, G as AppStoreVersion, H as AppStoreVersionLocalization, Q as AppStoreVersionSubmission, F as AppStoreVersionsResource, x as AppsResource, m as BetaBuildLocalization, l as BetaGroup, z as BetaGroupsResource, k as Build, n as BuildBetaDetail, y as BuildsResource, B as BundleId, p as BundleIdCapability, v as BundleIdsResource, E as CapabilitiesResource, s as CapabilityOption, r as CapabilitySetting, q as CapabilitySettingInput, C as Certificate, t as CertificatesResource, D as Device, w as DevicesResource, i as JsonApiError, h as JsonApiListResponse, J as JsonApiResource, g as JsonApiResponse, L as ListParams, o as PreReleaseVersion, P as Profile, u as ProfilesResource, c as RateLimitError, R as RequestClient, f as RequestOptions, O as ReviewSubmission, N as ReviewSubmissionsResource, e as TokenConfig, T as TokenManager, U as UploadOperation } from './index-
|
|
1
|
+
import { A as AppleSession } from './index-CCtYhPN9.js';
|
|
2
|
+
export { j as App, K as AppScreenshot, M as AppScreenshotSet, I as AppScreenshotsResource, a as AppStoreConnectClient, d as AppStoreConnectConfig, b as AppStoreConnectError, G as AppStoreVersion, H as AppStoreVersionLocalization, Q as AppStoreVersionSubmission, F as AppStoreVersionsResource, x as AppsResource, m as BetaBuildLocalization, l as BetaGroup, z as BetaGroupsResource, k as Build, n as BuildBetaDetail, y as BuildsResource, B as BundleId, p as BundleIdCapability, v as BundleIdsResource, E as CapabilitiesResource, s as CapabilityOption, r as CapabilitySetting, q as CapabilitySettingInput, C as Certificate, t as CertificatesResource, D as Device, w as DevicesResource, i as JsonApiError, h as JsonApiListResponse, J as JsonApiResource, g as JsonApiResponse, L as ListParams, o as PreReleaseVersion, P as Profile, u as ProfilesResource, c as RateLimitError, R as RequestClient, f as RequestOptions, O as ReviewSubmission, N as ReviewSubmissionsResource, e as TokenConfig, T as TokenManager, U as UploadOperation } from './index-CCtYhPN9.js';
|
|
3
3
|
export { A as AppStoreVersionState, i as BetaReviewState, h as BuildProcessingState, B as BundleIdPlatform, f as CapabilityOptionKey, e as CapabilitySettingsKey, d as CapabilityType, C as CertificateType, g as ContentRightsDeclaration, D as DeviceClass, c as DeviceStatus, E as ExportMethod, b as Platform, a as ProfileState, P as ProfileType, R as ReleaseType } from './enums-B609j2rb.js';
|
|
4
|
-
export { i as cert } from './index-
|
|
5
|
-
export { i as sigh } from './index-
|
|
6
|
-
export { i as match } from './index-
|
|
7
|
-
export { i as produce } from './index-
|
|
8
|
-
export { i as pilot } from './index-
|
|
9
|
-
export { i as deliver } from './index-
|
|
10
|
-
export { i as pem } from './index-
|
|
4
|
+
export { i as cert } from './index-CplRWSUc.js';
|
|
5
|
+
export { i as sigh } from './index-B8FOfxOw.js';
|
|
6
|
+
export { i as match } from './index-DZoPGCbE.js';
|
|
7
|
+
export { i as produce } from './index-CtPyeMLH.js';
|
|
8
|
+
export { i as pilot } from './index-DI1ZHr-3.js';
|
|
9
|
+
export { i as deliver } from './index-xykpq6Lz.js';
|
|
10
|
+
export { i as pem } from './index-DFni8oZt.js';
|
|
11
11
|
export { i as gym } from './index-DImN9PWc.js';
|
|
12
12
|
export { i as scan } from './index-BimqCmY8.js';
|
|
13
13
|
export { i as snapshot } from './index-CR3BFPIz.js';
|
|
14
14
|
export { i as trainer } from './index-BoU8qt8r.js';
|
|
15
|
-
export { i as precheck } from './index-
|
|
15
|
+
export { i as precheck } from './index-YcKz4aRS.js';
|
|
16
16
|
export { i as frameit } from './index-BYonklf3.js';
|
|
17
17
|
export { i as xcode } from './index-Cp6cjtd-.js';
|
|
18
18
|
export { i as core } from './index-C2yG3wXA.js';
|
|
@@ -20,29 +20,27 @@ export { LaneCallback, LaneDefinition, RunLaneOptions, RunResult, afterAll, afte
|
|
|
20
20
|
export { L as LaneContext } from './context-CymLkfrS.js';
|
|
21
21
|
export { ActionDefinition, action, ensureActionsRegistered, getAction, listActions, registerAction } from './actions/index.js';
|
|
22
22
|
export { createCli } from './cli/index.js';
|
|
23
|
-
import './cert-
|
|
23
|
+
import './cert-Ddl7FpFT.js';
|
|
24
24
|
import 'commander';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* One-click Apple Developer setup — given an authenticated portal session,
|
|
28
28
|
* provisions everything needed to code-sign and upload iOS builds:
|
|
29
29
|
*
|
|
30
|
-
* • Bundle ID (created or reused)
|
|
30
|
+
* • Bundle ID (Developer Portal App ID, created or reused)
|
|
31
31
|
* • Distribution certificate + RSA private key bundled into a .p12
|
|
32
32
|
* • App Store provisioning profile
|
|
33
|
-
* •
|
|
34
|
-
* •
|
|
33
|
+
* • App Store Connect API key (.p8) for TestFlight uploads
|
|
34
|
+
* • APNs Authentication Key (.p8) for push notifications
|
|
35
|
+
* • Push / Sign in with Apple capabilities on the bundle
|
|
36
|
+
* • App Store Connect app record (the "My Apps" entry uploads need)
|
|
37
|
+
* • Optional legacy APNs Production / Sandbox push certificates (.p12)
|
|
35
38
|
* • Optional revocation of existing distribution certificates first
|
|
36
39
|
* (used when the team is at the 3-cert distribution limit)
|
|
37
40
|
*
|
|
38
41
|
* Returns values shaped to match the `apple_credentials` form in the
|
|
39
42
|
* App Release product so an HTTP route or the in-page wizard can pre-fill
|
|
40
43
|
* the existing form fields.
|
|
41
|
-
*
|
|
42
|
-
* Three fields are intentionally left empty (asc_key_id, asc_issuer_id,
|
|
43
|
-
* asc_api_key_base64) — the App Store Connect API key still needs to be
|
|
44
|
-
* uploaded manually. Auto-creating ASC API keys via the iris admin API
|
|
45
|
-
* is a separate stretch goal.
|
|
46
44
|
*/
|
|
47
45
|
|
|
48
46
|
interface OneClickInventory {
|
|
@@ -54,6 +52,7 @@ interface OneClickInventory {
|
|
|
54
52
|
appIdId: string;
|
|
55
53
|
identifier: string;
|
|
56
54
|
name: string;
|
|
55
|
+
capabilities?: string[];
|
|
57
56
|
}[];
|
|
58
57
|
/** Active distribution certs. Apple caps a team at 3. */
|
|
59
58
|
distributionCerts: {
|
|
@@ -135,6 +134,20 @@ interface OneClickOptions {
|
|
|
135
134
|
enableSignInWithApple?: boolean;
|
|
136
135
|
/** Enable Push Notifications capability on the bundle ID. Default true. */
|
|
137
136
|
enablePushNotifications?: boolean;
|
|
137
|
+
/** Enable Apple Pay capability on the bundle ID. Default false. Required for Stripe. */
|
|
138
|
+
enableApplePay?: boolean;
|
|
139
|
+
/** Merchant ID to register for Apple Pay (e.g. "merchant.com.example.app"). Required when enableApplePay is true. */
|
|
140
|
+
merchantId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* Create the App Store Connect **app record** (the "My Apps" entry that
|
|
143
|
+
* TestFlight and App Store uploads require). Default true. Distinct
|
|
144
|
+
* from registering the bundle id in the Developer Portal — you need
|
|
145
|
+
* both. Requires an ASC API key to be created (step 7) since the call
|
|
146
|
+
* goes through the JWT-authenticated REST API. Non-fatal — if the app
|
|
147
|
+
* record can't be created (or already exists), the orchestrator
|
|
148
|
+
* records a warning and continues.
|
|
149
|
+
*/
|
|
150
|
+
createAscAppRecord?: boolean;
|
|
138
151
|
/** Distribution cert IDs to revoke before creating the new one (for the 3-cert limit). */
|
|
139
152
|
revokeCertIds?: string[];
|
|
140
153
|
/** APNs auth key IDs to revoke before creating the new one (Apple caps APNs keys at 2/team). */
|
|
@@ -148,6 +161,18 @@ interface OneClickInput {
|
|
|
148
161
|
options?: OneClickOptions;
|
|
149
162
|
/** Defaults to a random 32-char password. Override for deterministic tests. */
|
|
150
163
|
certPassword?: string;
|
|
164
|
+
/**
|
|
165
|
+
* SKU for the App Store Connect app record. Arbitrary unique string
|
|
166
|
+
* Apple uses internally. Defaults to `<bundle_identifier>.<timestamp>`
|
|
167
|
+
* which is good enough for most automated flows.
|
|
168
|
+
*/
|
|
169
|
+
sku?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Primary locale for the App Store Connect app record. Defaults to
|
|
172
|
+
* `en-US`. Changing this after creation requires a support ticket so
|
|
173
|
+
* err on the side of sensible defaults.
|
|
174
|
+
*/
|
|
175
|
+
primaryLocale?: string;
|
|
151
176
|
/**
|
|
152
177
|
* Structured progress callback invoked at every step transition. The
|
|
153
178
|
* wizard UI uses this to render a live list of "in progress / done /
|
|
@@ -192,6 +217,13 @@ interface OneClickResult {
|
|
|
192
217
|
asc_key_id: string;
|
|
193
218
|
asc_issuer_id: string;
|
|
194
219
|
asc_api_key_base64: string;
|
|
220
|
+
/**
|
|
221
|
+
* App Store Connect app-record id, populated when the record was
|
|
222
|
+
* created fresh OR already existed and we reused it. Empty string
|
|
223
|
+
* when creation was skipped or failed — check `warnings` for the
|
|
224
|
+
* reason in that case.
|
|
225
|
+
*/
|
|
226
|
+
asc_app_id: string;
|
|
195
227
|
/** Additional certs to write to apple_credential_certs after credential is created. */
|
|
196
228
|
additional_certs: AdditionalCertResult[];
|
|
197
229
|
/** IDs of resources created (for debugging / rollback) */
|
|
@@ -202,6 +234,7 @@ interface OneClickResult {
|
|
|
202
234
|
profileUuid?: string;
|
|
203
235
|
apnsAuthKeyId?: string;
|
|
204
236
|
ascApiKeyId?: string;
|
|
237
|
+
ascAppId?: string;
|
|
205
238
|
revokedCertIds: string[];
|
|
206
239
|
};
|
|
207
240
|
/** Non-fatal issues — e.g. "used existing bundle id" */
|