@veloceapps/api 8.0.0-153 → 8.0.0-155

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.
@@ -3210,13 +3210,16 @@ class SandboxManagerApiService {
3210
3210
  constructor(baseHttpService) {
3211
3211
  this.baseHttpService = baseHttpService;
3212
3212
  this.serviceUrl = '/admin/portal';
3213
- this.getSalesforceOrganizations$ = (skip = 1, name = '') => {
3214
- let params = new HttpParams();
3215
- params = params.append('count', (SandboxManagerApiService.MAX_RESULTS * skip).toString());
3216
- params = params.append('skip', '0');
3217
- params = params.append('name', name);
3218
- return this.baseHttpService.api({ url: `${this.serviceUrl}`, params });
3219
- };
3213
+ }
3214
+ getSalesforceOrganizations$(skip = 1, name = '') {
3215
+ return of([
3216
+ { id: '1', name: 'Organization 1', active: true },
3217
+ { id: '2', name: 'Organization 2', active: false },
3218
+ { id: '3', name: 'Organization 3', active: true },
3219
+ ]);
3220
+ }
3221
+ getAvailableSalesforceOrganizations$() {
3222
+ return of(2);
3220
3223
  }
3221
3224
  }
3222
3225
  SandboxManagerApiService.MAX_RESULTS = 60;