partner-center-broker 1.0.1 → 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.
@@ -1,172 +1,221 @@
1
- export interface AppResourceResult {
2
- id: string;
3
- primaryName: string;
4
- packageFamilyName: string;
5
- packageIdentityName: string;
6
- publisherName: string;
7
- firstPublishedDate: Date;
8
- lastPublishedApplicationSubmission: ApplicationSubmission;
9
- pendingApplicationSubmission: ApplicationSubmission;
10
- hasAdvancedListingPermission: boolean;
11
- }
12
- export interface ApplicationSubmission {
13
- id: string;
14
- resourceLocation: string;
15
- }
16
- export interface CreateAppSubmissionResult {
17
- id: string;
18
- applicationCategory: string;
19
- pricing: Pricing;
20
- visibility: string;
21
- targetPublishMode: string;
22
- targetPublishDate: Date;
23
- listings: Listings;
24
- hardwarePreferences: string[];
25
- automaticBackupEnabled: boolean;
26
- canInstallOnRemovableMedia: boolean;
27
- isGameDvrEnabled: boolean;
28
- gamingOptions: any[];
29
- hasExternalInAppProducts: boolean;
30
- meetAccessibilityGuidelines: boolean;
31
- notesForCertification: string;
32
- status: string;
33
- statusDetails: StatusDetails;
34
- fileUploadUrl: string;
35
- applicationPackages: ApplicationPackage[];
36
- packageDeliveryOptions: PackageDeliveryOptions;
37
- enterpriseLicensing: string;
38
- allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
39
- allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
40
- friendlyName: string;
41
- trailers: any[];
42
- }
43
- export interface CommitSubmissionResult {
44
- status: string;
45
- }
46
- export interface SubmissionStatusResult {
47
- status: string;
48
- statusDetails: StatusDetails;
49
- }
50
- export interface ServiceAuthenticationResult {
51
- access_token: string;
52
- token_type: string;
53
- expires_in: string;
54
- expires_on: string;
55
- resource: string;
56
- }
57
- export interface GetSubmissionResult {
58
- id: string;
59
- applicationCategory: string;
60
- pricing: Pricing;
61
- visibility: string;
62
- targetPublishMode: string;
63
- targetPublishDate: Date;
64
- listings: Listings;
65
- hardwarePreferences: string[];
66
- automaticBackupEnabled: boolean;
67
- canInstallOnRemovableMedia: boolean;
68
- isGameDvrEnabled: boolean;
69
- gamingOptions: any[];
70
- hasExternalInAppProducts: boolean;
71
- meetAccessibilityGuidelines: boolean;
72
- notesForCertification: string;
73
- status: string;
74
- statusDetails: StatusDetails;
75
- fileUploadUrl: string;
76
- applicationPackages: ApplicationPackage[];
77
- packageDeliveryOptions: PackageDeliveryOptions;
78
- enterpriseLicensing: string;
79
- allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
80
- allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
81
- friendlyName: string;
82
- trailers: any[];
83
- }
84
- export interface AllowTargetFutureDeviceFamilies {
85
- Desktop: boolean;
86
- Mobile: boolean;
87
- Holographic: boolean;
88
- Xbox: boolean;
89
- Team: boolean;
90
- }
91
- export interface ApplicationPackage {
92
- fileName: string;
93
- fileStatus: string;
94
- id: string;
95
- version: string;
96
- architecture: string;
97
- languages: string[];
98
- capabilities: string[];
99
- minimumDirectXVersion: string;
100
- minimumSystemRam: string;
101
- targetDeviceFamilies: string[];
102
- }
103
- export interface Listings {
104
- 'en-us': EnUs;
105
- }
106
- export interface EnUs {
107
- baseListing: BaseListing;
108
- platformOverrides: PlatformOverrides;
109
- }
110
- export interface BaseListing {
111
- copyrightAndTrademarkInfo: string;
112
- keywords: string[];
113
- licenseTerms: string;
114
- privacyPolicy: string;
115
- supportContact: string;
116
- websiteUrl: string;
117
- description: string;
118
- features: string[];
119
- releaseNotes: string;
120
- images: Image[];
121
- recommendedHardware: any[];
122
- title: string;
123
- }
124
- export interface Image {
125
- fileName: string;
126
- fileStatus: string;
127
- id: string;
128
- imageType: string;
129
- }
130
- export interface PlatformOverrides {
131
- Windows81: Windows81;
132
- }
133
- export interface Windows81 {
134
- description: string;
135
- }
136
- export interface PackageDeliveryOptions {
137
- packageRollout: PackageRollout;
138
- isMandatoryUpdate: boolean;
139
- mandatoryUpdateEffectiveDate: Date;
140
- }
141
- export interface PackageRollout {
142
- isPackageRollout: boolean;
143
- packageRolloutPercentage: number;
144
- packageRolloutStatus: string;
145
- fallbackSubmissionId: string;
146
- }
147
- export interface Pricing {
148
- trialPeriod: string;
149
- marketSpecificPricings: MarketSpecificPricings;
150
- sales: any[];
151
- priceId: string;
152
- isAdvancedPricingModel: boolean;
153
- }
154
- export interface MarketSpecificPricings {
155
- }
156
- export interface StatusDetails {
157
- errors: any[];
158
- warnings: any[];
159
- certificationReports: any[];
160
- }
161
- export interface FlightResourceResult {
162
- flightId: string;
163
- friendlyName: string;
164
- lastPublishedFlightSubmission: FlightSubmission;
165
- pendingFlightSubmission: FlightSubmission;
166
- groupIds: string[];
167
- rankHigherThan: string;
168
- }
169
- export interface FlightSubmission {
170
- id: string;
171
- resourceLocation: string;
172
- }
1
+ export interface AppResourceResult {
2
+ id: string;
3
+ primaryName: string;
4
+ packageFamilyName: string;
5
+ packageIdentityName: string;
6
+ publisherName: string;
7
+ firstPublishedDate: Date;
8
+ lastPublishedApplicationSubmission: ApplicationSubmission;
9
+ pendingApplicationSubmission: ApplicationSubmission;
10
+ hasAdvancedListingPermission: boolean;
11
+ }
12
+ export interface ApplicationSubmission {
13
+ id: string;
14
+ resourceLocation: string;
15
+ }
16
+ export interface CreateAppSubmissionResult {
17
+ id: string;
18
+ applicationCategory: string;
19
+ pricing: Pricing;
20
+ visibility: string;
21
+ targetPublishMode: string;
22
+ targetPublishDate: Date;
23
+ listings: Listings;
24
+ hardwarePreferences: string[];
25
+ automaticBackupEnabled: boolean;
26
+ canInstallOnRemovableMedia: boolean;
27
+ isGameDvrEnabled: boolean;
28
+ gamingOptions: any[];
29
+ hasExternalInAppProducts: boolean;
30
+ meetAccessibilityGuidelines: boolean;
31
+ notesForCertification: string;
32
+ status: string;
33
+ statusDetails: StatusDetails;
34
+ fileUploadUrl: string;
35
+ applicationPackages: ApplicationPackage[];
36
+ packageDeliveryOptions: PackageDeliveryOptions;
37
+ enterpriseLicensing: string;
38
+ allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
39
+ allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
40
+ friendlyName: string;
41
+ trailers: any[];
42
+ }
43
+ export interface UpdateSubmissionResult {
44
+ id: string;
45
+ applicationCategory: string;
46
+ pricing: Pricing;
47
+ visibility: string;
48
+ targetPublishMode: string;
49
+ targetPublishDate: Date;
50
+ listings: Listings;
51
+ hardwarePreferences: string[];
52
+ automaticBackupEnabled: boolean;
53
+ canInstallOnRemovableMedia: boolean;
54
+ isGameDvrEnabled: boolean;
55
+ gamingOptions: any[];
56
+ hasExternalInAppProducts: boolean;
57
+ meetAccessibilityGuidelines: boolean;
58
+ notesForCertification: string;
59
+ status: string;
60
+ statusDetails: StatusDetails;
61
+ fileUploadUrl: string;
62
+ applicationPackages: ApplicationPackage[];
63
+ packageDeliveryOptions: PackageDeliveryOptions;
64
+ enterpriseLicensing: string;
65
+ allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
66
+ allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
67
+ friendlyName: string;
68
+ trailers: any[];
69
+ }
70
+ export interface SubmissionData {
71
+ applicationCategory: string;
72
+ pricing: Pricing;
73
+ visibility: string;
74
+ targetPublishMode: string;
75
+ targetPublishDate: Date;
76
+ listings: Listings;
77
+ hardwarePreferences: string[];
78
+ automaticBackupEnabled: boolean;
79
+ canInstallOnRemovableMedia: boolean;
80
+ isGameDvrEnabled: boolean;
81
+ gamingOptions: any[];
82
+ hasExternalInAppProducts: boolean;
83
+ meetAccessibilityGuidelines: boolean;
84
+ notesForCertification: string;
85
+ applicationPackages: ApplicationPackage[];
86
+ packageDeliveryOptions: PackageDeliveryOptions;
87
+ enterpriseLicensing: string;
88
+ allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
89
+ allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
90
+ trailers: any[];
91
+ }
92
+ export interface CommitSubmissionResult {
93
+ status: string;
94
+ }
95
+ export interface SubmissionStatusResult {
96
+ status: string;
97
+ statusDetails: StatusDetails;
98
+ }
99
+ export interface ServiceAuthenticationResult {
100
+ access_token: string;
101
+ token_type: string;
102
+ expires_in: string;
103
+ expires_on: string;
104
+ resource: string;
105
+ }
106
+ export interface GetSubmissionResult {
107
+ id: string;
108
+ applicationCategory: string;
109
+ pricing: Pricing;
110
+ visibility: string;
111
+ targetPublishMode: string;
112
+ targetPublishDate: Date;
113
+ listings: Listings;
114
+ hardwarePreferences: string[];
115
+ automaticBackupEnabled: boolean;
116
+ canInstallOnRemovableMedia: boolean;
117
+ isGameDvrEnabled: boolean;
118
+ gamingOptions: any[];
119
+ hasExternalInAppProducts: boolean;
120
+ meetAccessibilityGuidelines: boolean;
121
+ notesForCertification: string;
122
+ status: string;
123
+ statusDetails: StatusDetails;
124
+ fileUploadUrl: string;
125
+ applicationPackages: ApplicationPackage[];
126
+ packageDeliveryOptions: PackageDeliveryOptions;
127
+ enterpriseLicensing: string;
128
+ allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies: boolean;
129
+ allowTargetFutureDeviceFamilies: AllowTargetFutureDeviceFamilies;
130
+ friendlyName: string;
131
+ trailers: any[];
132
+ }
133
+ export interface AllowTargetFutureDeviceFamilies {
134
+ Desktop: boolean;
135
+ Mobile: boolean;
136
+ Holographic: boolean;
137
+ Xbox: boolean;
138
+ Team: boolean;
139
+ }
140
+ export interface ApplicationPackage {
141
+ fileName: string;
142
+ fileStatus: string;
143
+ id: string;
144
+ version: string;
145
+ architecture: string;
146
+ languages: string[];
147
+ capabilities: string[];
148
+ minimumDirectXVersion: string;
149
+ minimumSystemRam: string;
150
+ targetDeviceFamilies: string[];
151
+ }
152
+ export interface Listings {
153
+ 'en-us': EnUs;
154
+ }
155
+ export interface EnUs {
156
+ baseListing: BaseListing;
157
+ platformOverrides: PlatformOverrides;
158
+ }
159
+ export interface BaseListing {
160
+ copyrightAndTrademarkInfo: string;
161
+ keywords: string[];
162
+ licenseTerms: string;
163
+ privacyPolicy: string;
164
+ supportContact: string;
165
+ websiteUrl: string;
166
+ description: string;
167
+ features: string[];
168
+ releaseNotes: string;
169
+ images: Image[];
170
+ recommendedHardware: any[];
171
+ title: string;
172
+ }
173
+ export interface Image {
174
+ fileName: string;
175
+ fileStatus: string;
176
+ id: string;
177
+ imageType: string;
178
+ }
179
+ export interface PlatformOverrides {
180
+ Windows81: Windows81;
181
+ }
182
+ export interface Windows81 {
183
+ description: string;
184
+ }
185
+ export interface PackageDeliveryOptions {
186
+ packageRollout: PackageRollout;
187
+ isMandatoryUpdate: boolean;
188
+ mandatoryUpdateEffectiveDate: Date;
189
+ }
190
+ export interface PackageRollout {
191
+ isPackageRollout: boolean;
192
+ packageRolloutPercentage: number;
193
+ packageRolloutStatus: string;
194
+ fallbackSubmissionId: string;
195
+ }
196
+ export interface Pricing {
197
+ trialPeriod: string;
198
+ marketSpecificPricings: MarketSpecificPricings;
199
+ sales: any[];
200
+ priceId: string;
201
+ isAdvancedPricingModel: boolean;
202
+ }
203
+ export interface MarketSpecificPricings {
204
+ }
205
+ export interface StatusDetails {
206
+ errors: any[];
207
+ warnings: any[];
208
+ certificationReports: any[];
209
+ }
210
+ export interface FlightResourceResult {
211
+ flightId: string;
212
+ friendlyName: string;
213
+ lastPublishedFlightSubmission: FlightSubmission;
214
+ pendingFlightSubmission: FlightSubmission;
215
+ groupIds: string[];
216
+ rankHigherThan: string;
217
+ }
218
+ export interface FlightSubmission {
219
+ id: string;
220
+ resourceLocation: string;
221
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,57 +1,63 @@
1
- {
2
- "name": "partner-center-broker",
3
- "version": "1.0.1",
4
- "description": "A helper library that lets you manage your Microsoft Partner Center application submissions.",
5
- "main": "./dist/devCenter.js",
6
- "types": "./dist/devCenter.d.ts",
7
- "scripts": {
8
- "clean": "rimraf lib",
9
- "build": "tsc",
10
- "docs": "rimraf ./docs && typedoc src/ --out docs --mode modules --module commonjs --target es6 --excludePrivate && gh-pages -d docs -t",
11
- "format-write": "prettier --write **/*.ts",
12
- "format-check": "prettier --check **/*.ts",
13
- "prep": "npm run build && npm run format-check",
14
- "package": "npm run build && npm run docs && npm pack",
15
- "publish": "npm run package && npm publish"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git://github.com/LanceMcCarthy/PartnerCenterBroker.git"
20
- },
21
- "keywords": [
22
- "StoreBroker",
23
- "Microsoft",
24
- "Partner",
25
- "Center",
26
- "PartnerCenter",
27
- "Microsoft",
28
- "Store",
29
- "API",
30
- "Microsoft",
31
- "Store",
32
- "DevCenter",
33
- "DevCenter",
34
- "API"
35
- ],
36
- "author": "Lance McCarthy",
37
- "license": "GPL-3.0",
38
- "bugs": {
39
- "url": "https://github.com/LanceMcCarthy/PartnerCenterBroker/issues"
40
- },
41
- "homepage": "https://github.com/LanceMcCarthy/PartnerCenterBroker#readme",
42
- "devDependencies": {
43
- "@types/got": "^9.6.11",
44
- "@types/jest": "^26.0.9",
45
- "@types/node": "^14.0.27",
46
- "gh-pages": "^3.1.0",
47
- "rimraf": "^3.0.2",
48
- "ts-jest": "^26.2.0",
49
- "tslint": "^6.1.3",
50
- "tslint-config-standard": "^9.0.0",
51
- "typedoc": "^0.18.0",
52
- "typescript": "^3.9.7"
53
- },
54
- "dependencies": {
55
- "got": "^11.5.2"
56
- }
57
- }
1
+ {
2
+ "name": "partner-center-broker",
3
+ "version": "1.1.0",
4
+ "description": "A helper library that lets you manage your Microsoft Partner Center application submissions.",
5
+ "main": "./lib/devCenter.js",
6
+ "types": "./lib/devCenter.d.ts",
7
+ "scripts": {
8
+ "clean": "rimraf lib",
9
+ "build": "set NODE_OPTIONS=--openssl-legacy-provider && tsc",
10
+ "rebuild": "set NODE_OPTIONS=--openssl-legacy-provider && rimraf lib && tsc",
11
+ "test": "jest",
12
+ "docs": "rimraf ./docs && typedoc src/ --out docs --mode modules --module commonjs --target es6 --excludePrivate && gh-pages -d docs -t",
13
+ "format-write": "prettier --write **/*.ts",
14
+ "format-check": "prettier --check **/*.ts",
15
+ "prep": "npm run rebuild && npm run format-write",
16
+ "package": "npm run rebuild && npm run docs && npm pack",
17
+ "publish": "npm run package && npm publish"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git://github.com/LanceMcCarthy/PartnerCenterBroker.git"
22
+ },
23
+ "keywords": [
24
+ "StoreBroker",
25
+ "Microsoft",
26
+ "Partner",
27
+ "Center",
28
+ "PartnerCenter",
29
+ "Microsoft",
30
+ "Store",
31
+ "API",
32
+ "Microsoft",
33
+ "Store",
34
+ "DevCenter",
35
+ "DevCenter",
36
+ "API"
37
+ ],
38
+ "author": "Lance McCarthy",
39
+ "license": "GPL-3.0",
40
+ "bugs": {
41
+ "url": "https://github.com/LanceMcCarthy/PartnerCenterBroker/issues"
42
+ },
43
+ "homepage": "https://github.com/LanceMcCarthy/PartnerCenterBroker#readme",
44
+ "dependencies": {
45
+ "got": "^11.5.2",
46
+ "jest-junit": "^11.1.0"
47
+ },
48
+ "devDependencies": {
49
+ "@types/got": "^9.6.11",
50
+ "@types/jest": "^26.0.9",
51
+ "@types/node": "^14.0.27",
52
+ "gh-pages": "^3.1.0",
53
+ "jest": "^26.4.0",
54
+ "jest-circus": "^26.4.0",
55
+ "prettier": "^2.0.5",
56
+ "rimraf": "^3.0.2",
57
+ "ts-jest": "^26.2.0",
58
+ "tslint": "^6.1.3",
59
+ "tslint-config-standard": "^9.0.0",
60
+ "typedoc": "^0.18.0",
61
+ "typescript": "^3.9.7"
62
+ }
63
+ }