Skip to content

Commit 386bb66

Browse files
authored
app store connect api 3.6 (#39)
1 parent a888472 commit 386bb66

File tree

711 files changed

+33432
-36407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

711 files changed

+33432
-36407
lines changed

Examples/sales_finance_reports/SalesFinanceReports.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ import Utilities
3434

3535
let url = try await client.download(
3636
Resources.v1.salesReports.get(
37-
filterFrequency: [.weekly],
38-
filterReportDate: [options.reportDate],
39-
filterReportSubType: [.summary],
37+
filterVendorNumber: [options.vendorNumber],
4038
filterReportType: [.sales],
41-
filterVendorNumber: [options.vendorNumber]
39+
filterReportSubType: [.summary],
40+
filterFrequency: [.weekly],
41+
filterReportDate: [options.reportDate]
4242
)
4343
)
4444

@@ -54,10 +54,10 @@ import Utilities
5454

5555
let url = try await client.download(
5656
Resources.v1.financeReports.get(
57-
filterRegionCode: ["US"],
58-
filterReportDate: [options.reportDate],
57+
filterVendorNumber: [options.vendorNumber],
5958
filterReportType: [.financial],
60-
filterVendorNumber: [options.vendorNumber]
59+
filterRegionCode: ["US"],
60+
filterReportDate: [options.reportDate]
6161
)
6262
)
6363

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ print(apps)
2424

2525
## Installation
2626

27-
This project supports Swift 5.9 and higher, and has minimum requirements of iOS 16, macOS 13, tvOS 16, and watchOS 9. It strives to be fully supported for deployment on all other platforms outlined by Swift.org [Platform Support page](https://www.swift.org/platform-support/#deployment-only), such as the various Linux flavors and Windows. App Store Connect API version 3.5 and Enterprise Program 1.0 are supported.
27+
This project supports Swift 5.9 and higher, and has minimum requirements of iOS 16, macOS 13, tvOS 16, and watchOS 9. It strives to be fully supported for deployment on all other platforms outlined by Swift.org [Platform Support page](https://www.swift.org/platform-support/#deployment-only), such as the various Linux flavors and Windows. App Store Connect API version 3.6 and Enterprise Program 1.0 are supported.
2828

2929
The package defines two products: `AppStoreConnect` and `EnterpriseProgram`. Each product provides the `AppStoreConnect` module, which contains the client and authentication logic, and either the `AppStoreAPI` or `EnterpriseAPI` modules, respectively. To integrate with App Store Connect, you would add a dependency on the `"AppStoreConnect"` product. To use the Enterprise Program API, add the `"EnterpriseProgram"` product as a target dependency instead. Finally, both products can be made dependencies of the same target without significant conflict. See the [invite_user](/Examples/invite_user/InviteUser.swift) sample for a rough example of this.
3030

Sources/AppStoreAPI/Generated/Entities/AgeRatingDeclaration.swift

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/AppStoreAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/AppStoreAPI/Generated/Entities/AlternativeDistributionPackage.swift

Lines changed: 2 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)