@expo/apple-utils 2.1.5 → 2.1.6

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.
@@ -1159,6 +1159,12 @@ declare module "connect/ConnectAPI" {
1159
1159
  type: string;
1160
1160
  id: string;
1161
1161
  }): Promise<void>;
1162
+ deleteModelRelationshipsAsync(context: RequestContext, { type, id, relationshipType, relationships, }: {
1163
+ type: string;
1164
+ id: string;
1165
+ relationshipType: string;
1166
+ relationships: string[];
1167
+ }): Promise<void>;
1162
1168
  createDeleteMethod(type: string): (context: RequestContext, props: {
1163
1169
  id: string;
1164
1170
  }) => Promise<void>;
@@ -1327,6 +1333,28 @@ declare module "connect/models/AgeRatingDeclaration" {
1327
1333
  updateAsync(options: Partial<AgeRatingDeclarationProps>): Promise<AgeRatingDeclaration>;
1328
1334
  }
1329
1335
  }
1336
+ declare module "connect/models/Actor" {
1337
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
1338
+ import { ConnectModel } from "connect/models/ConnectModel";
1339
+ interface ActorProps {
1340
+ actorType: 'APPLE' | (string & object);
1341
+ userFirstName: string | null;
1342
+ userLastName: string | null;
1343
+ userEmail: string | null;
1344
+ apiKeyId: string | null;
1345
+ }
1346
+ export type ActorQueryFilter = ConnectQueryFilter<ActorProps, 'actorType'>;
1347
+ export class Actor extends ConnectModel<ActorProps> {
1348
+ static type: string;
1349
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
1350
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
1351
+ actorType: "APPLE" | "APPLE"[];
1352
+ } & {
1353
+ id?: string;
1354
+ }>> | undefined;
1355
+ } | undefined) => Promise<Actor[]>;
1356
+ }
1357
+ }
1330
1358
  declare module "connect/models/ContentProvider" {
1331
1359
  import { ConnectModel } from "connect/models/ConnectModel";
1332
1360
  export interface ContentProviderProps {
@@ -1355,159 +1383,6 @@ declare module "connect/models/ContentProvider" {
1355
1383
  } | undefined) => Promise<ContentProvider[]>;
1356
1384
  }
1357
1385
  }
