@expo/apple-utils 1.7.1 → 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": "1.7.1",
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 | undefined;
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<Record<string, any>> | undefined;
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<Record<string, any>> | undefined;
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 | undefined;
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<Record<string, any>> | undefined;
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?: string | undefined;
1620
- identifier: CapabilityConnectModelProps['identifier'];
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 | undefined;
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<Record<string, any>> | undefined;
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?: string | undefined;
1677
- identifier: string;
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 | undefined;
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<Record<string, any>> | undefined;
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?: string | undefined;
1731
- identifier: string;
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 | undefined;
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<Record<string, any>> | undefined;
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?: string | undefined;
1785
- identifier: string;
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,6 +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",
1920
+ JOURNALING_SUGGESTIONS = "JOURNALING_SUGGESTIONS",// ok
1921
+ MANAGED_APP_INSTALLATION_UI = "MANAGED_APP_INSTALLATION_UI",// ok
1875
1922
  MARZIPAN = "MARZIPAN"
1876
1923
  }
1877
1924
  export enum CapabilityTypeOption {
@@ -1975,6 +2022,8 @@ declare module "connect/models/BundleIdCapability" {
1975
2022
  [CapabilityType.TAP_TO_PAY_ON_IPHONE]: CapabilityTypeOption;
1976
2023
  [CapabilityType.NETWORK_SLICING]: CapabilityTypeOption;
1977
2024
  [CapabilityType.SUSTAINED_EXECUTION]: CapabilityTypeOption;
2025
+ [CapabilityType.JOURNALING_SUGGESTIONS]: CapabilityTypeOption;
2026
+ [CapabilityType.MANAGED_APP_INSTALLATION_UI]: CapabilityTypeOption;
1978
2027
  }
1979
2028
  enum CapabilitySettingKey {
1980
2029
  ICLOUD_VERSION = "ICLOUD_VERSION",
@@ -2215,12 +2264,12 @@ declare module "connect/models/Certificate" {
2215
2264
  displayName: string | string[];
2216
2265
  serialNumber: string | string[];
2217
2266
  } & {
2218
- id?: string | undefined;
2267
+ id?: string;
2219
2268
  }>> | undefined;
2220
2269
  } | undefined) => Promise<Certificate[]>;
2221
2270
  static infoAsync: (context: RequestContext, props: {
2222
2271
  id: string;
2223
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
2272
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
2224
2273
  }) => Promise<Certificate>;
2225
2274
  static createAsync(context: RequestContext, { csrContent, certificateType, }: {
2226
2275
  csrContent: string;
@@ -2290,12 +2339,12 @@ declare module "connect/models/Device" {
2290
2339
  platform: BundleIdPlatform | BundleIdPlatform[];
2291
2340
  udid: string | string[];
2292
2341
  } & {
2293
- id?: string | undefined;
2342
+ id?: string;
2294
2343
  }>> | undefined;
2295
2344
  } | undefined) => Promise<Device[]>;
2296
2345
  static infoAsync: (context: RequestContext, props: {
2297
2346
  id: string;
2298
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
2347
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
2299
2348
  }) => Promise<Device>;
2300
2349
  static createAsync(context: RequestContext, { name, udid, platform, }: {
2301
2350
  name: DeviceProps['name'];
@@ -2393,12 +2442,12 @@ declare module "connect/models/Profile" {
2393
2442
  profileState: ProfileState | ProfileState[];
2394
2443
  profileType: ProfileType | ProfileType[];
2395
2444
  } & {
2396
- id?: string | undefined;
2445
+ id?: string;
2397
2446
  }>> | undefined;
2398
2447
  } | undefined) => Promise<Profile[]>;
2399
2448
  static infoAsync: (context: RequestContext, props: {
2400
2449
  id: string;
2401
- query?: ConnectQueryParams<Record<string, any>> | undefined;
2450
+ query?: ConnectQueryParams;
2402
2451
  }) => Promise<Profile>;
