appstore-connect-sdk 1.0.0 → 1.1.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/README.md +15 -2
- package/dist/auth.js +2 -2
- package/dist/main.d.ts +5 -0
- package/dist/main.js +3 -0
- package/dist/openapi/apis/AppCategoriesApi.js +2 -2
- package/dist/openapi/apis/AppEncryptionDeclarationsApi.js +2 -2
- package/dist/openapi/apis/AppPricePointsApi.js +2 -2
- package/dist/openapi/apis/AppPriceTiersApi.js +2 -2
- package/dist/openapi/apis/AppsApi.js +2 -2
- package/dist/openapi/apis/BetaAppLocalizationsApi.js +2 -2
- package/dist/openapi/apis/BetaBuildLocalizationsApi.js +2 -2
- package/dist/openapi/apis/BetaGroupsApi.js +2 -2
- package/dist/openapi/apis/BetaLicenseAgreementsApi.js +2 -2
- package/dist/openapi/apis/BetaTestersApi.js +2 -2
- package/dist/openapi/apis/BuildBetaDetailsApi.js +2 -2
- package/dist/openapi/apis/BuildsApi.js +2 -2
- package/dist/openapi/apis/BundleIdsApi.js +2 -2
- package/dist/openapi/apis/CertificatesApi.js +2 -2
- package/dist/openapi/apis/CiMacOsVersionsApi.js +2 -2
- package/dist/openapi/apis/CiProductsApi.js +2 -2
- package/dist/openapi/apis/CiXcodeVersionsApi.js +2 -2
- package/dist/openapi/apis/DevicesApi.js +2 -2
- package/dist/openapi/apis/PreReleaseVersionsApi.js +2 -2
- package/dist/openapi/apis/ProfilesApi.js +2 -2
- package/dist/openapi/apis/SandboxTestersApi.js +2 -2
- package/dist/openapi/apis/ScmProvidersApi.js +2 -2
- package/dist/openapi/apis/ScmRepositoriesApi.js +2 -2
- package/dist/openapi/apis/TerritoriesApi.js +2 -2
- package/dist/openapi/apis/UserInvitationsApi.js +2 -2
- package/dist/openapi/apis/UsersApi.js +2 -2
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ nNdXXbA4
|
|
|
53
53
|
-----END PRIVATE KEY-----
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Now use this `Private Key` together with the `
|
|
56
|
+
Now use this `Private Key` together with the `issuer ID` and the `private key ID` to create your configuration:
|
|
57
57
|
|
|
58
58
|
```typescript
|
|
59
59
|
const client = new AppStoreConnectAPI({
|
|
@@ -115,6 +115,19 @@ new AppStoreConnectAPI({
|
|
|
115
115
|
});
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
+
### Overriding the base URL
|
|
119
|
+
|
|
120
|
+
For integration testing purposes, you can override the base path of the App Store Connect API by setting the `basePath` option in the AppStoreConnectAPI constructor. For example, you can use this to point to a local mock server. This allows you to test the behavior of your application in a more controlled environment without making requests to the real API.
|
|
121
|
+
|
|
122
|
+
```typescript
|
|
123
|
+
import AppStoreConnectAPI from "appstore-connect-sdk";
|
|
124
|
+
|
|
125
|
+
new AppStoreConnectAPI({
|
|
126
|
+
// ...
|
|
127
|
+
basePath: "http://localhost:3000", // All network requests are made to http://localhost:3000
|
|
128
|
+
});
|
|
129
|
+
```
|
|
130
|
+
|
|
118
131
|
## Updating OpenAPI generated code
|
|
119
132
|
|
|
120
133
|
To update the OpenAPI-generated code, run the following command:
|
|
@@ -127,7 +140,7 @@ This will generate Typescript code through [OpenAPI Generator](https://openapi-g
|
|
|
127
140
|
|
|
128
141
|
## Deno Compatibility
|
|
129
142
|
|
|
130
|
-
The `appstore-connect-sdk` module is fully compatible with Deno, An example of using the `appstore-connect-sdk` module in a Deno environment can be found in the [deno_example](https://github.com/isaced/appstore-connect-sdk/tree/deno_example).
|
|
143
|
+
The `appstore-connect-sdk` module is fully compatible with Deno, An example of using the `appstore-connect-sdk` module in a Deno environment can be found in the [deno_example](https://github.com/isaced/appstore-connect-sdk/tree/main/deno_example).
|
|
131
144
|
|
|
132
145
|
We are committed to ensuring that the `appstore-connect-sdk` module remains fully compatible with both Node.js and Deno, and we will continue to work on improving its compatibility with Deno as the Deno runtime evolves.
|
|
133
146
|
|
package/dist/auth.js
CHANGED
|
@@ -35,8 +35,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
35
35
|
exports.generateAuthToken = void 0;
|
|
36
36
|
const jose = __importStar(require("jose"));
|
|
37
37
|
// Generates a JWT token for use with the App Store Connect API
|
|
38
|
-
function generateAuthToken(
|
|
39
|
-
return __awaiter(this,
|
|
38
|
+
function generateAuthToken(_a) {
|
|
39
|
+
return __awaiter(this, arguments, void 0, function* ({ apiKeyId, issuerId, privateKey, expirationTime }) {
|
|
40
40
|
const alg = "ES256";
|
|
41
41
|
const key = yield jose.importPKCS8(privateKey, alg);
|
|
42
42
|
const token = yield new jose.SignJWT({})
|
package/dist/main.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ interface AppStoreConnectAPIOptions {
|
|
|
28
28
|
* The time (in seconds) until the token expires (default 10 minutes)
|
|
29
29
|
*/
|
|
30
30
|
expirationTime?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The base path for the API (without trailing slash, default https://api.appstoreconnect.apple.com).
|
|
33
|
+
*/
|
|
34
|
+
basePath?: string;
|
|
31
35
|
}
|
|
32
36
|
/**
|
|
33
37
|
* The App Store Connect SDK for Node.js is written in TypeScript and supports all APIs
|
|
@@ -48,6 +52,7 @@ export default class AppStoreConnectAPI {
|
|
|
48
52
|
* @param options.fetchApi - (Optional) The FetchAPI implementation to use for API requests.
|
|
49
53
|
* @param options.bearerToken - (Optional) A pre-generated bearer token to use for authentication.
|
|
50
54
|
* @param options.expirationTime - (Optional) The time (in seconds) until the token expires (default 10 minutes)
|
|
55
|
+
* @param options.basePath - (Optional) The base path for the API (without trailing slash, default https://api.appstoreconnect.apple.com).
|
|
51
56
|
* @throws {string} Will throw an error if no bearerToken or private key is provided
|
|
52
57
|
*/
|
|
53
58
|
constructor(options: AppStoreConnectAPIOptions);
|
package/dist/main.js
CHANGED
|
@@ -27,6 +27,7 @@ class AppStoreConnectAPI {
|
|
|
27
27
|
* @param options.fetchApi - (Optional) The FetchAPI implementation to use for API requests.
|
|
28
28
|
* @param options.bearerToken - (Optional) A pre-generated bearer token to use for authentication.
|
|
29
29
|
* @param options.expirationTime - (Optional) The time (in seconds) until the token expires (default 10 minutes)
|
|
30
|
+
* @param options.basePath - (Optional) The base path for the API (without trailing slash, default https://api.appstoreconnect.apple.com).
|
|
30
31
|
* @throws {string} Will throw an error if no bearerToken or private key is provided
|
|
31
32
|
*/
|
|
32
33
|
constructor(options) {
|
|
@@ -61,11 +62,13 @@ class AppStoreConnectAPI {
|
|
|
61
62
|
*/
|
|
62
63
|
genConfiguration() {
|
|
63
64
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
var _a;
|
|
64
66
|
this.configuration = new openapi_1.Configuration({
|
|
65
67
|
headers: {
|
|
66
68
|
Authorization: `Bearer ${yield this.genToken()}`,
|
|
67
69
|
},
|
|
68
70
|
fetchApi: this.options.fetchApi,
|
|
71
|
+
basePath: (_a = this.options.basePath) === null || _a === void 0 ? void 0 : _a.replace(/\/$/, ""),
|
|
69
72
|
});
|
|
70
73
|
this.bearerTokenGeneratedAt = Date.now();
|
|
71
74
|
});
|
|
@@ -95,8 +95,8 @@ class AppCategoriesApi extends runtime.BaseAPI {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
*/
|
|
98
|
-
appCategoriesGetCollection(
|
|
99
|
-
return __awaiter(this,
|
|
98
|
+
appCategoriesGetCollection() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
100
|
const response = yield this.appCategoriesGetCollectionRaw(requestParameters, initOverrides);
|
|
101
101
|
return yield response.value();
|
|
102
102
|
});
|
|
@@ -213,8 +213,8 @@ class AppEncryptionDeclarationsApi extends runtime.BaseAPI {
|
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
215
|
*/
|
|
216
|
-
appEncryptionDeclarationsGetCollection(
|
|
217
|
-
return __awaiter(this,
|
|
216
|
+
appEncryptionDeclarationsGetCollection() {
|
|
217
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
218
218
|
const response = yield this.appEncryptionDeclarationsGetCollectionRaw(requestParameters, initOverrides);
|
|
219
219
|
return yield response.value();
|
|
220
220
|
});
|
|
@@ -95,8 +95,8 @@ class AppPricePointsApi extends runtime.BaseAPI {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
*/
|
|
98
|
-
appPricePointsGetCollection(
|
|
99
|
-
return __awaiter(this,
|
|
98
|
+
appPricePointsGetCollection() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
100
|
const response = yield this.appPricePointsGetCollectionRaw(requestParameters, initOverrides);
|
|
101
101
|
return yield response.value();
|
|
102
102
|
});
|
|
@@ -95,8 +95,8 @@ class AppPriceTiersApi extends runtime.BaseAPI {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
*/
|
|
98
|
-
appPriceTiersGetCollection(
|
|
99
|
-
return __awaiter(this,
|
|
98
|
+
appPriceTiersGetCollection() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
100
|
const response = yield this.appPriceTiersGetCollectionRaw(requestParameters, initOverrides);
|
|
101
101
|
return yield response.value();
|
|
102
102
|
});
|
|
@@ -1020,8 +1020,8 @@ class AppsApi extends runtime.BaseAPI {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
/**
|
|
1022
1022
|
*/
|
|
1023
|
-
appsGetCollection(
|
|
1024
|
-
return __awaiter(this,
|
|
1023
|
+
appsGetCollection() {
|
|
1024
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
1025
1025
|
const response = yield this.appsGetCollectionRaw(requestParameters, initOverrides);
|
|
1026
1026
|
return yield response.value();
|
|
1027
1027
|
});
|
|
@@ -198,8 +198,8 @@ class BetaAppLocalizationsApi extends runtime.BaseAPI {
|
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
*/
|
|
201
|
-
betaAppLocalizationsGetCollection(
|
|
202
|
-
return __awaiter(this,
|
|
201
|
+
betaAppLocalizationsGetCollection() {
|
|
202
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
203
203
|
const response = yield this.betaAppLocalizationsGetCollectionRaw(requestParameters, initOverrides);
|
|
204
204
|
return yield response.value();
|
|
205
205
|
});
|
|
@@ -198,8 +198,8 @@ class BetaBuildLocalizationsApi extends runtime.BaseAPI {
|
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
*/
|
|
201
|
-
betaBuildLocalizationsGetCollection(
|
|
202
|
-
return __awaiter(this,
|
|
201
|
+
betaBuildLocalizationsGetCollection() {
|
|
202
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
203
203
|
const response = yield this.betaBuildLocalizationsGetCollectionRaw(requestParameters, initOverrides);
|
|
204
204
|
return yield response.value();
|
|
205
205
|
});
|
|
@@ -529,8 +529,8 @@ class BetaGroupsApi extends runtime.BaseAPI {
|
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
531
531
|
*/
|
|
532
|
-
betaGroupsGetCollection(
|
|
533
|
-
return __awaiter(this,
|
|
532
|
+
betaGroupsGetCollection() {
|
|
533
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
534
534
|
const response = yield this.betaGroupsGetCollectionRaw(requestParameters, initOverrides);
|
|
535
535
|
return yield response.value();
|
|
536
536
|
});
|
|
@@ -128,8 +128,8 @@ class BetaLicenseAgreementsApi extends runtime.BaseAPI {
|
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
130
|
*/
|
|
131
|
-
betaLicenseAgreementsGetCollection(
|
|
132
|
-
return __awaiter(this,
|
|
131
|
+
betaLicenseAgreementsGetCollection() {
|
|
132
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
133
133
|
const response = yield this.betaLicenseAgreementsGetCollectionRaw(requestParameters, initOverrides);
|
|
134
134
|
return yield response.value();
|
|
135
135
|
});
|
|
@@ -608,8 +608,8 @@ class BetaTestersApi extends runtime.BaseAPI {
|
|
|
608
608
|
}
|
|
609
609
|
/**
|
|
610
610
|
*/
|
|
611
|
-
betaTestersGetCollection(
|
|
612
|
-
return __awaiter(this,
|
|
611
|
+
betaTestersGetCollection() {
|
|
612
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
613
613
|
const response = yield this.betaTestersGetCollectionRaw(requestParameters, initOverrides);
|
|
614
614
|
return yield response.value();
|
|
615
615
|
});
|
|
@@ -131,8 +131,8 @@ class BuildBetaDetailsApi extends runtime.BaseAPI {
|
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
*/
|
|
134
|
-
buildBetaDetailsGetCollection(
|
|
135
|
-
return __awaiter(this,
|
|
134
|
+
buildBetaDetailsGetCollection() {
|
|
135
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
136
136
|
const response = yield this.buildBetaDetailsGetCollectionRaw(requestParameters, initOverrides);
|
|
137
137
|
return yield response.value();
|
|
138
138
|
});
|
|
@@ -621,8 +621,8 @@ class BuildsApi extends runtime.BaseAPI {
|
|
|
621
621
|
}
|
|
622
622
|
/**
|
|
623
623
|
*/
|
|
624
|
-
buildsGetCollection(
|
|
625
|
-
return __awaiter(this,
|
|
624
|
+
buildsGetCollection() {
|
|
625
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
626
626
|
const response = yield this.buildsGetCollectionRaw(requestParameters, initOverrides);
|
|
627
627
|
return yield response.value();
|
|
628
628
|
});
|
|
@@ -261,8 +261,8 @@ class BundleIdsApi extends runtime.BaseAPI {
|
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
263
|
*/
|
|
264
|
-
bundleIdsGetCollection(
|
|
265
|
-
return __awaiter(this,
|
|
264
|
+
bundleIdsGetCollection() {
|
|
265
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
266
266
|
const response = yield this.bundleIdsGetCollectionRaw(requestParameters, initOverrides);
|
|
267
267
|
return yield response.value();
|
|
268
268
|
});
|
|
@@ -165,8 +165,8 @@ class CertificatesApi extends runtime.BaseAPI {
|
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
*/
|
|
168
|
-
certificatesGetCollection(
|
|
169
|
-
return __awaiter(this,
|
|
168
|
+
certificatesGetCollection() {
|
|
169
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
170
170
|
const response = yield this.certificatesGetCollectionRaw(requestParameters, initOverrides);
|
|
171
171
|
return yield response.value();
|
|
172
172
|
});
|
|
@@ -92,8 +92,8 @@ class CiMacOsVersionsApi extends runtime.BaseAPI {
|
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
*/
|
|
95
|
-
ciMacOsVersionsGetCollection(
|
|
96
|
-
return __awaiter(this,
|
|
95
|
+
ciMacOsVersionsGetCollection() {
|
|
96
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
97
97
|
const response = yield this.ciMacOsVersionsGetCollectionRaw(requestParameters, initOverrides);
|
|
98
98
|
return yield response.value();
|
|
99
99
|
});
|
|
@@ -410,8 +410,8 @@ class CiProductsApi extends runtime.BaseAPI {
|
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
412
|
*/
|
|
413
|
-
ciProductsGetCollection(
|
|
414
|
-
return __awaiter(this,
|
|
413
|
+
ciProductsGetCollection() {
|
|
414
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
415
415
|
const response = yield this.ciProductsGetCollectionRaw(requestParameters, initOverrides);
|
|
416
416
|
return yield response.value();
|
|
417
417
|
});
|
|
@@ -92,8 +92,8 @@ class CiXcodeVersionsApi extends runtime.BaseAPI {
|
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
*/
|
|
95
|
-
ciXcodeVersionsGetCollection(
|
|
96
|
-
return __awaiter(this,
|
|
95
|
+
ciXcodeVersionsGetCollection() {
|
|
96
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
97
97
|
const response = yield this.ciXcodeVersionsGetCollectionRaw(requestParameters, initOverrides);
|
|
98
98
|
return yield response.value();
|
|
99
99
|
});
|
|
@@ -136,8 +136,8 @@ class DevicesApi extends runtime.BaseAPI {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
*/
|
|
139
|
-
devicesGetCollection(
|
|
140
|
-
return __awaiter(this,
|
|
139
|
+
devicesGetCollection() {
|
|
140
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
141
141
|
const response = yield this.devicesGetCollectionRaw(requestParameters, initOverrides);
|
|
142
142
|
return yield response.value();
|
|
143
143
|
});
|
|
@@ -194,8 +194,8 @@ class PreReleaseVersionsApi extends runtime.BaseAPI {
|
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
*/
|
|
197
|
-
preReleaseVersionsGetCollection(
|
|
198
|
-
return __awaiter(this,
|
|
197
|
+
preReleaseVersionsGetCollection() {
|
|
198
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
199
199
|
const response = yield this.preReleaseVersionsGetCollectionRaw(requestParameters, initOverrides);
|
|
200
200
|
return yield response.value();
|
|
201
201
|
});
|
|
@@ -297,8 +297,8 @@ class ProfilesApi extends runtime.BaseAPI {
|
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
*/
|
|
300
|
-
profilesGetCollection(
|
|
301
|
-
return __awaiter(this,
|
|
300
|
+
profilesGetCollection() {
|
|
301
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
302
302
|
const response = yield this.profilesGetCollectionRaw(requestParameters, initOverrides);
|
|
303
303
|
return yield response.value();
|
|
304
304
|
});
|
|
@@ -83,8 +83,8 @@ class SandboxTestersApi extends runtime.BaseAPI {
|
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
*/
|
|
86
|
-
sandboxTestersGetCollection(
|
|
87
|
-
return __awaiter(this,
|
|
86
|
+
sandboxTestersGetCollection() {
|
|
87
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
88
88
|
const response = yield this.sandboxTestersGetCollectionRaw(requestParameters, initOverrides);
|
|
89
89
|
return yield response.value();
|
|
90
90
|
});
|
|
@@ -86,8 +86,8 @@ class ScmProvidersApi extends runtime.BaseAPI {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
*/
|
|
89
|
-
scmProvidersGetCollection(
|
|
90
|
-
return __awaiter(this,
|
|
89
|
+
scmProvidersGetCollection() {
|
|
90
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
91
91
|
const response = yield this.scmProvidersGetCollectionRaw(requestParameters, initOverrides);
|
|
92
92
|
return yield response.value();
|
|
93
93
|
});
|
|
@@ -95,8 +95,8 @@ class ScmRepositoriesApi extends runtime.BaseAPI {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
*/
|
|
98
|
-
scmRepositoriesGetCollection(
|
|
99
|
-
return __awaiter(this,
|
|
98
|
+
scmRepositoriesGetCollection() {
|
|
99
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
100
100
|
const response = yield this.scmRepositoriesGetCollectionRaw(requestParameters, initOverrides);
|
|
101
101
|
return yield response.value();
|
|
102
102
|
});
|
|
@@ -83,8 +83,8 @@ class TerritoriesApi extends runtime.BaseAPI {
|
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
*/
|
|
86
|
-
territoriesGetCollection(
|
|
87
|
-
return __awaiter(this,
|
|
86
|
+
territoriesGetCollection() {
|
|
87
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
88
88
|
const response = yield this.territoriesGetCollectionRaw(requestParameters, initOverrides);
|
|
89
89
|
return yield response.value();
|
|
90
90
|
});
|
|
@@ -171,8 +171,8 @@ class UserInvitationsApi extends runtime.BaseAPI {
|
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
*/
|
|
174
|
-
userInvitationsGetCollection(
|
|
175
|
-
return __awaiter(this,
|
|
174
|
+
userInvitationsGetCollection() {
|
|
175
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
176
176
|
const response = yield this.userInvitationsGetCollectionRaw(requestParameters, initOverrides);
|
|
177
177
|
return yield response.value();
|
|
178
178
|
});
|
|
@@ -136,8 +136,8 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
*/
|
|
139
|
-
usersGetCollection(
|
|
140
|
-
return __awaiter(this,
|
|
139
|
+
usersGetCollection() {
|
|
140
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
141
141
|
const response = yield this.usersGetCollectionRaw(requestParameters, initOverrides);
|
|
142
142
|
return yield response.value();
|
|
143
143
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appstore-connect-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "An App Store Connect API client for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"appstore connect",
|
|
@@ -22,9 +22,8 @@
|
|
|
22
22
|
"@types/node-fetch": "^2.0.0",
|
|
23
23
|
"dotenv": "^16.0.3",
|
|
24
24
|
"jest": "^29.4.2",
|
|
25
|
-
"node-fetch": "^2.0.0",
|
|
26
25
|
"ts-jest": "^29.0.5",
|
|
27
|
-
"typescript": "^
|
|
26
|
+
"typescript": "^5.0.0"
|
|
28
27
|
},
|
|
29
28
|
"author": "isaced",
|
|
30
29
|
"license": "MIT",
|
|
@@ -38,6 +37,6 @@
|
|
|
38
37
|
},
|
|
39
38
|
"homepage": "https://github.com/isaced/appstore-connect-sdk",
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"jose": "^4.
|
|
40
|
+
"jose": "^4.15.4"
|
|
42
41
|
}
|
|
43
42
|
}
|