1358
- declare module "connect/models/Territory" {
1359
- import { ConnectModel } from "connect/models/ConnectModel";
1360
- export interface TerritoryProps {
1361
- /**
1362
- * @example 'USD'
1363
- */
1364
- currency: string;
1365
- }
1366
- export class Territory extends ConnectModel<TerritoryProps> {
1367
- static type: string;
1368
- static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
1369
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
1370
- } | undefined) => Promise<Territory[]>;
1371
- }
1372
- }
1373
- declare module "connect/models/User" {
1374
- import { ConnectQueryFilter } from "connect/ConnectAPI";
1375
- import { ConnectModel } from "connect/models/ConnectModel";
1376
- import { Territory } from "connect/models/Territory";
1377
- export enum UserRole {
1378
- ADMIN = "ADMIN",
1379
- FINANCE = "FINANCE",
1380
- TECHNICAL = "TECHNICAL",
1381
- ACCOUNT_HOLDER = "ACCOUNT_HOLDER",
1382
- READ_ONLY = "READ_ONLY",
1383
- SALES = "SALES",
1384
- MARKETING = "MARKETING",
1385
- APP_MANAGER = "APP_MANAGER",
1386
- DEVELOPER = "DEVELOPER",
1387
- ACCESS_TO_REPORTS = "ACCESS_TO_REPORTS",
1388
- CUSTOMER_SUPPORT = "CUSTOMER_SUPPORT",
1389
- CREATE_APPS = "CREATE_APPS",
1390
- CLOUD_MANAGED_DEVELOPER_ID = "CLOUD_MANAGED_DEVELOPER_ID",
1391
- CLOUD_MANAGED_APP_DISTRIBUTION = "CLOUD_MANAGED_APP_DISTRIBUTION"
1392
- }
1393
- export interface UserProps {
1394
- username: string | null;
1395
- firstName: string | null;
1396
- lastName: string | null;
1397
- email: string | null;
1398
- preferredCurrencyTerritory: Territory | null;
1399
- agreedToTerms: boolean | null;
1400
- roles: UserRole | null;
1401
- allAppsVisible: boolean;
1402
- provisioningAllowed: boolean;
1403
- emailVettingRequired: boolean;
1404
- notifications: unknown | null;
1405
- }
1406
- export type UserQueryFilter = ConnectQueryFilter<UserProps & {
1407
- /**
1408
- * `App` id
1409
- */
1410
- visibleApps: string;
1411
- }, 'roles' | 'username' | 'visibleApps'>;
1412
- export class User extends ConnectModel<UserProps> {
1413
- static type: string;
1414
- static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
1415
- query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
1416
- username: string | (string | null)[] | null;
1417
- roles: UserRole | (UserRole | null)[] | null;
1418
- visibleApps: string | string[];
1419
- } & {
1420
- id?: string;
1421
- }>> | undefined;
1422
- } | undefined) => Promise<User[]>;
1423
- /**
1424
- *
1425
- * @param id `User` id (ex: UNHB5PT4MA)
1426
- */
1427
- static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
1428
- id: string;
1429
- query?: import("connect/ConnectAPI").ConnectQueryParams;
1430
- }) => Promise<User>;
1431
- static deleteAsync: (context: import("AppStoreConnect").RequestContext, props: {
1432
- id: string;
1433
- }) => Promise<void>;
1434
- updateAsync(attributes: Partial<UserProps>): Promise<User>;
1435
- }
1436
- }
1437
- declare module "connect/models/ApiKey" {
1438
- import { RequestContext } from "network/Request";
1439
- import { ConnectModel } from "connect/models/ConnectModel";
1440
- import { ContentProvider } from "connect/models/ContentProvider";
1441
- import { User, UserRole } from "connect/models/User";
1442
- export enum ApiKeyType {
1443
- /**
1444
- * App Store Connect Token
1445
- */
1446
- PUBLIC_API = "PUBLIC_API"
1447
- }
1448
- export interface ApiKeyProps {
1449
- /**
1450
- * If the token has been revoked or not.
1451
- */
1452
- isActive: boolean;
1453
- /**
1454
- * @example "ejb-apple-utils-admin"
1455
- */
1456
- nickname: string;
1457
- /**
1458
- * @example "2021-06-28T12:30:41-07:00"
1459
- */
1460
- lastUsed: string;
1461
- /**
1462
- * @example "2021-06-28T14:48:51.403-07:00"
1463
- */
1464
- revokingDate: null | string;
1465
- /**
1466
- * A key can only be downloaded once, right after it's created.
1467
- */
1468
- canDownload: boolean;
1469
- /**
1470
- * The contents of a private key, this can only be downloaded once.
1471
- * @default "XXX="
1472
- */
1473
- privateKey: null | string;
1474
- /**
1475
- * @example ["ADMIN"]
1476
- */
1477
- roles: UserRole[];
1478
- /**
1479
- * If the key has access to all apps.
1480
- */
1481
- allAppsVisible: boolean;
1482
- /**
1483
- * Unknown
1484
- */
1485
- keyType: ApiKeyType;
1486
- createdBy?: User;
1487
- revokedBy?: User;
1488
- provider?: ContentProvider;
1489
- }
1490
- export class ApiKey extends ConnectModel<ApiKeyProps> {
1491
- static type: string;
1492
- static DEFAULT_INCLUDES: string[];
1493
- static getAsync: (context: RequestContext, props?: {
1494
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
1495
- } | undefined) => Promise<ApiKey[]>;
1496
- static infoAsync: (context: RequestContext, props: {
1497
- id: string;
1498
- query?: import("connect/ConnectAPI").ConnectQueryParams;
1499
- }) => Promise<ApiKey>;
1500
- static createAsync(context: RequestContext, attributes: Pick<ApiKeyProps, 'nickname' | 'roles' | 'allAppsVisible' | 'keyType'>): Promise<ApiKey>;
1501
- /**
1502
- * Download the private key as a PEM string
1503
- */
1504
- downloadAsync(): Promise<string | null>;
1505
- /**
1506
- * Make the token unusable forever.
1507
- */
1508
- revokeAsync(): Promise<ApiKey>;
1509
- }
1510
- }
1511
1386
  declare module "connect/models/AppDataUsageGrouping" {
1512
1387
  import { ConnectModel } from "connect/models/ConnectModel";
1513
1388
  export interface AppDataUsageGroupingProps {
@@ -3178,6 +3053,8 @@ declare module "connect/models/BetaAppReviewSubmission" {
3178
3053
  static deleteAsync: (context: RequestContext, props: {
3179
3054
  id: string;
3180
3055
  }) => Promise<void>;
3056
+ /** Withdraw the beta app review submission. */
3057
+ deleteAsync(): Promise<void>;
3181
3058
  }
3182
3059
  }
3183
3060
  declare module "connect/models/BetaBuildLocalization" {
@@ -3227,8 +3104,103 @@ declare module "connect/models/BetaBuildMetric" {
3227
3104
  static type: string;
3228
3105
  }
3229
3106
  }
3107
+ declare module "connect/models/BetaTester" {
3108
+ import { RequestContext } from "network/Request";
3109
+ import { ConnectQueryFilter, ConnectQueryParams } from "connect/ConnectAPI";
3110
+ import type { App } from "connect/models/App";
3111
+ import type { BetaGroup } from "connect/models/BetaGroup";
3112
+ import { ConnectModel } from "connect/models/ConnectModel";
3113
+ /** @see https://developer.apple.com/documentation/appstoreconnectapi/betatester/attributes-data.dictionary */
3114
+ export interface BetaTesterProps {
3115
+ /** The beta tester’s email address, used for sending beta testing invitations. */
3116
+ email?: string | null;
3117
+ /** The beta tester’s first name. */
3118
+ firstName: string | 'Anonymous';
3119
+ /** The beta tester’s last name. */
3120
+ lastName: string | null;
3121
+ /** An invite type that indicates if a beta tester was invited by an email invite or used a TestFlight public link to join a beta test. */
3122
+ inviteType?: 'EMAIL' | 'PUBLIC_LINK';
3123
+ state?: 'NOT_INVITED' | 'INVITED' | 'ACCEPTED' | 'INSTALLED' | 'REVOKED';
3124
+ isDeleted?: null | unknown;
3125
+ betaTesterState?: null | unknown;
3126
+ lastModifiedDate?: null | unknown;
3127
+ installedCfBundleShortVersionString?: null | unknown;
3128
+ installedCfBundleVersion?: null | unknown;
3129
+ removeAfterDate?: null | unknown;
3130
+ latestExpiringCfBundleShortVersionString?: null | unknown;
3131
+ latestExpiringCfBundleVersionString?: null | unknown;
3132
+ installedDevice?: null | unknown;
3133
+ installedOsVersion?: null | unknown;
3134
+ installedDevicePlatform?: null | unknown;
3135
+ latestInstalledDevice?: null | unknown;
3136
+ latestInstalledOsVersion?: null | unknown;
3137
+ latestInstalledDevicePlatform?: null | unknown;
3138
+ numberOfInstalledDevices?: null | unknown;
3139
+ appDevices?: null | unknown;
3140
+ apps?: string[];
3141
+ betaGroups?: string[];
3142
+ builds?: string[];
3143
+ }
3144
+ export type BetaTesterQueryFilter = ConnectQueryFilter<BetaTesterProps, 'email' | 'apps' | 'betaGroups' | 'builds'>;
3145
+ export class BetaTester extends ConnectModel<BetaTesterProps> {
3146
+ static type: string;
3147
+ static getAsync: (context: RequestContext, props?: {
3148
+ query?: ConnectQueryParams<Partial<{
3149
+ apps?: string[] | (string[] | undefined)[] | undefined;
3150
+ builds?: string[] | (string[] | undefined)[] | undefined;
3151
+ email?: string | (string | null | undefined)[] | null | undefined;
3152
+ betaGroups?: string[] | (string[] | undefined)[] | undefined;
3153
+ } & {
3154
+ id?: string;
3155
+ }>> | undefined;
3156
+ } | undefined) => Promise<BetaTester[]>;
3157
+ /**
3158
+ *
3159
+ * @param bundleId bundle id string (ex. com.bacon.expo)
3160
+ */
3161
+ static findAsync(context: RequestContext, { email, query, }: {
3162
+ email: string;
3163
+ query?: Pick<ConnectQueryParams, 'includes'>;
3164
+ }): Promise<BetaTester | null>;
3165
+ deleteAppsAsync({ apps }: {
3166
+ apps: (string | App)[];
3167
+ }): Promise<void>;
3168
+ deleteBetaGroupsAsync({ betaGroups }: {
3169
+ betaGroups: (string | BetaGroup)[];
3170
+ }): Promise<void>;
3171
+ }
3172
+ }
3173
+ declare module "connect/models/BulkBetaTesterAssignment" {
3174
+ import { ConnectModel } from "connect/models/ConnectModel";
3175
+ interface BulkBetaTesterAssignmentProps {
3176
+ betaTesters: {
3177
+ /** The beta tester’s email address, used for sending beta testing invitations. */
3178
+ email: string | null;
3179
+ /** The beta tester’s first name. */
3180
+ firstName: string | 'Anonymous';
3181
+ /** The beta tester’s last name. */
3182
+ lastName: string | null;
3183
+ assignmentResult: 'ASSIGNED' | 'FAILED' | 'NOT_QUALIFIED_FOR_INTERNAL_GROUP' | (string & object);
3184
+ errors?: {
3185
+ key: 'Halliday.tester.already.exists' | (string & object);
3186
+ code: number;
3187
+ type: 'INFO' | (string & object);
3188
+ }[];
3189
+ }[];
3190
+ }
3191
+ export class BulkBetaTesterAssignment extends ConnectModel<BulkBetaTesterAssignmentProps> {
3192
+ static type: string;
3193
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
3194
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3195
+ } | undefined) => Promise<BulkBetaTesterAssignment[]>;
3196
+ }
3197
+ }
3230
3198
  declare module "connect/models/BetaGroup" {
3231
3199
  import { RequestContext } from "network/Request";
3200
+ import { ConnectQueryParams } from "connect/ConnectAPI";
3201
+ import { BetaTester } from "connect/models/BetaTester";
3202
+ import { Build } from "connect/models/Build";
3203
+ import { BulkBetaTesterAssignment } from "connect/models/BulkBetaTesterAssignment";
3232
3204
  import { ConnectModel } from "connect/models/ConnectModel";
3233
3205
  /** @see https://developer.apple.com/documentation/appstoreconnectapi/betagroup/attributes-data.dictionary */
3234
3206
  interface BetaGroupProps {
@@ -3280,11 +3252,12 @@ declare module "connect/models/BetaGroup" {
3280
3252
  hasAccessToAllBuilds: boolean;
3281
3253
  /** @since 1.6 */
3282
3254
  iosBuildsAvailableForAppleSiliconMac: boolean;
3255
+ betaTesters?: BetaTester[];
3283
3256
  }
3284
3257
  export class BetaGroup extends ConnectModel<BetaGroupProps> {
3285
3258
  static type: string;
3286
3259
  static getAsync: (context: RequestContext, props?: {
3287
- query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
3260
+ query?: ConnectQueryParams<Record<string, any>> | undefined;
3288
3261
  } | undefined) => Promise<BetaGroup[]>;
3289
3262
  /**
3290
3263
  * @see https://developer.apple.com/documentation/appstoreconnectapi/betagroupcreaterequest/data-data.dictionary
@@ -3294,13 +3267,19 @@ declare module "connect/models/BetaGroup" {
3294
3267
  /** The `App` identifier to create the beta group for */
3295
3268
  id: string;
3296
3269
  } & Pick<BetaGroupProps, 'name'> & Partial<Pick<BetaGroupProps, 'publicLinkEnabled' | 'publicLinkLimit' | 'publicLinkLimitEnabled' | 'feedbackEnabled' | 'hasAccessToAllBuilds' | 'isInternalGroup'>>): Promise<BetaGroup>;
3270
+ static deleteAsync: (context: RequestContext, props: {
3271
+ id: string;
3272
+ }) => Promise<void>;
3297
3273
  /** @see https://developer.apple.com/documentation/appstoreconnectapi/betagroupupdaterequest/data-data.dictionary */
3298
- updateAsync(options: Partial<Pick<BetaGroupProps, 'name' | 'publicLinkEnabled' | 'publicLinkLimit' | 'publicLinkLimitEnabled' | 'feedbackEnabled' | 'iosBuildsAvailableForAppleSiliconMac'>>): Promise<BetaGroup>;
3274
+ updateAsync(options: Partial<Pick<BetaGroupProps, 'name' | 'isInternalGroup' | 'hasAccessToAllBuilds' | 'publicLinkEnabled' | 'publicLinkLimit' | 'publicLinkLimitEnabled' | 'feedbackEnabled' | 'iosBuildsAvailableForAppleSiliconMac'>>): Promise<BetaGroup>;
3299
3275
  createBulkBetaTesterAssignmentsAsync(betaTesters: {
3300
3276
  email: string;
3301
3277
  firstName: string;
3302
3278
  lastName: string;
3303
- }[]): Promise<unknown>;
3279
+ }[]): Promise<BulkBetaTesterAssignment>;
3280
+ getBuildsAsync({ query, }?: {
3281
+ query?: ConnectQueryParams;
3282
+ }): Promise<Build[]>;
3304
3283
  }