2403
2452
  /**
2404
2453
  *
@@ -2486,7 +2535,7 @@ declare module "connect/models/BundleId" {
2486
2535
  platform: BundleIdPlatform | BundleIdPlatform[];
2487
2536
  seedId: string | string[];
2488
2537
  } & {
2489
- id?: string | undefined;
2538
+ id?: string;
2490
2539
  }>> | undefined;
2491
2540
  } | undefined) => Promise<BundleId[]>;
2492
2541
  /**
@@ -2495,7 +2544,7 @@ declare module "connect/models/BundleId" {
2495
2544
  */
2496
2545
  static infoAsync: (context: RequestContext, props: {
2497
2546
  id: string;
2498
- query?: ConnectQueryParams<Record<string, any>> | undefined;
2547
+ query?: ConnectQueryParams;
2499
2548
  }) => Promise<BundleId>;
2500
2549
  static findAsync(context: RequestContext, { identifier, }: {
2501
2550
  identifier: string;
@@ -2603,7 +2652,7 @@ declare module "connect/models/AppCategory" {
2603
2652
  query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
2604
2653
  platforms: BundleIdPlatform[] | BundleIdPlatform[][];
2605
2654
  } & {
2606
- id?: string | undefined;
2655
+ id?: string;
2607
2656
  }>> | undefined;
2608
2657
  } | undefined) => Promise<AppCategory[]>;
2609
2658
  }
@@ -2756,7 +2805,7 @@ declare module "connect/models/AppScreenshot" {
2756
2805
  static type: string;
2757
2806
  static infoAsync: (context: RequestContext, props: {
2758
2807
  id: string;
2759
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
2808
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
2760
2809
  }) => Promise<AppScreenshot>;
2761
2810
  static createAsync(context: RequestContext, { id, attributes, }: {
2762
2811
  id: string;
@@ -2832,7 +2881,7 @@ declare module "connect/models/AppScreenshotSet" {
2832
2881
  */
2833
2882
  static infoAsync: (context: RequestContext, props: {
2834
2883
  id: string;
2835
- query?: ConnectQueryParams<Record<string, any>> | undefined;
2884
+ query?: ConnectQueryParams;
2836
2885
  }) => Promise<AppScreenshotSet>;
2837
2886
  /**
2838
2887
  *
@@ -2991,7 +3040,7 @@ declare module "connect/models/BetaAppReviewSubmission" {
2991
3040
  query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
2992
3041
  betaReviewState: BetaReviewState | BetaReviewState[];
2993
3042
  } & {
2994
- id?: string | undefined;
3043
+ id?: string;
2995
3044
  }>> | undefined;
2996
3045
  } | undefined) => Promise<BetaAppReviewSubmission[]>;
2997
3046
  /**
@@ -3027,7 +3076,7 @@ declare module "connect/models/BetaBuildLocalization" {
3027
3076
  locale: string | (string | null)[] | null;
3028
3077
  build: string | string[];
3029
3078
  } & {
3030
- id?: string | undefined;
3079
+ id?: string;
3031
3080
  }>> | undefined;
3032
3081
  } | undefined) => Promise<BetaBuildLocalization[]>;
3033
3082
  /**
@@ -3136,7 +3185,7 @@ declare module "connect/models/BuildBetaDetail" {
3136
3185
  query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
3137
3186
  build: string | string[];
3138
3187
  } & {
3139
- id?: string | undefined;
3188
+ id?: string;
3140
3189
  }>> | undefined;
3141
3190
  } | undefined) => Promise<BuildBetaDetail[]>;
3142
3191
  /**
@@ -3145,7 +3194,7 @@ declare module "connect/models/BuildBetaDetail" {
3145
3194
  */
3146
3195
  static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
3147
3196
  id: string;
3148
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3197
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
3149
3198
  }) => Promise<BuildBetaDetail>;
3150
3199
  updateAsync(attributes: Partial<BuildBetaDetailProps>): Promise<BuildBetaDetail>;
3151
3200
  isReadyForInternalTesting(): boolean;
@@ -3178,7 +3227,7 @@ declare module "connect/models/PreReleaseVersion" {
3178
3227
  platform: Platform | Platform[];
3179
3228
  version: string | string[];
3180
3229
  } & {
3181
- id?: string | undefined;
3230
+ id?: string;
3182
3231
  }>> | undefined;
3183
3232
  } | undefined) => Promise<PreReleaseVersion[]>;
