swoop-common 2.2.155 → 2.2.157
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/dist/api/generated/core/models/ComponentInstance.d.ts +1 -0
- package/dist/api/generated/core/models/SwoopSyncComponentInstance.d.ts +1 -0
- package/dist/api/generated/swoop/models/Person.d.ts +1 -0
- package/dist/api/generated/swoop/models/Person_jsonld.d.ts +1 -0
- package/dist/api/generated/swoop/models/Person_jsonld_read.d.ts +1 -0
- package/dist/api/generated/swoop/models/Person_read.d.ts +1 -0
- package/dist/api/generated/swoop/services/SwoopService.d.ts +2 -1
- package/dist/api/generated/swoop/services/SwoopService.js +3 -1
- package/package.json +1 -1
|
@@ -309,10 +309,11 @@ export declare class SwoopService {
|
|
|
309
309
|
* Retrieves the collection of Person resources.
|
|
310
310
|
* @param region antarctica, arctic, patagonia
|
|
311
311
|
* @param all 1,0 - include all records or just the active ones - default 0
|
|
312
|
+
* @param groupsArray Filter by group names, e.g. groups[]=manager&groups[]=sales. Valid values: superadmin, admin, sales, customer, partner, flight-specialist, bookings, accounts, other, has-sales-targets, manager, avatar-content-enabled
|
|
312
313
|
* @returns any Successful response
|
|
313
314
|
* @throws ApiError
|
|
314
315
|
*/
|
|
315
|
-
peopleGetCollection(region?: string, all?: string): CancelablePromise<{
|
|
316
|
+
peopleGetCollection(region?: string, all?: string, groupsArray?: string): CancelablePromise<{
|
|
316
317
|
people?: Array<Person>;
|
|
317
318
|
}>;
|
|
318
319
|
/**
|
|
@@ -494,16 +494,18 @@ export class SwoopService {
|
|
|
494
494
|
* Retrieves the collection of Person resources.
|
|
495
495
|
* @param region antarctica, arctic, patagonia
|
|
496
496
|
* @param all 1,0 - include all records or just the active ones - default 0
|
|
497
|
+
* @param groupsArray Filter by group names, e.g. groups[]=manager&groups[]=sales. Valid values: superadmin, admin, sales, customer, partner, flight-specialist, bookings, accounts, other, has-sales-targets, manager, avatar-content-enabled
|
|
497
498
|
* @returns any Successful response
|
|
498
499
|
* @throws ApiError
|
|
499
500
|
*/
|
|
500
|
-
peopleGetCollection(region, all) {
|
|
501
|
+
peopleGetCollection(region, all, groupsArray) {
|
|
501
502
|
return __request(OpenAPI, {
|
|
502
503
|
method: 'GET',
|
|
503
504
|
url: '/api/people',
|
|
504
505
|
query: {
|
|
505
506
|
'region': region,
|
|
506
507
|
'all': all,
|
|
508
|
+
'groups[]': groupsArray,
|
|
507
509
|
},
|
|
508
510
|
});
|
|
509
511
|
}
|