@bitbar/cloud-api-client 1.1.5 → 1.1.6

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,4 +1,4 @@
1
- /* @bitbar/cloud-api-client v1.1.5 | Copyright 2024 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.1.6 | Copyright 2024 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('axios'), require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
@@ -10,7 +10,7 @@
10
10
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
11
11
  var finka__default = /*#__PURE__*/_interopDefaultLegacy(finka);
12
12
 
13
- var version = "1.1.5";
13
+ var version = "1.1.6";
14
14
 
15
15
  /******************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
@@ -1502,10 +1502,7 @@
1502
1502
  if (id == null) {
1503
1503
  throw new Error('Resource ID cannot be null!');
1504
1504
  }
1505
- const billingPeriod = new APIResource(this);
1506
- billingPeriod.last += '-services';
1507
- billingPeriod.push(id, 'billing-period');
1508
- return billingPeriod;
1505
+ return new APIResource(this).push('account-services', id, 'billing-period');
1509
1506
  }
1510
1507
  }
1511
1508