3184
3233
  /**
@@ -3187,7 +3236,7 @@ declare module "connect/models/PreReleaseVersion" {
3187
3236
  */
3188
3237
  static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
3189
3238
  id: string;
3190
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3239
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
3191
3240
  }) => Promise<PreReleaseVersion>;
3192
3241
  }
3193
3242
  }
@@ -3261,7 +3310,7 @@ declare module "connect/models/Build" {
3261
3310
  */
3262
3311
  static infoAsync: (context: RequestContext, props: {
3263
3312
  id: string;
3264
- query?: ConnectQueryParams<Record<string, any>> | undefined;
3313
+ query?: ConnectQueryParams;
3265
3314
  }) => Promise<Build>;
3266
3315
  /**
3267
3316
  *
@@ -3552,7 +3601,7 @@ declare module "connect/models/AppInfo" {
3552
3601
  }): Promise<AppInfo>;
3553
3602
  static infoAsync: (context: RequestContext, props: {
3554
3603
  id: string;
3555
- query?: ConnectQueryParams<Record<string, any>> | undefined;
3604
+ query?: ConnectQueryParams;
3556
3605
  }) => Promise<AppInfo>;
3557
3606
  static deleteAsync: (context: RequestContext, props: {
3558
3607
  id: string;
@@ -3584,7 +3633,7 @@ declare module "connect/models/AppPrice" {
3584
3633
  } | undefined) => Promise<AppPrice[]>;
3585
3634
  static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
3586
3635
  id: string;
3587
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3636
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
3588
3637
  }) => Promise<AppPrice>;
3589
3638
  }
3590
3639
  }
@@ -3641,7 +3690,7 @@ declare module "connect/models/InAppPurchase" {
3641
3690
  */
3642
3691
  static infoAsync: (context: RequestContext, props: {
3643
3692
  id: string;
3644
- query?: ConnectQueryParams<Record<string, any>> | undefined;
3693
+ query?: ConnectQueryParams;
3645
3694
  }) => Promise<InAppPurchase>;
3646
3695
  }
3647
3696
  }
@@ -3702,12 +3751,12 @@ declare module "connect/models/App" {
3702
3751
  'appStoreVersions.platform': Platform | Platform[];
3703
3752
  'appStoreVersions.appStoreState': AppStoreState | AppStoreState[];
3704
3753
  } & {
3705
- id?: string | undefined;
3754
+ id?: string;
3706
3755
  }>> | undefined;
3707
3756
  } | undefined) => Promise<App[]>;
3708
3757
  static infoAsync: (context: RequestContext, props: {
3709
3758
  id: string;
3710
- query?: ConnectQueryParams<Record<string, any>> | undefined;
3759
+ query?: ConnectQueryParams;
3711
3760
  }) => Promise<App>;
3712
3761
  /**
3713
3762
  *
@@ -3849,10 +3898,10 @@ declare module "connect/models/AppPricePoint" {
3849
3898
  static type: string;
3850
3899
  static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
3851
3900
  query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
3852
- priceTier: string | string[];
3853
3901
  territory: string | string[];
3902
+ priceTier: string | string[];
3854
3903
  } & {
3855
- id?: string | undefined;
3904
+ id?: string;
3856
3905
  }>> | undefined;
3857
3906
  } | undefined) => Promise<AppPricePoint[]>;
3858
3907
  /**
@@ -3861,7 +3910,7 @@ declare module "connect/models/AppPricePoint" {
3861
3910
  */
3862
3911
  static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
3863
3912
  id: string;
3864
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3913
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
3865
3914
  }) => Promise<AppPricePoint>;
3866
3915
  }
3867
3916
  }