@or-sdk/billing 29.19.1-beta.10922.0 → 29.19.1-beta.10950.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.
@@ -65,7 +65,7 @@ var FlowsApi = (function (_super) {
65
65
  switch (_a.label) {
66
66
  case 0: return [4, this.apiCall({
67
67
  method: 'GET',
68
- route: "".concat(this.apiBasePath, "/live"),
68
+ route: "".concat(this.apiBasePath),
69
69
  params: params,
70
70
  })];
71
71
  case 1: return [2, _a.sent()];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sCAAqC;AAIrC;IAAsC,4BAAO;IAA7C;;QACmB,iBAAW,GAAG,OAAO,CAAC;;IA8BzC,CAAC;IAPc,4BAAS,GAAtB,UAAuB,MAAwB;;;;4BACtC,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,KAAK;4BACb,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,UAAO;4BACjC,MAAM,QAAA;yBACP,CAAC,EAAA;4BAJF,WAAO,SAIL,EAAC;;;;KACJ;IACH,eAAC;AAAD,CAAC,AA/BD,CAAsC,iBAAO,GA+B5C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sCAAqC;AAIrC;IAAsC,4BAAO;IAA7C;;QACmB,iBAAW,GAAG,OAAO,CAAC;;IA6BzC,CAAC;IAPc,4BAAS,GAAtB,UAAuB,MAAwB;;;;4BACtC,WAAM,IAAI,CAAC,OAAO,CAAC;4BACxB,MAAM,EAAE,KAAK;4BACb,KAAK,EAAE,UAAG,IAAI,CAAC,WAAW,CAAE;4BAC5B,MAAM,QAAA;yBACP,CAAC,EAAA;4BAJF,WAAO,SAIL,EAAC;;;;KACJ;IACH,eAAC;AAAD,CAAC,AA9BD,CAAsC,iBAAO,GA8B5C"}
@@ -17,7 +17,7 @@ export default class FlowsApi extends BaseApi {
17
17
  return __awaiter(this, void 0, void 0, function* () {
18
18
  return yield this.apiCall({
19
19
  method: 'GET',
20
- route: `${this.apiBasePath}/live`,
20
+ route: `${this.apiBasePath}`,
21
21
  params,
22
22
  });
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAA7C;;QACmB,gBAAW,GAAG,OAAO,CAAC;IA8BzC,CAAC;IAPc,SAAS,CAAC,MAAwB;;YAC7C,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,OAAO;gBACjC,MAAM;aACP,CAAC,CAAC;QACL,CAAC;KAAA;CACF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAIrC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAA7C;;QACmB,gBAAW,GAAG,OAAO,CAAC;IA6BzC,CAAC;IAPc,SAAS,CAAC,MAAwB;;YAC7C,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC;gBACxB,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;gBAC5B,MAAM;aACP,CAAC,CAAC;QACL,CAAC;KAAA;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAC3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAW;IAuB1B,SAAS,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAO3E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/flowsApi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,OAAO;IAC3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAW;IAsB1B,SAAS,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAO3E"}
@@ -11,6 +11,5 @@ export type FlowDto = {
11
11
  export type FlowsQueryParams = {
12
12
  accountId: string;
13
13
  environmentId: string;
14
- search?: string;
15
14
  } & RequestDto;
16
15
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/flowsApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/flowsApi/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@or-sdk/billing",
3
- "version": "29.19.1-beta.10922.0",
3
+ "version": "29.19.1-beta.10950.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "dependencies": {
9
- "@onereach/billing-dto": "^29.19.1-beta.10922.0",
10
- "@onereach/billing-shared": "^29.19.1-beta.10922.0",
9
+ "@onereach/billing-dto": "^29.19.1-beta.10950.0",
10
+ "@onereach/billing-shared": "^29.19.1-beta.10950.0",
11
11
  "@or-sdk/base": "^0.42.4",
12
12
  "@or-sdk/discovery": "1.10.6",
13
13
  "@types/qs": "6.14.0",
@@ -113,7 +113,7 @@ export default class AccountsApi extends BaseApi {
113
113
 
114
114
  /**
115
115
  * Updates an existing account by ID
116
- * NOTE: In the ops dev environment, you can only update accounts that exist in the ops dev environment
116
+ * NOTE: In ops-dev, remote account updates are limited to configured target environments
117
117
  * @param {string} id - The ID of the account to update
118
118
  * @param {UpdateAccountDto} data - Account data to update
119
119
  * @param {boolean} [data.billable] - Whether the account is billable
@@ -12,7 +12,6 @@ export default class FlowsApi extends BaseApi {
12
12
  * @param {Object} params - Query parameters for filtering environments
13
13
  * @param {string} params.accountId - Account Id
14
14
  * @param {string} params.environmentId - Environment Id
15
- * @param {string} [params.search] - Case-insensitive search by flow ID, flow name, or bot ID
16
15
  * @param {string} [params.page] - Page, default 1
17
16
  * @param {string} [params.limit] - Limit, default 50
18
17
  * @param {string} [params.sortBy] - sorting atribute, default 'createdAt'
@@ -31,7 +30,7 @@ export default class FlowsApi extends BaseApi {
31
30
  public async flowsList(params: FlowsQueryParams): Promise<FlowResponseDto> {
32
31
  return await this.apiCall({
33
32
  method: 'GET',
34
- route: `${this.apiBasePath}/live`,
33
+ route: `${this.apiBasePath}`,
35
34
  params,
36
35
  });
37
36
  }
@@ -13,5 +13,4 @@ export type FlowDto = {
13
13
  export type FlowsQueryParams = {
14
14
  accountId: string;
15
15
  environmentId: string;
16
- search?: string;
17
16
  } & RequestDto;