3305
3284
  }
3306
3285
  declare module "connect/models/BuildBetaDetail" {
@@ -3379,7 +3358,8 @@ declare module "connect/models/PreReleaseVersion" {
3379
3358
  export enum Platform {
3380
3359
  IOS = "IOS",
3381
3360
  MAC_OS = "MAC_OS",
3382
- TV_OS = "TV_OS"
3361
+ TV_OS = "TV_OS",
3362
+ VISION_OS = "VISION_OS"
3383
3363
  }
3384
3364
  export type PreReleaseVersionQueryFilter = ConnectQueryFilter<PreReleaseVersionProps, 'platform' | 'version'>;
3385
3365
  export class PreReleaseVersion extends ConnectModel<PreReleaseVersionProps> {
@@ -3402,6 +3382,98 @@ declare module "connect/models/PreReleaseVersion" {
3402
3382
  }) => Promise<PreReleaseVersion>;
3403
3383
  }
3404
3384
  }
3385
+ declare module "connect/models/ResolutionCenterMessage" {
3386
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
3387
+ import { ConnectModel } from "connect/models/ConnectModel";
3388
+ interface ResolutionCenterMessageProps {
3389
+ /** Full message with HTML elements. */
3390
+ messageBody: string;
3391
+ /** @example '2024-12-13T04:47:48.681Z' */
3392
+ createdDate: string;
3393
+ rejections: unknown;
3394
+ fromActor: unknown;
3395
+ }
3396
+ export type ResolutionCenterMessageQueryFilter = ConnectQueryFilter<ResolutionCenterMessageProps, 'rejections'>;
3397
+ export class ResolutionCenterMessage extends ConnectModel<ResolutionCenterMessageProps> {
3398
+ static type: string;
3399
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
3400
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
3401
+ rejections: unknown;
3402
+ } & {
3403
+ id?: string;
3404
+ }>> | undefined;
3405
+ } | undefined) => Promise<ResolutionCenterMessage[]>;
3406
+ }
3407
+ }
3408
+ declare module "connect/models/ReviewRejection" {
3409
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
3410
+ import { ConnectModel } from "connect/models/ConnectModel";
3411
+ interface ReviewRejectionProps {
3412
+ /** '2.1' */
3413
+ reasonSection: string;
3414
+ /** 'Performance: App Completeness' */
3415
+ reasonDescription: string;
3416
+ /** '2.1.0' */
3417
+ reasonCode: string;
3418
+ }
3419
+ export type ReviewRejectionQueryFilter = ConnectQueryFilter<ReviewRejectionProps & {
3420
+ 'resolutionCenterMessage.resolutionCenterThread': string;
3421
+ }, 'resolutionCenterMessage.resolutionCenterThread'>;
3422
+ export class ReviewRejection extends ConnectModel<ReviewRejectionProps> {
3423
+ static type: string;
3424
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
3425
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
3426
+ 'resolutionCenterMessage.resolutionCenterThread': string | string[];
3427
+ } & {
3428
+ id?: string;
3429
+ }>> | undefined;
3430
+ } | undefined) => Promise<ReviewRejection[]>;
3431
+ }
3432
+ }
3433
+ declare module "connect/models/ResolutionCenterThread" {
3434
+ import { ConnectQueryFilter, ConnectQueryParams } from "connect/ConnectAPI";
3435
+ import type { AppStoreVersion } from "connect/models/AppStoreVersion";
3436
+ import type { Build } from "connect/models/Build";
3437
+ import { ConnectModel } from "connect/models/ConnectModel";
3438
+ import { ResolutionCenterMessage } from "connect/models/ResolutionCenterMessage";
3439
+ import { ReviewRejection } from "connect/models/ReviewRejection";
3440
+ export interface ResolutionCenterThreadProps {
3441
+ state: 'ACTIVE' | (string & object);
3442
+ canDeveloperAddNote: boolean;
3443
+ objectionableContent: boolean;
3444
+ threadType: 'REJECTION_BINARY' | 'REJECTION_METADATA' | 'REJECTION_REVIEW_SUBMISSION' | 'APP_MESSAGE_ARC' | 'APP_MESSAGE_ARB' | 'APP_MESSAGE_COMM';
3445
+ /** @example '2024-12-13T04:47:48.681Z' */
3446
+ createdDate: string;
3447
+ /** @example `2024-12-13T04:47:48.681Z` */
3448
+ lastMessageResponseDate: string;
3449
+ resolutionCenterMessages?: unknown;
3450
+ appStoreVersion?: AppStoreVersion;
3451
+ build?: Build;
3452
+ }
3453
+ export type ResolutionCenterThreadQueryFilter = ConnectQueryFilter<Omit<ResolutionCenterThreadProps, 'build' | 'appStoreVersion'> & {
3454
+ appStoreVersion: string;
3455
+ build: string;
3456
+ reviewSubmission: string;
3457
+ }, 'build' | 'appStoreVersion' | 'threadType' | 'reviewSubmission'>;
3458
+ export class ResolutionCenterThread extends ConnectModel<ResolutionCenterThreadProps> {
3459
+ static type: string;
3460
+ static DEFAULT_INCLUDES: string[];
3461
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
3462
+ query?: ConnectQueryParams<Partial<{
3463
+ appStoreVersion: string | string[];
3464
+ build: string | string[];
3465
+ threadType: "REJECTION_BINARY" | "REJECTION_METADATA" | "REJECTION_REVIEW_SUBMISSION" | "APP_MESSAGE_ARC" | "APP_MESSAGE_ARB" | "APP_MESSAGE_COMM" | ("REJECTION_BINARY" | "REJECTION_METADATA" | "REJECTION_REVIEW_SUBMISSION" | "APP_MESSAGE_ARC" | "APP_MESSAGE_ARB" | "APP_MESSAGE_COMM")[];
3466
+ reviewSubmission: string | string[];
3467
+ } & {
3468
+ id?: string;
3469
+ }>> | undefined;
3470
+ } | undefined) => Promise<ResolutionCenterThread[]>;
3471
+ getResolutionCenterMessagesAsync({ query, }?: {
3472
+ query?: ConnectQueryParams;
3473
+ }): Promise<ResolutionCenterMessage[]>;
3474
+ fetchRejectionReasonsAsync(): Promise<ReviewRejection[]>;
3475
+ }
3476
+ }
3405
3477
  declare module "connect/models/Build" {
3406
3478
  import { RequestContext } from "network/Request";
3407
3479
  import { ImageAsset } from "connect/AssetAPI";
@@ -3413,6 +3485,7 @@ declare module "connect/models/Build" {
3413
3485
  import { BuildBetaDetail } from "connect/models/BuildBetaDetail";
3414
3486
  import { ConnectModel } from "connect/models/ConnectModel";
3415
3487
  import { Platform, PreReleaseVersion } from "connect/models/PreReleaseVersion";
3488
+ import { ResolutionCenterThread } from "connect/models/ResolutionCenterThread";
3416
3489
  export interface BuildProps {
3417
3490
  /**
3418
3491
  * @example '1'
@@ -3441,6 +3514,7 @@ declare module "connect/models/Build" {
3441
3514
  hasMessagesExtension: boolean;
3442
3515
  hasStickers: boolean;
3443
3516
  isLaunchProhibited: boolean;
3517
+ qcState: 'BETA_WAITING' | 'BETA_INTERNAL_TESTING' | 'PENDING_ANALYSIS' | 'ANALYSIS_COMPLETE' | 'INTERNAL_APPROVAL' | 'PENDING_ADDON_APPROVAL' | 'READY' | 'INTERNAL_REJECTION' | 'COMPLETE' | 'PARKED' | 'VALID_BINARY' | 'BETA_EXPORT_COMPLIANCE' | 'BETA_IN_REVIEW' | 'BETA_REJECTED' | 'BETA_APPROVED' | 'HOLD' | 'BETA_REJECT_COMPLETE' | 'OVERWRITTEN' | 'WAITING' | 'DEVELOPER_REJECTION' | 'METADATA_REJECTION' | 'METADATA_COMPLETE' | 'BETA_RETIRED' | (string & object);
3444
3518
  app?: App;
3445
3519
  betaAppReviewSubmission?: BetaAppReviewSubmission;
3446
3520
  betaBuildMetrics?: BetaBuildMetric;
@@ -3499,10 +3573,14 @@ declare module "connect/models/Build" {
3499
3573
  * Submit for beta app review.
3500
3574
  */
3501
3575
  createBetaAppReviewSubmissionAsync(): Promise<BetaAppReviewSubmission>;
3576
+ getBetaAppReviewSubmissionAsync(): Promise<BetaAppReviewSubmission | null>;
3577
+ /** Get rejects for the build. */
3578
+ getResolutionCenterThreadsAsync(): Promise<ResolutionCenterThread[]>;
3502
3579
  /**
3503
3580
  * Expire the build to prevent further usage or submit a new build.
3504
3581
  */
3505
3582
  expireAsync(): Promise<Build>;
3583
+ isMissingExportCompliance(): boolean;
3506
3584
  getAppVersion(): string;
3507
3585
  getPlatform(): Platform;
3508
3586
  getAppId(): string;
@@ -3920,6 +3998,92 @@ declare module "connect/models/AppPrice" {
3920
3998
  }) => Promise<AppPrice>;
3921
3999
  }
3922
4000
  }
