@vendasta/marketplace-apps 3.2.0 → 3.5.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/bundles/vendasta-marketplace-apps-v1.umd.js +62 -29
- package/bundles/vendasta-marketplace-apps-v1.umd.js.map +1 -1
- package/bundles/vendasta-marketplace-apps-v1.umd.min.js +1 -1
- package/bundles/vendasta-marketplace-apps-v1.umd.min.js.map +1 -1
- package/esm2015/v1/_internal/editions.api.service.js +2 -6
- package/esm2015/v1/_internal/interfaces/api.interface.js +1 -1
- package/esm2015/v1/_internal/interfaces/edition-api.interface.js +1 -1
- package/esm2015/v1/_internal/interfaces/edition.interface.js +1 -1
- package/esm2015/v1/_internal/interfaces/index.js +1 -1
- package/esm2015/v1/_internal/marketplace-apps.api.service.js +6 -2
- package/esm2015/v1/_internal/objects/api.js +27 -1
- package/esm2015/v1/_internal/objects/app.js +4 -1
- package/esm2015/v1/_internal/objects/edition-api.js +1 -24
- package/esm2015/v1/_internal/objects/edition.js +7 -1
- package/esm2015/v1/_internal/objects/index.js +3 -3
- package/esm2015/v1/editions.service.js +17 -2
- package/esm2015/v1/marketplace-app.service.js +8 -2
- package/fesm2015/vendasta-marketplace-apps-v1.js +61 -28
- package/fesm2015/vendasta-marketplace-apps-v1.js.map +1 -1
- package/package.json +1 -1
- package/v1/_internal/editions.api.service.d.ts +2 -3
- package/v1/_internal/interfaces/api.interface.d.ts +5 -0
- package/v1/_internal/interfaces/edition-api.interface.d.ts +0 -4
- package/v1/_internal/interfaces/edition.interface.d.ts +1 -0
- package/v1/_internal/interfaces/index.d.ts +2 -2
- package/v1/_internal/marketplace-apps.api.service.d.ts +3 -2
- package/v1/_internal/objects/api.d.ts +8 -0
- package/v1/_internal/objects/app.d.ts +1 -0
- package/v1/_internal/objects/edition-api.d.ts +0 -7
- package/v1/_internal/objects/edition.d.ts +1 -0
- package/v1/_internal/objects/index.d.ts +2 -2
- package/v1/editions.service.d.ts +2 -0
- package/v1/marketplace-app.service.d.ts +1 -0
- package/v1/vendasta-marketplace-apps-v1.metadata.json +1 -1
|
@@ -719,6 +719,9 @@
|
|
|
719
719
|
if (typeof this.cancellationWehookUrl !== 'undefined') {
|
|
720
720
|
toReturn['cancellationWehookUrl'] = this.cancellationWehookUrl;
|
|
721
721
|
}
|
|
722
|
+
if (typeof this.serviceChangeWebhookUrl !== 'undefined') {
|
|
723
|
+
toReturn['serviceChangeWebhookUrl'] = this.serviceChangeWebhookUrl;
|
|
724
|
+
}
|
|
722
725
|
return toReturn;
|
|
723
726
|
};
|
|
724
727
|
return Integration;
|
|
@@ -1850,6 +1853,9 @@
|
|
|
1850
1853
|
if (typeof this.deliveryMethod !== 'undefined') {
|
|
1851
1854
|
toReturn['deliveryMethod'] = this.deliveryMethod;
|
|
1852
1855
|
}
|
|
1856
|
+
if (typeof this.serviceChangeWebhookUrl !== 'undefined') {
|
|
1857
|
+
toReturn['serviceChangeWebhookUrl'] = this.serviceChangeWebhookUrl;
|
|
1858
|
+
}
|
|
1853
1859
|
return toReturn;
|
|
1854
1860
|
};
|
|
1855
1861
|
return CreateAppRequest;
|
|
@@ -2997,6 +3003,27 @@
|
|
|
2997
3003
|
};
|
|
2998
3004
|
return RemoveAppIDResponse;
|
|
2999
3005
|
}());
|
|
3006
|
+
var RequestAppReviewRequest = /** @class */ (function () {
|
|
3007
|
+
function RequestAppReviewRequest(kwargs) {
|
|
3008
|
+
if (!kwargs) {
|
|
3009
|
+
return;
|
|
3010
|
+
}
|
|
3011
|
+
Object.assign(this, kwargs);
|
|
3012
|
+
}
|
|
3013
|
+
RequestAppReviewRequest.fromProto = function (proto) {
|
|
3014
|
+
var m = new RequestAppReviewRequest();
|
|
3015
|
+
m = Object.assign(m, proto);
|
|
3016
|
+
return m;
|
|
3017
|
+
};
|
|
3018
|
+
RequestAppReviewRequest.prototype.toApiJson = function () {
|
|
3019
|
+
var toReturn = {};
|
|
3020
|
+
if (typeof this.appId !== 'undefined') {
|
|
3021
|
+
toReturn['appId'] = this.appId;
|
|
3022
|
+
}
|
|
3023
|
+
return toReturn;
|
|
3024
|
+
};
|
|
3025
|
+
return RequestAppReviewRequest;
|
|
3026
|
+
}());
|
|
3000
3027
|
var RestoreAppRequest = /** @class */ (function () {
|
|
3001
3028
|
function RestoreAppRequest(kwargs) {
|
|
3002
3029
|
if (!kwargs) {
|
|
@@ -3416,6 +3443,9 @@
|
|
|
3416
3443
|
if (typeof this.cancellationWebhookUrl !== 'undefined') {
|
|
3417
3444
|
toReturn['cancellationWebhookUrl'] = this.cancellationWebhookUrl;
|
|
3418
3445
|
}
|
|
3446
|
+
if (typeof this.serviceChangeWebhookUrl !== 'undefined') {
|
|
3447
|
+
toReturn['serviceChangeWebhookUrl'] = this.serviceChangeWebhookUrl;
|
|
3448
|
+
}
|
|
3419
3449
|
return toReturn;
|
|
3420
3450
|
};
|
|
3421
3451
|
return UpdateAppIntegrationRequest;
|
|
@@ -3683,6 +3713,9 @@
|
|
|
3683
3713
|
if (proto.pricing) {
|
|
3684
3714
|
m.pricing = EditionPricing.fromProto(proto.pricing);
|
|
3685
3715
|
}
|
|
3716
|
+
if (proto.release) {
|
|
3717
|
+
m.release = enumStringToValue$a(exports.Release, proto.release);
|
|
3718
|
+
}
|
|
3686
3719
|
return m;
|
|
3687
3720
|
};
|
|
3688
3721
|
Edition.prototype.toApiJson = function () {
|
|
@@ -3714,6 +3747,9 @@
|
|
|
3714
3747
|
if (typeof this.billingFrequency !== 'undefined') {
|
|
3715
3748
|
toReturn['billingFrequency'] = this.billingFrequency;
|
|
3716
3749
|
}
|
|
3750
|
+
if (typeof this.release !== 'undefined') {
|
|
3751
|
+
toReturn['release'] = this.release;
|
|
3752
|
+
}
|
|
3717
3753
|
return toReturn;
|
|
3718
3754
|
};
|
|
3719
3755
|
return Edition;
|
|
@@ -4364,30 +4400,6 @@
|
|
|
4364
4400
|
};
|
|
4365
4401
|
return ListEditionsMarketingForAppResponse;
|
|
4366
4402
|
}());
|
|
4367
|
-
var PublishMultiEditionRequest = /** @class */ (function () {
|
|
4368
|
-
function PublishMultiEditionRequest(kwargs) {
|
|
4369
|
-
if (!kwargs) {
|
|
4370
|
-
return;
|
|
4371
|
-
}
|
|
4372
|
-
Object.assign(this, kwargs);
|
|
4373
|
-
}
|
|
4374
|
-
PublishMultiEditionRequest.fromProto = function (proto) {
|
|
4375
|
-
var m = new PublishMultiEditionRequest();
|
|
4376
|
-
m = Object.assign(m, proto);
|
|
4377
|
-
return m;
|
|
4378
|
-
};
|
|
4379
|
-
PublishMultiEditionRequest.prototype.toApiJson = function () {
|
|
4380
|
-
var toReturn = {};
|
|
4381
|
-
if (typeof this.appId !== 'undefined') {
|
|
4382
|
-
toReturn['appId'] = this.appId;
|
|
4383
|
-
}
|
|
4384
|
-
if (typeof this.editionIds !== 'undefined') {
|
|
4385
|
-
toReturn['editionIds'] = this.editionIds;
|
|
4386
|
-
}
|
|
4387
|
-
return toReturn;
|
|
4388
|
-
};
|
|
4389
|
-
return PublishMultiEditionRequest;
|
|
4390
|
-
}());
|
|
4391
4403
|
var UpdateEditionRequest = /** @class */ (function () {
|
|
4392
4404
|
function UpdateEditionRequest(kwargs) {
|
|
4393
4405
|
if (!kwargs) {
|
|
@@ -4579,10 +4591,6 @@
|
|
|
4579
4591
|
var request = (r.toApiJson) ? r : new UpdateMultiEditionRequest(r);
|
|
4580
4592
|
return this.http.post(this.hostService.hostWithScheme() + "/marketplaceapps.v1.Editions/UpdateMulti", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4581
4593
|
};
|
|
4582
|
-
EditionsApiService.prototype.publishMulti = function (r) {
|
|
4583
|
-
var request = (r.toApiJson) ? r : new PublishMultiEditionRequest(r);
|
|
4584
|
-
return this.http.post(this.hostService.hostWithScheme() + "/marketplaceapps.v1.Editions/PublishMulti", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4585
|
-
};
|
|
4586
4594
|
EditionsApiService.prototype.delete = function (r) {
|
|
4587
4595
|
var request = (r.toApiJson) ? r : new DeleteEditionRequest(r);
|
|
4588
4596
|
return this.http.post(this.hostService.hostWithScheme() + "/marketplaceapps.v1.Editions/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
@@ -4844,6 +4852,10 @@
|
|
|
4844
4852
|
var request = (r.toApiJson) ? r : new UnsuspendAppRequest(r);
|
|
4845
4853
|
return this.http.post(this.hostService.hostWithScheme() + "/marketplaceapps.v1.MarketplaceApps/UnsuspendApp", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4846
4854
|
};
|
|
4855
|
+
MarketplaceAppsApiService.prototype.requestAppReview = function (r) {
|
|
4856
|
+
var request = (r.toApiJson) ? r : new RequestAppReviewRequest(r);
|
|
4857
|
+
return this.http.post(this.hostService.hostWithScheme() + "/marketplaceapps.v1.MarketplaceApps/RequestAppReview", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4858
|
+
};
|
|
4847
4859
|
return MarketplaceAppsApiService;
|
|
4848
4860
|
}());
|
|
4849
4861
|
MarketplaceAppsApiService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MarketplaceAppsApiService_Factory() { return new MarketplaceAppsApiService(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(HostService)); }, token: MarketplaceAppsApiService, providedIn: "root" });
|
|
@@ -5052,6 +5064,12 @@
|
|
|
5052
5064
|
});
|
|
5053
5065
|
return this.apiService.unsuspendApp(req).pipe(operators.map(function () { return true; }));
|
|
5054
5066
|
};
|
|
5067
|
+
MarketplaceAppService.prototype.requestAppReview = function (appId) {
|
|
5068
|
+
var req = new RequestAppReviewRequest({
|
|
5069
|
+
appId: appId,
|
|
5070
|
+
});
|
|
5071
|
+
return this.apiService.requestAppReview(req).pipe(operators.map(function () { return true; }));
|
|
5072
|
+
};
|
|
5055
5073
|
MarketplaceAppService.prototype.updateAppFulfillmentIntegration = function (appId, usesFulfillmentIntegration) {
|
|
5056
5074
|
var request = new UpdateAppFulfillmentIntegrationRequest({
|
|
5057
5075
|
appId: appId, usesFulfillmentIntegration: usesFulfillmentIntegration
|
|
@@ -5196,6 +5214,13 @@
|
|
|
5196
5214
|
});
|
|
5197
5215
|
return this.apiService.getMulti(req).pipe(operators.map(function (resp) { return resp.editions; }));
|
|
5198
5216
|
};
|
|
5217
|
+
EditionsService.prototype.getMultiDraft = function (appId, editionIds) {
|
|
5218
|
+
var req = new GetMultiDraftEditionRequest({
|
|
5219
|
+
appId: appId,
|
|
5220
|
+
editionIds: editionIds,
|
|
5221
|
+
});
|
|
5222
|
+
return this.apiService.getMultiDraft(req).pipe(operators.map(function (resp) { return resp.editions; }));
|
|
5223
|
+
};
|
|
5199
5224
|
EditionsService.prototype.listEditionsForApp = function (appId, cursor, pageSize) {
|
|
5200
5225
|
var req = new ListEditionsForAppRequest({
|
|
5201
5226
|
appId: appId,
|
|
@@ -5204,6 +5229,14 @@
|
|
|
5204
5229
|
});
|
|
5205
5230
|
return this.apiService.listEditionsForApp(req).pipe(operators.map(function (resp) { return resp.editions; }));
|
|
5206
5231
|
};
|
|
5232
|
+
EditionsService.prototype.listDraftEditionsForApp = function (appId, cursor, pageSize) {
|
|
5233
|
+
var req = new ListDraftEditionsForAppRequest({
|
|
5234
|
+
appId: appId,
|
|
5235
|
+
cursor: cursor,
|
|
5236
|
+
pageSize: pageSize,
|
|
5237
|
+
});
|
|
5238
|
+
return this.apiService.listDraftEditionsForApp(req).pipe(operators.map(function (resp) { return resp.editions; }));
|
|
5239
|
+
};
|
|
5207
5240
|
EditionsService.prototype.getMultiEditionForMultiApp = function (editionIdentifiersList) {
|
|
5208
5241
|
var req = new GetMultiEditionForMultiAppRequest({
|
|
5209
5242
|
appEditionIdPairs: editionIdentifiersList
|
|
@@ -5370,9 +5403,9 @@
|
|
|
5370
5403
|
exports.ProductCost = ProductCost;
|
|
5371
5404
|
exports.ProductCostEditionCostEntry = ProductCostEditionCostEntry;
|
|
5372
5405
|
exports.PublishAppRequest = PublishAppRequest;
|
|
5373
|
-
exports.PublishMultiEditionRequest = PublishMultiEditionRequest;
|
|
5374
5406
|
exports.RemoveAppIDRequest = RemoveAppIDRequest;
|
|
5375
5407
|
exports.RemoveAppIDResponse = RemoveAppIDResponse;
|
|
5408
|
+
exports.RequestAppReviewRequest = RequestAppReviewRequest;
|
|
5376
5409
|
exports.RequiredBusinessData = RequiredBusinessData;
|
|
5377
5410
|
exports.RequiredFeatures = RequiredFeatures;
|
|
5378
5411
|
exports.RestoreAppRequest = RestoreAppRequest;
|