@expo/apple-utils 1.8.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/apple-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"main": "build",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/fs-extra": "^9.0.1",
|
|
30
|
-
"@types/jest": "^26.0.14",
|
|
31
30
|
"@types/prompts": "^2.0.6",
|
|
32
31
|
"@types/terser": "^3.12.0",
|
|
33
32
|
"@vercel/ncc": "^0.36.1",
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference types="prompts" />
|
|
2
|
-
/// <reference types="node-forge" />
|
|
3
|
-
/// <reference types="node" />
|
|
4
1
|
declare module "network/CSRF" {
|
|
5
2
|
import { AxiosResponse } from 'axios';
|
|
6
3
|
type CSRFTokens = Record<string, string>;
|
|
@@ -559,6 +556,60 @@ declare module "auth/Hashcash" {
|
|
|
559
556
|
}): string;
|
|
560
557
|
export function mostSignificantBitFirst(s: string): string;
|
|
561
558
|
}
|
|
559
|
+
declare module "auth/RemoteSecurePassword" {
|
|
560
|
+
import { Srp, Client as SrpClient } from '@foxt/js-srp';
|
|
561
|
+
export type AppleSrpClient = Awaited<ReturnType<typeof createAppleSrpClientAsync>>;
|
|
562
|
+
type AppleSrpClientOptions = {
|
|
563
|
+
username: string;
|
|
564
|
+
password: string;
|
|
565
|
+
};
|
|
566
|
+
export type AppleSrpProtocol = 's2k' | 's2k_fo';
|
|
567
|
+
/**
|
|
568
|
+
* Create an Apple Remote Secure Password validator.
|
|
569
|
+
* This helps ingesting and generating the right challanges for both:
|
|
570
|
+
* - POST /appleauth/auth/signin/init
|
|
571
|
+
* - POST /appleauth/auth/signin/complete
|
|
572
|
+
*
|
|
573
|
+
* This is adopted from: https://github.com/steilerDev/icloud-photos-sync/blob/f26620dd3a8d5d66f283342656735d8ad60b3eb7/app/src/lib/icloud/icloud.crypto.ts#L47-L92
|
|
574
|
+
*/
|
|
575
|
+
export function createAppleSrpClientAsync({ username, password }: AppleSrpClientOptions): Promise<{
|
|
576
|
+
/** The email address of the Apple account */
|
|
577
|
+
accountName: string;
|
|
578
|
+
/** The supported authentication protocols */
|
|
579
|
+
protocols: string[];
|
|
580
|
+
/** The client ephemeral public value or key, used to start the signin process */
|
|
581
|
+
clientPublicValue: string;
|
|
582
|
+
/** Calculate the password proof needed to authenticate with Apple */
|
|
583
|
+
calculateProof(options: Pick<AppleRspDerivePasswordOptions, "protocol" | "salt" | "iterations"> & Pick<AppleRspGenerateProofOptions, "serverPublicValue">): Promise<{
|
|
584
|
+
m1: string;
|
|
585
|
+
m2: string;
|
|
586
|
+
}>;
|
|
587
|
+
}>;
|
|
588
|
+
type AppleRspDerivePasswordOptions = {
|
|
589
|
+
/** The Secure Remote Password (RSP) client instance */
|
|
590
|
+
srp: Srp;
|
|
591
|
+
/** The protocol to use for hashing the password */
|
|
592
|
+
protocol: AppleSrpProtocol;
|
|
593
|
+
/** The salt value to use for password hashing as a base64 string, received from Apple */
|
|
594
|
+
salt: string;
|
|
595
|
+
/** Number of iterations to use for key derivation, received from Apple */
|
|
596
|
+
iterations: number;
|
|
597
|
+
/** The password of the Apple account, received from the user */
|
|
598
|
+
password: string;
|
|
599
|
+
};
|
|
600
|
+
/** This function will use the PBKDF2 algorithm to derive the password key */
|
|
601
|
+
function derivePassword({ srp, protocol, salt, iterations, password, }: AppleRspDerivePasswordOptions): Promise<Uint8Array>;
|
|
602
|
+
type AppleRspGenerateProofOptions = {
|
|
603
|
+
/** The Secure Remote Password (RSP) client instance */
|
|
604
|
+
srpClient: SrpClient;
|
|
605
|
+
/** The PBKDF2 hashed password */
|
|
606
|
+
derivedPassword: Awaited<ReturnType<typeof derivePassword>>;
|
|
607
|
+
/** The public value shared by the server as base64 encoded string, received from Apple */
|
|
608
|
+
serverPublicValue: string;
|
|
609
|
+
/** The salt value to use for password hashing as base64 string, received from Apple */
|
|
610
|
+
salt: string;
|
|
611
|
+
};
|
|
612
|
+
}
|
|
562
613
|
declare module "auth/ServiceKey" {
|
|
563
614
|
export interface ItunesServiceKey {
|
|
564
615
|
authServiceUrl: string;
|
|
@@ -1271,7 +1322,7 @@ declare module "connect/models/User" {
|
|
|
1271
1322
|
roles: UserRole | (UserRole | null)[] | null;
|
|
1272
1323
|
visibleApps: string | string[];
|
|
1273
1324
|
} & {
|
|
1274
|
-
id?: string
|
|
1325
|
+
id?: string;
|
|
1275
1326
|
}>> | undefined;
|
|
1276
1327
|
} | undefined) => Promise<User[]>;
|
|
1277
1328
|
/**
|
|
@@ -1280,7 +1331,7 @@ declare module "connect/models/User" {
|
|
|
1280
1331
|
*/
|
|
1281
1332
|
static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
1282
1333
|
id: string;
|
|
1283
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1334
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1284
1335
|
}) => Promise<User>;
|
|
1285
1336
|
static deleteAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
1286
1337
|
id: string;
|
|
@@ -1349,7 +1400,7 @@ declare module "connect/models/ApiKey" {
|
|
|
1349
1400
|
} | undefined) => Promise<ApiKey[]>;
|
|
1350
1401
|
static infoAsync: (context: RequestContext, props: {
|
|
1351
1402
|
id: string;
|
|
1352
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1403
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1353
1404
|
}) => Promise<ApiKey>;
|
|
1354
1405
|
static createAsync(context: RequestContext, attributes: Pick<ApiKeyProps, 'nickname' | 'roles' | 'allAppsVisible' | 'keyType'>): Promise<ApiKey>;
|
|
1355
1406
|
/**
|
|
@@ -1585,7 +1636,7 @@ declare module "connect/models/CapabilityConnectModel" {
|
|
|
1585
1636
|
name: Props["name"] | Props["name"][];
|
|
1586
1637
|
identifier: Props["identifier"] | Props["identifier"][];
|
|
1587
1638
|
} & {
|
|
1588
|
-
id?: string
|
|
1639
|
+
id?: string;
|
|
1589
1640
|
}>> | undefined;
|
|
1590
1641
|
} | undefined) => Promise<(ConnectModel<Props> & {
|
|
1591
1642
|
deleteAsync(): Promise<void>;
|
|
@@ -1600,7 +1651,7 @@ declare module "connect/models/CapabilityConnectModel" {
|
|
|
1600
1651
|
*/
|
|
1601
1652
|
infoAsync: (context: RequestContext, props: {
|
|
1602
1653
|
id: string;
|
|
1603
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1654
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1604
1655
|
}) => Promise<ConnectModel<Props> & {
|
|
1605
1656
|
deleteAsync(): Promise<void>;
|
|
1606
1657
|
context: RequestContext;
|
|
@@ -1616,15 +1667,9 @@ declare module "connect/models/CapabilityConnectModel" {
|
|
|
1616
1667
|
* @returns
|
|
1617
1668
|
*/
|
|
1618
1669
|
createAsync(context: RequestContext, { name, identifier, }: {
|
|
1619
|
-
name?:
|
|
1620
|
-
identifier: CapabilityConnectModelProps[
|
|
1621
|
-
}): Promise<ConnectModel<Props> &
|
|
1622
|
-
deleteAsync(): Promise<void>;
|
|
1623
|
-
context: RequestContext;
|
|
1624
|
-
id: string;
|
|
1625
|
-
attributes: Props;
|
|
1626
|
-
updateAttributes(attributes: Partial<Props>): void;
|
|
1627
|
-
}>;
|
|
1670
|
+
name?: CapabilityConnectModelProps["name"];
|
|
1671
|
+
identifier: CapabilityConnectModelProps["identifier"];
|
|
1672
|
+
}): Promise<ConnectModel<Props> & InstanceType<any>>;
|
|
1628
1673
|
deleteAsync: (context: RequestContext, props: {
|
|
1629
1674
|
id: string;
|
|
1630
1675
|
}) => Promise<void>;
|
|
@@ -1653,7 +1698,7 @@ declare module "connect/models/AppGroup" {
|
|
|
1653
1698
|
name: string | string[];
|
|
1654
1699
|
identifier: string | string[];
|
|
1655
1700
|
} & {
|
|
1656
|
-
id?: string
|
|
1701
|
+
id?: string;
|
|
1657
1702
|
}>> | undefined;
|
|
1658
1703
|
} | undefined) => Promise<(import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1659
1704
|
deleteAsync(): Promise<void>;
|
|
@@ -1664,7 +1709,7 @@ declare module "connect/models/AppGroup" {
|
|
|
1664
1709
|
})[]>;
|
|
1665
1710
|
infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
1666
1711
|
id: string;
|
|
1667
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1712
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1668
1713
|
}) => Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1669
1714
|
deleteAsync(): Promise<void>;
|
|
1670
1715
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1673,8 +1718,8 @@ declare module "connect/models/AppGroup" {
|
|
|
1673
1718
|
updateAttributes(attributes: Partial<CapabilityConnectModelProps>): void;
|
|
1674
1719
|
}>;
|
|
1675
1720
|
createAsync(context: import("AppStoreConnect").RequestContext, { name, identifier, }: {
|
|
1676
|
-
name?:
|
|
1677
|
-
identifier:
|
|
1721
|
+
name?: CapabilityConnectModelProps["name"];
|
|
1722
|
+
identifier: CapabilityConnectModelProps["identifier"];
|
|
1678
1723
|
}): Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1679
1724
|
deleteAsync(): Promise<void>;
|
|
1680
1725
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1707,7 +1752,7 @@ declare module "connect/models/CloudContainer" {
|
|
|
1707
1752
|
name: string | string[];
|
|
1708
1753
|
identifier: string | string[];
|
|
1709
1754
|
} & {
|
|
1710
|
-
id?: string
|
|
1755
|
+
id?: string;
|
|
1711
1756
|
}>> | undefined;
|
|
1712
1757
|
} | undefined) => Promise<(import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1713
1758
|
deleteAsync(): Promise<void>;
|
|
@@ -1718,7 +1763,7 @@ declare module "connect/models/CloudContainer" {
|
|
|
1718
1763
|
})[]>;
|
|
1719
1764
|
infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
1720
1765
|
id: string;
|
|
1721
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1766
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1722
1767
|
}) => Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1723
1768
|
deleteAsync(): Promise<void>;
|
|
1724
1769
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1727,8 +1772,8 @@ declare module "connect/models/CloudContainer" {
|
|
|
1727
1772
|
updateAttributes(attributes: Partial<CapabilityConnectModelProps>): void;
|
|
1728
1773
|
}>;
|
|
1729
1774
|
createAsync(context: import("AppStoreConnect").RequestContext, { name, identifier, }: {
|
|
1730
|
-
name?:
|
|
1731
|
-
identifier:
|
|
1775
|
+
name?: CapabilityConnectModelProps["name"];
|
|
1776
|
+
identifier: CapabilityConnectModelProps["identifier"];
|
|
1732
1777
|
}): Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1733
1778
|
deleteAsync(): Promise<void>;
|
|
1734
1779
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1761,7 +1806,7 @@ declare module "connect/models/MerchantId" {
|
|
|
1761
1806
|
name: string | string[];
|
|
1762
1807
|
identifier: string | string[];
|
|
1763
1808
|
} & {
|
|
1764
|
-
id?: string
|
|
1809
|
+
id?: string;
|
|
1765
1810
|
}>> | undefined;
|
|
1766
1811
|
} | undefined) => Promise<(import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1767
1812
|
deleteAsync(): Promise<void>;
|
|
@@ -1772,7 +1817,7 @@ declare module "connect/models/MerchantId" {
|
|
|
1772
1817
|
})[]>;
|
|
1773
1818
|
infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
1774
1819
|
id: string;
|
|
1775
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
1820
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
1776
1821
|
}) => Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1777
1822
|
deleteAsync(): Promise<void>;
|
|
1778
1823
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1781,8 +1826,8 @@ declare module "connect/models/MerchantId" {
|
|
|
1781
1826
|
updateAttributes(attributes: Partial<CapabilityConnectModelProps>): void;
|
|
1782
1827
|
}>;
|
|
1783
1828
|
createAsync(context: import("AppStoreConnect").RequestContext, { name, identifier, }: {
|
|
1784
|
-
name?:
|
|
1785
|
-
identifier:
|
|
1829
|
+
name?: CapabilityConnectModelProps["name"];
|
|
1830
|
+
identifier: CapabilityConnectModelProps["identifier"];
|
|
1786
1831
|
}): Promise<import("connect/models/ConnectModel").ConnectModel<CapabilityConnectModelProps> & {
|
|
1787
1832
|
deleteAsync(): Promise<void>;
|
|
1788
1833
|
context: import("AppStoreConnect").RequestContext;
|
|
@@ -1872,8 +1917,8 @@ declare module "connect/models/BundleIdCapability" {
|
|
|
1872
1917
|
NETWORK_SLICING = "NETWORK_SLICING",
|
|
1873
1918
|
SUSTAINED_EXECUTION = "SUSTAINED_EXECUTION",
|
|
1874
1919
|
TAP_TO_PAY_ON_IPHONE = "TAP_TO_PAY_ON_IPHONE",
|
|
1875
|
-
JOURNALING_SUGGESTIONS = "JOURNALING_SUGGESTIONS"
|
|
1876
|
-
MANAGED_APP_INSTALLATION_UI = "MANAGED_APP_INSTALLATION_UI"
|
|
1920
|
+
JOURNALING_SUGGESTIONS = "JOURNALING_SUGGESTIONS",// ok
|
|
1921
|
+
MANAGED_APP_INSTALLATION_UI = "MANAGED_APP_INSTALLATION_UI",// ok
|
|
1877
1922
|
MARZIPAN = "MARZIPAN"
|
|
1878
1923
|
}
|
|
1879
1924
|
export enum CapabilityTypeOption {
|
|
@@ -2219,12 +2264,12 @@ declare module "connect/models/Certificate" {
|
|
|
2219
2264
|
displayName: string | string[];
|
|
2220
2265
|
serialNumber: string | string[];
|
|
2221
2266
|
} & {
|
|
2222
|
-
id?: string
|
|
2267
|
+
id?: string;
|
|
2223
2268
|
}>> | undefined;
|
|
2224
2269
|
} | undefined) => Promise<Certificate[]>;
|
|
2225
2270
|
static infoAsync: (context: RequestContext, props: {
|
|
2226
2271
|
id: string;
|
|
2227
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
2272
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
2228
2273
|
}) => Promise<Certificate>;
|
|
2229
2274
|
static createAsync(context: RequestContext, { csrContent, certificateType, }: {
|
|
2230
2275
|
csrContent: string;
|
|
@@ -2294,12 +2339,12 @@ declare module "connect/models/Device" {
|
|
|
2294
2339
|
platform: BundleIdPlatform | BundleIdPlatform[];
|
|
2295
2340
|
udid: string | string[];
|
|
2296
2341
|
} & {
|
|
2297
|
-
id?: string
|
|
2342
|
+
id?: string;
|
|
2298
2343
|
}>> | undefined;
|
|
2299
2344
|
} | undefined) => Promise<Device[]>;
|
|
2300
2345
|
static infoAsync: (context: RequestContext, props: {
|
|
2301
2346
|
id: string;
|
|
2302
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
2347
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
2303
2348
|
}) => Promise<Device>;
|
|
2304
2349
|
static createAsync(context: RequestContext, { name, udid, platform, }: {
|
|
2305
2350
|
name: DeviceProps['name'];
|
|
@@ -2397,12 +2442,12 @@ declare module "connect/models/Profile" {
|
|
|
2397
2442
|
profileState: ProfileState | ProfileState[];
|
|
2398
2443
|
profileType: ProfileType | ProfileType[];
|
|
2399
2444
|
} & {
|
|
2400
|
-
id?: string
|
|
2445
|
+
id?: string;
|
|
2401
2446
|
}>> | undefined;
|
|
2402
2447
|
} | undefined) => Promise<Profile[]>;
|
|
2403
2448
|
static infoAsync: (context: RequestContext, props: {
|
|
2404
2449
|
id: string;
|
|
2405
|
-
query?: ConnectQueryParams
|
|
2450
|
+
query?: ConnectQueryParams;
|
|
2406
2451
|
}) => Promise<Profile>;
|
|
2407
2452
|
/**
|
|
2408
2453
|
*
|
|
@@ -2490,7 +2535,7 @@ declare module "connect/models/BundleId" {
|
|
|
2490
2535
|
platform: BundleIdPlatform | BundleIdPlatform[];
|
|
2491
2536
|
seedId: string | string[];
|
|
2492
2537
|
} & {
|
|
2493
|
-
id?: string
|
|
2538
|
+
id?: string;
|
|
2494
2539
|
}>> | undefined;
|
|
2495
2540
|
} | undefined) => Promise<BundleId[]>;
|
|
2496
2541
|
/**
|
|
@@ -2499,7 +2544,7 @@ declare module "connect/models/BundleId" {
|
|
|
2499
2544
|
*/
|
|
2500
2545
|
static infoAsync: (context: RequestContext, props: {
|
|
2501
2546
|
id: string;
|
|
2502
|
-
query?: ConnectQueryParams
|
|
2547
|
+
query?: ConnectQueryParams;
|
|
2503
2548
|
}) => Promise<BundleId>;
|
|
2504
2549
|
static findAsync(context: RequestContext, { identifier, }: {
|
|
2505
2550
|
identifier: string;
|
|
@@ -2607,7 +2652,7 @@ declare module "connect/models/AppCategory" {
|
|
|
2607
2652
|
query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
|
|
2608
2653
|
platforms: BundleIdPlatform[] | BundleIdPlatform[][];
|
|
2609
2654
|
} & {
|
|
2610
|
-
id?: string
|
|
2655
|
+
id?: string;
|
|
2611
2656
|
}>> | undefined;
|
|
2612
2657
|
} | undefined) => Promise<AppCategory[]>;
|
|
2613
2658
|
}
|
|
@@ -2760,7 +2805,7 @@ declare module "connect/models/AppScreenshot" {
|
|
|
2760
2805
|
static type: string;
|
|
2761
2806
|
static infoAsync: (context: RequestContext, props: {
|
|
2762
2807
|
id: string;
|
|
2763
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
2808
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
2764
2809
|
}) => Promise<AppScreenshot>;
|
|
2765
2810
|
static createAsync(context: RequestContext, { id, attributes, }: {
|
|
2766
2811
|
id: string;
|
|
@@ -2836,7 +2881,7 @@ declare module "connect/models/AppScreenshotSet" {
|
|
|
2836
2881
|
*/
|
|
2837
2882
|
static infoAsync: (context: RequestContext, props: {
|
|
2838
2883
|
id: string;
|
|
2839
|
-
query?: ConnectQueryParams
|
|
2884
|
+
query?: ConnectQueryParams;
|
|
2840
2885
|
}) => Promise<AppScreenshotSet>;
|
|
2841
2886
|
/**
|
|
2842
2887
|
*
|
|
@@ -2995,7 +3040,7 @@ declare module "connect/models/BetaAppReviewSubmission" {
|
|
|
2995
3040
|
query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
|
|
2996
3041
|
betaReviewState: BetaReviewState | BetaReviewState[];
|
|
2997
3042
|
} & {
|
|
2998
|
-
id?: string
|
|
3043
|
+
id?: string;
|
|
2999
3044
|
}>> | undefined;
|
|
3000
3045
|
} | undefined) => Promise<BetaAppReviewSubmission[]>;
|
|
3001
3046
|
/**
|
|
@@ -3031,7 +3076,7 @@ declare module "connect/models/BetaBuildLocalization" {
|
|
|
3031
3076
|
locale: string | (string | null)[] | null;
|
|
3032
3077
|
build: string | string[];
|
|
3033
3078
|
} & {
|
|
3034
|
-
id?: string
|
|
3079
|
+
id?: string;
|
|
3035
3080
|
}>> | undefined;
|
|
3036
3081
|
} | undefined) => Promise<BetaBuildLocalization[]>;
|
|
3037
3082
|
/**
|
|
@@ -3140,7 +3185,7 @@ declare module "connect/models/BuildBetaDetail" {
|
|
|
3140
3185
|
query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
|
|
3141
3186
|
build: string | string[];
|
|
3142
3187
|
} & {
|
|
3143
|
-
id?: string
|
|
3188
|
+
id?: string;
|
|
3144
3189
|
}>> | undefined;
|
|
3145
3190
|
} | undefined) => Promise<BuildBetaDetail[]>;
|
|
3146
3191
|
/**
|
|
@@ -3149,7 +3194,7 @@ declare module "connect/models/BuildBetaDetail" {
|
|
|
3149
3194
|
*/
|
|
3150
3195
|
static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
3151
3196
|
id: string;
|
|
3152
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
3197
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
3153
3198
|
}) => Promise<BuildBetaDetail>;
|
|
3154
3199
|
updateAsync(attributes: Partial<BuildBetaDetailProps>): Promise<BuildBetaDetail>;
|
|
3155
3200
|
isReadyForInternalTesting(): boolean;
|
|
@@ -3182,7 +3227,7 @@ declare module "connect/models/PreReleaseVersion" {
|
|
|
3182
3227
|
platform: Platform | Platform[];
|
|
3183
3228
|
version: string | string[];
|
|
3184
3229
|
} & {
|
|
3185
|
-
id?: string
|
|
3230
|
+
id?: string;
|
|
3186
3231
|
}>> | undefined;
|
|
3187
3232
|
} | undefined) => Promise<PreReleaseVersion[]>;
|
|
3188
3233
|
/**
|
|
@@ -3191,7 +3236,7 @@ declare module "connect/models/PreReleaseVersion" {
|
|
|
3191
3236
|
*/
|
|
3192
3237
|
static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
3193
3238
|
id: string;
|
|
3194
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
3239
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
3195
3240
|
}) => Promise<PreReleaseVersion>;
|
|
3196
3241
|
}
|
|
3197
3242
|
}
|
|
@@ -3265,7 +3310,7 @@ declare module "connect/models/Build" {
|
|
|
3265
3310
|
*/
|
|
3266
3311
|
static infoAsync: (context: RequestContext, props: {
|
|
3267
3312
|
id: string;
|
|
3268
|
-
query?: ConnectQueryParams
|
|
3313
|
+
query?: ConnectQueryParams;
|
|
3269
3314
|
}) => Promise<Build>;
|
|
3270
3315
|
/**
|
|
3271
3316
|
*
|
|
@@ -3556,7 +3601,7 @@ declare module "connect/models/AppInfo" {
|
|
|
3556
3601
|
}): Promise<AppInfo>;
|
|
3557
3602
|
static infoAsync: (context: RequestContext, props: {
|
|
3558
3603
|
id: string;
|
|
3559
|
-
query?: ConnectQueryParams
|
|
3604
|
+
query?: ConnectQueryParams;
|
|
3560
3605
|
}) => Promise<AppInfo>;
|
|
3561
3606
|
static deleteAsync: (context: RequestContext, props: {
|
|
3562
3607
|
id: string;
|
|
@@ -3588,7 +3633,7 @@ declare module "connect/models/AppPrice" {
|
|
|
3588
3633
|
} | undefined) => Promise<AppPrice[]>;
|
|
3589
3634
|
static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
3590
3635
|
id: string;
|
|
3591
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
3636
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
3592
3637
|
}) => Promise<AppPrice>;
|
|
3593
3638
|
}
|
|
3594
3639
|
}
|
|
@@ -3645,7 +3690,7 @@ declare module "connect/models/InAppPurchase" {
|
|
|
3645
3690
|
*/
|
|
3646
3691
|
static infoAsync: (context: RequestContext, props: {
|
|
3647
3692
|
id: string;
|
|
3648
|
-
query?: ConnectQueryParams
|
|
3693
|
+
query?: ConnectQueryParams;
|
|
3649
3694
|
}) => Promise<InAppPurchase>;
|
|
3650
3695
|
}
|
|
3651
3696
|
}
|
|
@@ -3706,12 +3751,12 @@ declare module "connect/models/App" {
|
|
|
3706
3751
|
'appStoreVersions.platform': Platform | Platform[];
|
|
3707
3752
|
'appStoreVersions.appStoreState': AppStoreState | AppStoreState[];
|
|
3708
3753
|
} & {
|
|
3709
|
-
id?: string
|
|
3754
|
+
id?: string;
|
|
3710
3755
|
}>> | undefined;
|
|
3711
3756
|
} | undefined) => Promise<App[]>;
|
|
3712
3757
|
static infoAsync: (context: RequestContext, props: {
|
|
3713
3758
|
id: string;
|
|
3714
|
-
query?: ConnectQueryParams
|
|
3759
|
+
query?: ConnectQueryParams;
|
|
3715
3760
|
}) => Promise<App>;
|
|
3716
3761
|
/**
|
|
3717
3762
|
*
|
|
@@ -3853,10 +3898,10 @@ declare module "connect/models/AppPricePoint" {
|
|
|
3853
3898
|
static type: string;
|
|
3854
3899
|
static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
|
|
3855
3900
|
query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
|
|
3856
|
-
priceTier: string | string[];
|
|
3857
3901
|
territory: string | string[];
|
|
3902
|
+
priceTier: string | string[];
|
|
3858
3903
|
} & {
|
|
3859
|
-
id?: string
|
|
3904
|
+
id?: string;
|
|
3860
3905
|
}>> | undefined;
|
|
3861
3906
|
} | undefined) => Promise<AppPricePoint[]>;
|
|
3862
3907
|
/**
|
|
@@ -3865,7 +3910,7 @@ declare module "connect/models/AppPricePoint" {
|
|
|
3865
3910
|
*/
|
|
3866
3911
|
static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
|
|
3867
3912
|
id: string;
|
|
3868
|
-
query?: import("connect/ConnectAPI").ConnectQueryParams
|
|
3913
|
+
query?: import("connect/ConnectAPI").ConnectQueryParams;
|
|
3869
3914
|
}) => Promise<AppPricePoint>;
|
|
3870
3915
|
}
|
|
3871
3916
|
}
|