@expo/apple-utils 2.1.6 → 2.1.8

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": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "main": "build",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -3271,7 +3271,7 @@ declare module "connect/models/BetaGroup" {
3271
3271
  id: string;
3272
3272
  }) => Promise<void>;
3273
3273
  /** @see https://developer.apple.com/documentation/appstoreconnectapi/betagroupupdaterequest/data-data.dictionary */
3274
- updateAsync(options: Partial<Pick<BetaGroupProps, 'name' | 'isInternalGroup' | 'hasAccessToAllBuilds' | 'publicLinkEnabled' | 'publicLinkLimit' | 'publicLinkLimitEnabled' | 'feedbackEnabled' | 'iosBuildsAvailableForAppleSiliconMac'>>): Promise<BetaGroup>;
3274
+ updateAsync(options: Partial<Pick<BetaGroupProps, 'name' | 'isInternalGroup' | 'publicLinkEnabled' | 'publicLinkLimit' | 'publicLinkLimitEnabled' | 'feedbackEnabled' | 'iosBuildsAvailableForAppleSiliconMac'>>): Promise<BetaGroup>;
3275
3275
  createBulkBetaTesterAssignmentsAsync(betaTesters: {
3276
3276
  email: string;
3277
3277
  firstName: string;
@@ -3745,8 +3745,8 @@ declare module "connect/models/AppStoreVersion" {
3745
3745
  /** The `App` identifier to create the version for */
3746
3746
  id: string;
3747
3747
  } & Pick<AppStoreVersionProps, 'platform' | 'versionString'> & Partial<Pick<AppStoreVersionProps, 'copyright' | 'earliestReleaseDate' | 'releaseType' | 'reviewType'>>): Promise<AppStoreVersion>;
3748
- getBuildAsync({ query, }?: {
3749
- query?: ConnectQueryParams;
3748
+ getBuildAsync({ version, }?: {
3749
+ version?: string;
3750
3750
  }): Promise<Build | null>;
3751
3751
  updateBuildAsync({ buildId }?: {
3752
3752
  buildId?: string;
@@ -4171,7 +4171,7 @@ declare module "connect/models/ReviewSubmissionItem" {
4171
4171
  }
4172
4172
  declare module "connect/models/ReviewSubmission" {
4173
4173
  import { RequestContext } from "network/Request";
4174
- import { ConnectQueryParams } from "connect/ConnectAPI";
4174
+ import { ConnectQueryFilter, ConnectQueryParams } from "connect/ConnectAPI";
4175
4175
  import type { Actor } from "connect/models/Actor";
4176
4176
  import { AppStoreVersion } from "connect/models/AppStoreVersion";
4177
4177
  import { ConnectModel } from "connect/models/ConnectModel";
@@ -4184,12 +4184,22 @@ declare module "connect/models/ReviewSubmission" {
4184
4184
  state: 'READY_FOR_REVIEW' | 'WAITING_FOR_REVIEW' | 'IN_REVIEW' | 'UNRESOLVED_ISSUES' | 'CANCELING' | 'COMPLETING' | 'COMPLETE';
4185
4185
  submittedDate: string | null;
4186
4186
  appStoreVersionForReview: AppStoreVersion;
4187
- items: unknown;
4187
+ items?: unknown[];
4188
4188
  lastUpdatedByActor?: Actor;
4189
4189
  submittedByActor?: Actor;
4190
4190
  }
4191
+ export type ReviewSubmissionQueryFilter = ConnectQueryFilter<ReviewSubmissionProps, 'state' | 'platform'>;
4191
4192
  export class ReviewSubmission extends ConnectModel<ReviewSubmissionProps> {
4192
4193
  static type: string;
4194
+ static DEFAULT_INCLUDES: string[];
4195
+ static getAsync: (context: RequestContext, props?: {
4196
+ query?: ConnectQueryParams<Partial<{
4197
+ platform: Platform | Platform[];
4198
+ state: "COMPLETE" | "WAITING_FOR_REVIEW" | "IN_REVIEW" | "READY_FOR_REVIEW" | "UNRESOLVED_ISSUES" | "CANCELING" | "COMPLETING" | ("COMPLETE" | "WAITING_FOR_REVIEW" | "IN_REVIEW" | "READY_FOR_REVIEW" | "UNRESOLVED_ISSUES" | "CANCELING" | "COMPLETING")[];
4199
+ } & {
4200
+ id?: string;
4201
+ }>> | undefined;
4202
+ } | undefined) => Promise<ReviewSubmission[]>;
4193
4203
  static infoAsync: (context: RequestContext, props: {
4194
4204
  id: string;
4195
4205
  query?: ConnectQueryParams;
@@ -4401,6 +4411,17 @@ declare module "connect/models/App" {
4401
4411
  query?: ConnectQueryParams<InAppPurchaseQueryFilter>;
4402
4412
  }): Promise<InAppPurchase[]>;
4403
4413
  createReviewSubmissionAsync(props: Omit<Parameters<typeof ReviewSubmission.createAsync>[1], 'id'>): Promise<ReviewSubmission>;
4414
+ getReadyReviewSubmissionAsync({ platform, includes, }?: {
4415
+ platform?: Platform;
4416
+ includes?: string[];
4417
+ }): Promise<ReviewSubmission | null>;
4418
+ getInProgressReviewSubmissionAsync({ platform, includes, }?: {
4419
+ platform?: Platform;
4420
+ includes?: string[];
4421
+ }): Promise<ReviewSubmission | null>;
4422
+ getReviewSubmissionsAsync({ query, }?: {
4423
+ query?: ConnectQueryParams;
4424
+ }): Promise<ReviewSubmission[]>;
4404
4425
  getBuildsAsync({ query, }?: {
4405
4426
  query?: ConnectQueryParams;
4406
4427
  }): Promise<Build[]>;