4001
+ declare module "connect/models/BetaAppLocalization" {
4002
+ import { RequestContext } from "network/Request";
4003
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4004
+ import { ConnectModel } from "connect/models/ConnectModel";
4005
+ export interface BetaAppLocalizationProps {
4006
+ feedbackEmail: string;
4007
+ marketingUrl: string | null;
4008
+ privacyPolicyUrl: string | null;
4009
+ tvOsPrivacyPolicy: string | null;
4010
+ description: string;
4011
+ locale: 'en-US' | (string & object);
4012
+ }
4013
+ export type BetaAppLocalizationQueryFilter = ConnectQueryFilter<BetaAppLocalizationProps, 'feedbackEmail'>;
4014
+ export class BetaAppLocalization extends ConnectModel<BetaAppLocalizationProps> {
4015
+ static type: string;
4016
+ static getAsync: (context: RequestContext, props?: {
4017
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4018
+ feedbackEmail: string | string[];
4019
+ } & {
4020
+ id?: string;
4021
+ }>> | undefined;
4022
+ } | undefined) => Promise<BetaAppLocalization[]>;
4023
+ /**
4024
+ *
4025
+ * @param id `App` id
4026
+ */
4027
+ static createAsync(context: RequestContext, { id, attributes, }: {
4028
+ id: string;
4029
+ attributes?: Partial<BetaAppLocalizationProps>;
4030
+ }): Promise<BetaAppLocalization>;
4031
+ updateAsync(attributes?: Partial<BetaAppLocalizationProps>): Promise<BetaAppLocalization>;
4032
+ }
4033
+ }
4034
+ declare module "connect/models/BetaAppReviewDetail" {
4035
+ import { RequestContext } from "network/Request";
4036
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4037
+ import { ConnectModel } from "connect/models/ConnectModel";
4038
+ /** @see https://developer.apple.com/documentation/appstoreconnectapi/betaappreviewdetail/attributes-data.dictionary */
4039
+ export interface BetaAppReviewDetailProps {
4040
+ contactEmail: string | null;
4041
+ contactFirstName: string | null;
4042
+ contactLastName: string | null;
4043
+ contactPhone: string | null;
4044
+ demoAccountName: string | null;
4045
+ demoAccountPassword: string | null;
4046
+ demoAccountRequired: boolean;
4047
+ notes: string;
4048
+ }
4049
+ export type BetaAppReviewDetailQueryFilter = ConnectQueryFilter<BetaAppReviewDetailProps, 'contactEmail'>;
4050
+ export class BetaAppReviewDetail extends ConnectModel<BetaAppReviewDetailProps> {
4051
+ static type: string;
4052
+ static getAsync: (context: RequestContext, props?: {
4053
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4054
+ contactEmail: string | (string | null)[] | null;
4055
+ } & {
4056
+ id?: string;
4057
+ }>> | undefined;
4058
+ } | undefined) => Promise<BetaAppReviewDetail[]>;
4059
+ static updateAsync(context: RequestContext, { id, attributes, }: {
4060
+ id: string;
4061
+ attributes?: Partial<BetaAppReviewDetailProps>;
4062
+ }): Promise<BetaAppReviewDetail>;
4063
+ static deleteAsync: (context: RequestContext, props: {
4064
+ id: string;
4065
+ }) => Promise<void>;
4066
+ }
4067
+ }
4068
+ declare module "connect/models/BetaAppTesterDetail" {
4069
+ import { ConnectModel } from "connect/models/ConnectModel";
4070
+ interface BetaAppTesterDetailProps {
4071
+ /** @example 100 */
4072
+ maxInternalTesters: number;
4073
+ /** @example 10000 */
4074
+ maxExternalTesters: number;
4075
+ /** @example 100 */
4076
+ maxInternalGroups: number;
4077
+ /** @example 200 */
4078
+ maxExternalGroups: number;
4079
+ currentInternalTesters: number;
4080
+ currentExternalTesters: number;
4081
+ currentDeletedTesters: number;
4082
+ }
4083
+ export class BetaAppTesterDetail extends ConnectModel<BetaAppTesterDetailProps> {
4084
+ static type: string;
4085
+ }
4086
+ }
3923
4087
  declare module "connect/models/InAppPurchase" {
3924
4088
  import { RequestContext } from "network/Request";
3925
4089
  import { ConnectQueryFilter, ConnectQueryParams } from "connect/ConnectAPI";
@@ -3977,6 +4141,95 @@ declare module "connect/models/InAppPurchase" {
3977
4141
  }) => Promise<InAppPurchase>;
