@expo/apple-utils 2.1.15 → 2.1.16

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.15",
3
+ "version": "2.1.16",
4
4
  "main": "build",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -4026,6 +4026,10 @@ declare module "connect/models/AppStoreVersion" {
4026
4026
  }): Promise<AppStoreVersion>;
4027
4027
  /** @see https://developer.apple.com/documentation/appstoreconnectapi/appstoreversionupdaterequest/data-data.dictionary */
4028
4028
  updateAsync(options: Partial<Pick<AppStoreVersionProps, 'copyright' | 'earliestReleaseDate' | 'releaseType' | 'versionString' | 'downloadable' | 'reviewType'>>): Promise<AppStoreVersion>;
4029
+ /**
4030
+ * @deprecated The ageRatingDeclaration relationship has moved from appStoreVersions to appInfos.
4031
+ * Use {@link AppInfo.getAgeRatingDeclarationAsync} instead.
4032
+ */
4029
4033
  getAgeRatingDeclarationAsync({ query, }?: {
4030
4034
  query?: ConnectQueryParams;
4031
4035
  }): Promise<AgeRatingDeclaration | null>;
@@ -4095,7 +4099,7 @@ declare module "connect/models/AppInfoLocalization" {
4095
4099
  declare module "connect/models/AppInfo" {
4096
4100
  import { RequestContext } from "network/Request";
4097
4101
  import { ConnectQueryParams } from "connect/ConnectAPI";
4098
- import { KidsAgeBand } from "connect/models/AgeRatingDeclaration";
4102
+ import { AgeRatingDeclaration, KidsAgeBand } from "connect/models/AgeRatingDeclaration";
4099
4103
  import { AppCategory, AppCategoryId, AppSubcategoryId } from "connect/models/AppCategory";
4100
4104
  import { AppInfoLocalization, AppInfoLocalizationProps } from "connect/models/AppInfoLocalization";
4101
4105
  import { BundleIdPlatform } from "connect/models/BundleId";
@@ -4241,6 +4245,14 @@ declare module "connect/models/AppInfo" {
4241
4245
  id: string;
4242
4246
  }) => Promise<void>;
4243
4247
  updateCategoriesAsync(categories?: CategoryIds): Promise<AppInfo>;
4248
+ /**
4249
+ * Get the age rating declaration for this app info.
4250
+ * The ageRatingDeclaration relationship moved from appStoreVersions to appInfos
4251
+ * in App Store Connect API.
4252
+ */
4253
+ getAgeRatingDeclarationAsync({ query, }?: {
4254
+ query?: ConnectQueryParams;
4255
+ }): Promise<AgeRatingDeclaration | null>;
4244
4256
  getLocalizationsAsync({ query, }?: {
4245
4257
  query?: ConnectQueryParams;
4246
4258
  }): Promise<AppInfoLocalization[]>;