@parra/parra-js-sdk 0.3.333 → 0.3.334

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.
@@ -3722,6 +3722,7 @@ declare class ParraAPI {
3722
3722
  updateBillingSourceById: (tenant_id: string, billing_source_id: string, body: UpdateBillingSourceRequestBody, options?: Options) => Promise<BillingSource>;
3723
3723
  deleteBillingSourceById: (tenant_id: string, billing_source_id: string, options?: Options) => Promise<Response>;
3724
3724
  setupAppStoreServerNotificationsForAppleBillingSource: (tenant_id: string, billing_source_id: string, options?: Options) => Promise<Response>;
3725
+ testAppStoreServerNotificationsForAppleBillingSource: (tenant_id: string, billing_source_id: string, options?: Options) => Promise<Response>;
3725
3726
  createEntitlement: (tenant_id: string, body?: CreateEntitlementRequestBody, options?: Options) => Promise<Entitlement>;
3726
3727
  listEntitlements: (tenant_id: string, options?: Options) => Promise<Array<Entitlement>>;
3727
3728
  getEntitlementById: (tenant_id: string, entitlement_id: string, options?: Options) => Promise<Entitlement>;
package/dist/ParraAPI.js CHANGED
@@ -535,6 +535,10 @@ var ParraAPI = /** @class */ (function () {
535
535
  if (options === void 0) { options = {}; }
536
536
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/billing/sources/").concat(billing_source_id, "/apple/app-store-server-notifications"), __assign({ method: "post" }, options));
537
537
  };
538
+ this.testAppStoreServerNotificationsForAppleBillingSource = function (tenant_id, billing_source_id, options) {
539
+ if (options === void 0) { options = {}; }
540
+ return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/billing/sources/").concat(billing_source_id, "/apple/app-store-server-notifications/test"), __assign({ method: "post" }, options));
541
+ };
538
542
  this.createEntitlement = function (tenant_id, body, options) {
539
543
  if (options === void 0) { options = {}; }
540
544
  return _this.http.execute("".concat(_this.options.baseUrl, "/v1/tenants/").concat(tenant_id, "/billing/entitlements"), __assign({ method: "post", body: JSON.stringify(body), headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.333",
3
+ "version": "0.3.334",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",