3978
4142
  }
3979
4143
  }
4144
+ declare module "connect/models/ReviewSubmissionItem" {
4145
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4146
+ import type { AppStoreVersion } from "connect/models/AppStoreVersion";
4147
+ import { ConnectModel } from "connect/models/ConnectModel";
4148
+ /** @see https://developer.apple.com/documentation/appstoreconnectapi/reviewsubmissionitem/attributes-data.dictionary */
4149
+ interface ReviewSubmissionItemProps {
4150
+ state: unknown;
4151
+ appStoreVersionExperiment: unknown;
4152
+ appStoreVersion?: AppStoreVersion;
4153
+ appCustomProductPageVersion: unknown;
4154
+ appEvent: unknown;
4155
+ }
4156
+ export type ReviewSubmissionItemQueryFilter = ConnectQueryFilter<ReviewSubmissionItemProps, 'state' | 'appCustomProductPageVersion' | 'appEvent' | 'appStoreVersion' | 'appStoreVersionExperiment'>;
4157
+ export class ReviewSubmissionItem extends ConnectModel<ReviewSubmissionItemProps> {
4158
+ static type: string;
4159
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
4160
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4161
+ appStoreVersion?: AppStoreVersion | (AppStoreVersion | undefined)[] | undefined;
4162
+ state: unknown;
4163
+ appCustomProductPageVersion: unknown;
4164
+ appEvent: unknown;
4165
+ appStoreVersionExperiment: unknown;
4166
+ } & {
4167
+ id?: string;
4168
+ }>> | undefined;
4169
+ } | undefined) => Promise<ReviewSubmissionItem[]>;
4170
+ }
4171
+ }
4172
+ declare module "connect/models/ReviewSubmission" {
4173
+ import { RequestContext } from "network/Request";
4174
+ import { ConnectQueryParams } from "connect/ConnectAPI";
4175
+ import type { Actor } from "connect/models/Actor";
4176
+ import { AppStoreVersion } from "connect/models/AppStoreVersion";
4177
+ import { ConnectModel } from "connect/models/ConnectModel";
4178
+ import { Platform } from "connect/models/PreReleaseVersion";
4179
+ import { ResolutionCenterThread } from "connect/models/ResolutionCenterThread";
4180
+ import { ReviewSubmissionItem } from "connect/models/ReviewSubmissionItem";
4181
+ /** @see https://developer.apple.com/documentation/appstoreconnectapi/reviewsubmission/attributes-data.dictionary */
4182
+ interface ReviewSubmissionProps {
4183
+ platform: Platform;
4184
+ state: 'READY_FOR_REVIEW' | 'WAITING_FOR_REVIEW' | 'IN_REVIEW' | 'UNRESOLVED_ISSUES' | 'CANCELING' | 'COMPLETING' | 'COMPLETE';
4185
+ submittedDate: string | null;
4186
+ appStoreVersionForReview: AppStoreVersion;
4187
+ items: unknown;
4188
+ lastUpdatedByActor?: Actor;
4189
+ submittedByActor?: Actor;
4190
+ }
4191
+ export class ReviewSubmission extends ConnectModel<ReviewSubmissionProps> {
4192
+ static type: string;
4193
+ static infoAsync: (context: RequestContext, props: {
4194
+ id: string;
4195
+ query?: ConnectQueryParams;
4196
+ }) => Promise<ReviewSubmission>;
4197
+ /**
4198
+ *
4199
+ * @param id `App` id
4200
+ */
4201
+ static createAsync(context: RequestContext, { id, platform, }: {
4202
+ id: string;
4203
+ platform: Platform;
4204
+ }): Promise<ReviewSubmission>;
4205
+ submitForReviewAsync(): Promise<ConnectModel<{
4206
+ [x: string]: any;
4207
+ }>>;
4208
+ cancelSubmissionAsync(): Promise<ConnectModel<{
4209
+ [x: string]: any;
4210
+ }>>;
4211
+ getReviewSubmissionItemsAsync({ query, }?: {
4212
+ query?: ConnectQueryParams;
4213
+ }): Promise<ReviewSubmissionItem[]>;
4214
+ addAppStoreVersionToReviewItems(appStoreVersionId: string): Promise<unknown>;
4215
+ getResolutionCenterThreadsAsync(): Promise<ResolutionCenterThread[]>;
4216
+ }
4217
+ }
4218
+ declare module "connect/models/Territory" {
4219
+ import { ConnectModel } from "connect/models/ConnectModel";
4220
+ export interface TerritoryProps {
4221
+ /**
4222
+ * @example 'USD'
4223
+ */
4224
+ currency: string;
4225
+ }
4226
+ export class Territory extends ConnectModel<TerritoryProps> {
4227
+ static type: string;
4228
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
4229
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
4230
+ } | undefined) => Promise<Territory[]>;
4231
+ }
4232
+ }
3980
4233
  declare module "connect/models/App" {
3981
4234
  import { RequestContext } from "network/Request";
3982
4235
  import { ConnectQueryFilter, ConnectQueryParams } from "connect/ConnectAPI";
@@ -3988,12 +4241,16 @@ declare module "connect/models/App" {
3988
4241
  import { AppInfo, AppStoreState } from "connect/models/AppInfo";
3989
4242
  import { AppPrice } from "connect/models/AppPrice";
3990
4243
  import { AppStoreVersion, AppStoreVersionProps } from "connect/models/AppStoreVersion";
4244
+ import { BetaAppLocalization, BetaAppLocalizationProps } from "connect/models/BetaAppLocalization";
4245
+ import { BetaAppReviewDetail, BetaAppReviewDetailProps } from "connect/models/BetaAppReviewDetail";
4246
+ import { BetaAppTesterDetail } from "connect/models/BetaAppTesterDetail";
3991
4247
  import { BetaGroup } from "connect/models/BetaGroup";
3992
4248
  import { Build } from "connect/models/Build";
3993
4249
  import { BundleId } from "connect/models/BundleId";
3994
4250
  import { ConnectModel } from "connect/models/ConnectModel";
3995
4251
  import { InAppPurchase, InAppPurchaseQueryFilter } from "connect/models/InAppPurchase";
3996
4252
  import { Platform, PreReleaseVersion } from "connect/models/PreReleaseVersion";
4253
+ import { ReviewSubmission } from "connect/models/ReviewSubmission";
3997
4254
  import { Territory } from "connect/models/Territory";
3998
4255
  export enum ContentRightsDeclaration {
3999
4256
  USES_THIRD_PARTY_CONTENT = "USES_THIRD_PARTY_CONTENT",
@@ -4016,6 +4273,7 @@ declare module "connect/models/App" {
4016
4273
  appStoreVersions?: AppStoreVersion[];
4017
4274
  preReleaseVersions?: PreReleaseVersion[];
4018
4275
  availableTerritories?: Territory[];
4276
+ betaAppReviewDetail?: BetaAppReviewDetail;
4019
4277
  }
4020
4278
  export type AppQueryFilter = ConnectQueryFilter<Pick<AppProps, 'sku' | 'name' | 'bundleId'> & {
4021
4279
  appStoreVersions: string;
@@ -4070,6 +4328,9 @@ declare module "connect/models/App" {
4070
4328
  getAppDataUsagesAsync({ query, }?: {
4071
4329
  query?: ConnectQueryParams;
4072
4330
  }): Promise<AppDataUsage[]>;
4331
+ getBetaAppTesterDetailAsync({ query, }?: {
4332
+ query?: ConnectQueryParams;
4333
+ }): Promise<BetaAppTesterDetail>;
4073
4334
  getAppStoreVersionsAsync({ query, }?: {
4074
4335
  query?: ConnectQueryParams;
4075
4336
  }): Promise<AppStoreVersion[]>;
@@ -4139,6 +4400,7 @@ declare module "connect/models/App" {
4139
4400
  getInAppPurchasesAsync({ query, }?: {
4140
4401
  query?: ConnectQueryParams<InAppPurchaseQueryFilter>;
4141
4402
  }): Promise<InAppPurchase[]>;
4403
+ createReviewSubmissionAsync(props: Omit<Parameters<typeof ReviewSubmission.createAsync>[1], 'id'>): Promise<ReviewSubmission>;
4142
4404
  getBuildsAsync({ query, }?: {
4143
4405
  query?: ConnectQueryParams;
4144
4406
  }): Promise<Build[]>;
@@ -4148,12 +4410,11 @@ declare module "connect/models/App" {
4148
4410
  getAppDataUsagesPublishStateAsync({ query, }?: {
4149
4411
  query?: ConnectQueryParams;
4150
4412
  }): Promise<AppDataUsagesPublishState[]>;
4151
- createBetaGroupAsync({ name, publicLinkEnabled, publicLinkLimit, publicLinkLimitEnabled, }: {
4152
- name: string;
4153
- publicLinkEnabled?: boolean;
4154
- publicLinkLimit?: number;
4155
- publicLinkLimitEnabled?: boolean;
4156
- }): Promise<BetaGroup>;
4413
+ createBetaGroupAsync(props: Omit<Parameters<typeof BetaGroup.createAsync>[1], 'id'>): Promise<BetaGroup>;
4414
+ updateBetaAppReviewDetailAsync(attributes: Partial<BetaAppReviewDetailProps>): Promise<BetaAppReviewDetail>;
4415
+ createBetaAppLocalizationAsync(attributes: Partial<BetaAppLocalizationProps>): Promise<BetaAppLocalization>;
4416
+ getBetaAppLocalizationsAsync(): Promise<BetaAppLocalization[]>;
4417
+ getBetaAppReviewDetailAsync(): Promise<BetaAppReviewDetail>;
4157
4418
  createAppDataUsageAsync({ appDataUsageCategory, appDataUsageProtection, appDataUsagePurpose, }: {
4158
4419
  appDataUsageCategory?: AppDataUsageCategoryId;
4159
4420
  appDataUsageProtection?: AppDataUsageDataProtectionId;
@@ -4162,6 +4423,148 @@ declare module "connect/models/App" {
4162
4423
  createVersionAsync({ versionString, platform, }: Pick<AppStoreVersionProps, 'versionString' | 'platform'>): Promise<AppStoreVersion>;
4163
4424
  }
4164
4425
  }
4426
+ declare module "connect/models/User" {
4427
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4428
+ import type { App } from "connect/models/App";
4429
+ import { ConnectModel } from "connect/models/ConnectModel";
4430
+ import { Territory } from "connect/models/Territory";
4431
+ export enum UserRole {
4432
+ ADMIN = "ADMIN",
4433
+ FINANCE = "FINANCE",
4434
+ TECHNICAL = "TECHNICAL",
4435
+ ACCOUNT_HOLDER = "ACCOUNT_HOLDER",
4436
+ READ_ONLY = "READ_ONLY",
4437
+ SALES = "SALES",
4438
+ MARKETING = "MARKETING",
4439
+ APP_MANAGER = "APP_MANAGER",
4440
+ DEVELOPER = "DEVELOPER",
4441
+ ACCESS_TO_REPORTS = "ACCESS_TO_REPORTS",
4442
+ CUSTOMER_SUPPORT = "CUSTOMER_SUPPORT",
4443
+ CREATE_APPS = "CREATE_APPS",
4444
+ CLOUD_MANAGED_DEVELOPER_ID = "CLOUD_MANAGED_DEVELOPER_ID",
4445
+ CLOUD_MANAGED_APP_DISTRIBUTION = "CLOUD_MANAGED_APP_DISTRIBUTION"
4446
+ }
4447
+ export interface UserProps {
4448
+ username: string | null;
4449
+ firstName: string | null;
4450
+ lastName: string | null;
4451
+ email: string | null;
4452
+ preferredCurrencyTerritory: Territory | null;
4453
+ agreedToTerms: boolean | null;
4454
+ roles: UserRole | null;
4455
+ allAppsVisible: boolean;
4456
+ provisioningAllowed: boolean;
4457
+ emailVettingRequired: boolean;
4458
+ notifications: unknown | null;
4459
+ visibleApps?: App[];
4460
+ }
4461
+ export type UserQueryFilter = ConnectQueryFilter<UserProps & {
4462
+ /**
4463
+ * `App` id
4464
+ */
4465
+ visibleApps: string;
4466
+ }, 'roles' | 'username' | 'visibleApps'>;
4467
+ export class User extends ConnectModel<UserProps> {
4468
+ static type: string;
4469
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
4470
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4471
+ username: string | (string | null)[] | null;
4472
+ roles: UserRole | (UserRole | null)[] | null;
4473
+ visibleApps: (App[] & string) | (App[] & string)[];
4474
+ } & {
4475
+ id?: string;
4476
+ }>> | undefined;
4477
+ } | undefined) => Promise<User[]>;
4478
+ /**
4479
+ *
4480
+ * @param id `User` id (ex: UNHB5PT4MA)
4481
+ */
4482
+ static infoAsync: (context: import("AppStoreConnect").RequestContext, props: {
4483
+ id: string;
4484
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
4485
+ }) => Promise<User>;
4486
+ static deleteAsync: (context: import("AppStoreConnect").RequestContext, props: {
4487
+ id: string;
4488
+ }) => Promise<void>;
4489
+ updateAsync(attributes: Partial<UserProps>, relationships?: {
4490
+ visibleApps: string[];
4491
+ }): Promise<User>;
4492
+ }
4493
+ }
4494
+ declare module "connect/models/ApiKey" {
4495
+ import { RequestContext } from "network/Request";
4496
+ import { ConnectModel } from "connect/models/ConnectModel";
4497
+ import { ContentProvider } from "connect/models/ContentProvider";
4498
+ import { User, UserRole } from "connect/models/User";
4499
+ export enum ApiKeyType {
4500
+ /**
4501
+ * App Store Connect Token
4502
+ */
4503
+ PUBLIC_API = "PUBLIC_API"
4504
+ }
4505
+ export interface ApiKeyProps {
4506
+ /**
4507
+ * If the token has been revoked or not.
4508
+ */
4509
+ isActive: boolean;
4510
+ /**
4511
+ * @example "ejb-apple-utils-admin"
4512
+ */
4513
+ nickname: string;
4514
+ /**
4515
+ * @example "2021-06-28T12:30:41-07:00"
4516
+ */
4517
+ lastUsed: string;
4518
+ /**
4519
+ * @example "2021-06-28T14:48:51.403-07:00"
4520
+ */
4521
+ revokingDate: null | string;
4522
+ /**
4523
+ * A key can only be downloaded once, right after it's created.
4524
+ */
4525
+ canDownload: boolean;
4526
+ /**
4527
+ * The contents of a private key, this can only be downloaded once.
4528
+ * @default "XXX="
4529
+ */
4530
+ privateKey: null | string;
4531
+ /**
4532
+ * @example ["ADMIN"]
4533
+ */
4534
+ roles: UserRole[];
4535
+ /**
4536
+ * If the key has access to all apps.
4537
+ */
4538
+ allAppsVisible: boolean;
4539
+ /**
4540
+ * Unknown
4541
+ */
4542
+ keyType: ApiKeyType;
4543
+ createdBy?: User;
4544
+ revokedBy?: User;
4545
+ provider?: ContentProvider;
4546
+ }
4547
+ export class ApiKey extends ConnectModel<ApiKeyProps> {
4548
+ static type: string;
4549
+ static DEFAULT_INCLUDES: string[];
4550
+ static getAsync: (context: RequestContext, props?: {
4551
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Record<string, any>> | undefined;
4552
+ } | undefined) => Promise<ApiKey[]>;
4553
+ static infoAsync: (context: RequestContext, props: {
4554
+ id: string;
4555
+ query?: import("connect/ConnectAPI").ConnectQueryParams;
4556
+ }) => Promise<ApiKey>;
4557
+ static createAsync(context: RequestContext, attributes: Pick<ApiKeyProps, 'nickname' | 'roles' | 'allAppsVisible' | 'keyType'>): Promise<ApiKey>;
4558
+ /**
4559
+ * Download the private key as a PEM string
4560
+ */
4561
+ downloadAsync(): Promise<string | null>;
4562
+ /**
4563
+ * Make the token unusable forever.
4564
+ */
4565
+ revokeAsync(): Promise<ApiKey>;
4566
+ }
4567
+ }
4165
4568
  declare module "connect/models/AppPricePoint" {
4166
4569
  import { ConnectQueryFilter } from "connect/ConnectAPI";
4167
4570
  import { AppPriceTier } from "connect/models/AppPriceTier";
@@ -4226,8 +4629,176 @@ declare module "connect/models/SandboxTester" {
4226
4629
  }) => Promise<void>;
4227
4630
  }
4228
4631
  }
4632
+ declare module "connect/models/ResolutionCenterMessageAttachment" {
4633
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4634
+ import { ConnectModel } from "connect/models/ConnectModel";
4635
+ interface ResolutionCenterMessageAttachmentProps {
4636
+ /** @example 223583 */
4637
+ fileSize: number;
4638
+ /** @example "Screenshot-1213-124509.png" */
4639
+ fileName: string;
4640
+ sourceFileChecksum: null;
4641
+ uploadOperations: null;
4642
+ assetDeliveryState: null;
4643
+ assetToken: null;
4644
+ /** @example "https://iosapps-ssl.itunes.apple.com/itunes-assets/Purple211/v4/e6/e3/a5/e6e3a522-839a-b32c-e800-61c7e5489fcd/attachment.Screenshot-1213-124509.png?accessKey=1734399820_5910791516229487398_CUHMxwTjFwU2BO8r7md496hZB8%2BhGearRuAW4vW0a8NN4gdupTGIitInccha3KWoiBo%2FwIbiEUS%2B7jS9qEunrXveHptdwVknpPPJJlQoKrhvU1m4x9YmIgAtYhKXyvbeYDgAwrMJLHZh5z5WpvCWA2DZ60RhhEeyA4SShGhtU8dCtnYLWp9%2BCHDxQjIoelGJ" */
4645
+ downloadUrl: string;
4646
+ }
4647
+ export type ResolutionCenterMessageAttachmentQueryFilter = ConnectQueryFilter<ResolutionCenterMessageAttachmentProps, 'assetDeliveryState'>;
4648
+ export class ResolutionCenterMessageAttachment extends ConnectModel<ResolutionCenterMessageAttachmentProps> {
4649
+ static type: string;
4650
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
4651
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4652
+ assetDeliveryState: null[] | null;
4653
+ } & {
4654
+ id?: string;
4655
+ }>> | undefined;
4656
+ } | undefined) => Promise<ResolutionCenterMessageAttachment[]>;
4657
+ }
4658
+ }
4659
+ declare module "connect/models/BetaFeedback" {
4660
+ import { ConnectQueryFilter } from "connect/ConnectAPI";
4661
+ import { ConnectModel } from "connect/models/ConnectModel";
4662
+ import { Platform } from "connect/models/PreReleaseVersion";
4663
+ interface BetaFeedbackProps {
4664
+ /** @example "2024-12-15T22:40:22.705Z" */
4665
+ timestamp: string;
4666
+ /** @example "Nice work on the app!" */
4667
+ comment: string;
4668
+ /** @example "evanjbacon@gmail.com" */
4669
+ emailAddress: string;
4670
+ /** @example "iPhone12_1" */
4671
+ deviceModel: string;
4672
+ /** @example "18.2" */
4673
+ osVersion: string;
4674
+ /** @example "en-GB" */
4675
+ locale: string;
4676
+ /** @example "--" */
4677
+ carrier: string;
4678
+ /** @example "Europe/London" */
4679
+ timezone: string;
4680
+ /** @example "arm64e" */
4681
+ architecture: string;
4682
+ /** @example "WIFI" */
4683
+ connectionStatus: string;
4684
+ /** @example null */
4685
+ pairedAppleWatch: null | string;
4686
+ /** @example null */
4687
+ appUptimeMillis: null | number;
4688
+ /** @example "4969533440" */
4689
+ availableDiskBytes: string;
4690
+ /** @example "63933894656" */
4691
+ totalDiskBytes: string;
4692
+ /** @example "HSDPA" */
4693
+ networkType: string;
4694
+ /** @example 25 */
4695
+ batteryPercentage: number;
4696
+ /** @example 414 */
4697
+ screenWidth: number;
4698
+ /** @example 896 */
4699
+ screenHeight: number;
4700
+ /** @example "IOS" */
4701
+ appPlatform: Platform;
4702
+ /** @example "IOS" */
4703
+ devicePlatform: Platform;
4704
+ /** @example "IPHONE" */
4705
+ deviceFamily: string;
4706
+ /** @example null */
4707
+ ciBuildGroup: null | string;
4708
+ }
4709
+ export type BetaFeedbackQueryFilter = ConnectQueryFilter<BetaFeedbackProps & {
4710
+ 'build.app': string;
4711
+ 'build.preReleaseVersion': string;
4712
+ betaTesters: string;
4713
+ builds: string;
4714
+ }, 'build.app' | 'build.preReleaseVersion' | 'appPlatform' | 'betaTesters' | 'builds'>;
4715
+ export class BetaFeedback extends ConnectModel<BetaFeedbackProps> {
4716
+ static type: string;
4717
+ static DEFAULT_INCLUDES: string[];
4718
+ static getAsync: (context: import("AppStoreConnect").RequestContext, props?: {
4719
+ query?: import("connect/ConnectAPI").ConnectQueryParams<Partial<{
4720
+ builds: string | string[];
4721
+ betaTesters: string | string[];
4722
+ 'build.app': string | string[];
4723
+ 'build.preReleaseVersion': string | string[];
4724
+ appPlatform: Platform | Platform[];
4725
+ } & {
4726
+ id?: string;
4727
+ }>> | undefined;
4728
+ } | undefined) => Promise<BetaFeedback[]>;
4729
+ }
4730
+ }
4731
+ declare module "connect/models/BuildBundle" {
4732
+ import { ConnectModel } from "connect/models/ConnectModel";
4733
+ interface BuildBundleProps {
4734
+ /** @example "app.bacon.appreviewtimes" */
4735
+ bundleId: string;
4736
+ /** @example "APP" */
4737
+ bundleType: 'APP' | string;
4738
+ /** @example "14A345" */
4739
+ sdkBuild: string;
4740
+ /** @example "18A8395" */
4741
+ platformBuild: string;
4742
+ /** @example "MyApp.ipa" */
4743
+ fileName: string;
4744
+ /** @example true */
4745
+ hasSirikit: boolean;
4746
+ /** @example false */
4747
+ hasOnDemandResources: boolean;
4748
+ /** @example false */
4749
+ isNewsstand: boolean;
4750
+ /** @example true */
4751
+ hasPrerenderedIcon: boolean;
4752
+ /** @example true */
4753
+ usesLocationServices: boolean;
4754
+ /** @example false */
4755
+ isIosBuildMacAppStoreCompatible: boolean;
4756
+ /** @example true */
4757
+ includesSymbols: boolean;
4758
+ /** @example null */
4759
+ dSYMUrl: string | null;
4760
+ /** @example ["arm64", "x86_64"] */
4761
+ supportedArchitectures: string[];
4762
+ /** @example ["armv7", "arm64"] */
4763
+ requiredCapabilities: string[];
4764
+ /** @example ["protocol1", "protocol2"] */
4765
+ deviceProtocols: string[];
4766
+ /** @example ["en", "fr"] */
4767
+ locales: string[];
4768
+ entitlements: {
4769
+ [key: string]: {
4770
+ /** @example "ABCDE12345.com.example.app" */
4771
+ 'application-identifier': string;
4772
+ /** @example "true" */
4773
+ 'get-task-allow': string;
4774
+ /** @example "true" */
4775
+ 'beta-reports-active': string;
4776
+ /** @example "ABCDE12345" */
4777
+ 'com.apple.developer.team-identifier': string;
4778
+ /** @example ["group.com.example.app"] */
4779
+ 'com.apple.security.application-groups': string;
4780
+ };
4781
+ };
4782
+ /** @example true */
4783
+ tracksUsers: boolean;
4784
+ /** @example false */
4785
+ isIosBuildAppStoreOnVisionOsCompatible: boolean;
4786
+ /** @example null */
4787
+ baDownloadAllowance: number | null;
4788
+ /** @example null */
4789
+ baMaxInstallSize: number | null;
4790
+ /** @example null */
4791
+ baEssentialDownloadAllowance: number | null;
4792
+ /** @example null */
4793
+ baEssentialMaxInstallSize: number | null;
4794
+ }
4795
+ export class BuildBundle extends ConnectModel<BuildBundleProps> {
4796
+ static type: string;
4797
+ }
4798
+ }
4229
4799
  declare module "connect/index" {
4230
4800
  export * from "connect/models/AgeRatingDeclaration";
4801
+ export * from "connect/models/Actor";
4231
4802
  export * from "connect/models/ApiKey";
4232
4803
  export * from "connect/models/App";
4233
4804
  export * from "connect/models/AppDataUsage";
@@ -4252,10 +4823,13 @@ declare module "connect/index" {
4252
4823
  export * from "connect/models/AppStoreVersionPhasedRelease";
4253
4824
  export * from "connect/models/AppStoreVersionReleaseRequest";
4254
4825
  export * from "connect/models/AppStoreVersionSubmission";
4826
+ export * from "connect/models/BetaAppLocalization";
4255
4827
  export * from "connect/models/BetaAppReviewSubmission";
4828
+ export * from "connect/models/BetaAppReviewDetail";
4256
4829
  export * from "connect/models/BetaBuildLocalization";
4257
4830
  export * from "connect/models/BetaBuildMetric";
4258
4831
  export * from "connect/models/BetaGroup";
4832
+ export * from "connect/models/BetaTester";
4259
4833
  export * from "connect/models/Build";
4260
4834
  export * from "connect/models/BuildBetaDetail";
4261
4835
  export * from "connect/models/IdfaDeclaration";
@@ -4267,12 +4841,21 @@ declare module "connect/index" {
4267
4841
  export * from "connect/models/BundleId";
4268
4842
  export * from "connect/models/BundleIdCapability";
4269
4843
  export * from "connect/models/ContentProvider";
4844
+ export * from "connect/models/ResolutionCenterMessage";
4845
+ export * from "connect/models/ResolutionCenterThread";
4846
+ export * from "connect/models/ReviewRejection";
4847
+ export * from "connect/models/ResolutionCenterMessageAttachment";
4270
4848
  export * from "connect/models/Certificate";
4271
4849
  export * from "connect/models/Device";
4272
4850
  export * from "connect/models/Profile";
4273
4851
  export * from "connect/models/InAppPurchase";
4274
4852
  export * from "connect/models/User";
4275
4853
  export * from "connect/models/CloudContainer";
4854
+ export * from "connect/models/ReviewSubmission";
4855
+ export * from "connect/models/ReviewSubmissionItem";
4856
+ export * from "connect/models/BetaAppTesterDetail";
4857
+ export * from "connect/models/BetaFeedback";
4858
+ export * from "connect/models/BuildBundle";
4276
4859
  export { ConnectModel } from "connect/models/ConnectModel";
4277
4860
  }
4278
4861
  declare module "AppStoreConnect" {