@emilgroup/tenant-sdk-node 1.0.0 → 1.0.1
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/README.md +2 -2
- package/api/data-report-executor-api.ts +6 -22
- package/api/invite-organizations-api.ts +12 -44
- package/api/invite-users-api.ts +20 -20
- package/api/organizations-api.ts +8 -8
- package/api/users-api.ts +36 -36
- package/dist/api/data-report-executor-api.d.ts +3 -12
- package/dist/api/data-report-executor-api.js +6 -14
- package/dist/api/invite-organizations-api.d.ts +6 -24
- package/dist/api/invite-organizations-api.js +12 -28
- package/dist/api/invite-users-api.d.ts +20 -20
- package/dist/api/invite-users-api.js +15 -15
- package/dist/api/organizations-api.d.ts +8 -8
- package/dist/api/organizations-api.js +6 -6
- package/dist/api/users-api.d.ts +36 -36
- package/dist/api/users-api.js +27 -27
- package/package.json +1 -1
package/api/users-api.ts
CHANGED
|
@@ -58,7 +58,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
58
58
|
return {
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
|
-
* @param {string} authorization Bearer Token
|
|
61
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
62
|
* @param {number} id
|
|
63
63
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
@@ -110,7 +110,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
110
110
|
},
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
|
-
* @param {string} authorization Bearer Token
|
|
113
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
114
|
* @param {number} id
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
@@ -156,7 +156,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
156
156
|
},
|
|
157
157
|
/**
|
|
158
158
|
*
|
|
159
|
-
* @param {string} authorization Bearer Token
|
|
159
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
160
160
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
@@ -204,7 +204,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
204
204
|
},
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
|
-
* @param {string} authorization Bearer Token
|
|
207
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
208
|
* @param {number} id
|
|
209
209
|
* @param {*} [options] Override http request option.
|
|
210
210
|
* @throws {RequiredError}
|
|
@@ -250,7 +250,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
250
250
|
},
|
|
251
251
|
/**
|
|
252
252
|
*
|
|
253
|
-
* @param {string} authorization Bearer Token
|
|
253
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -298,7 +298,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
298
298
|
},
|
|
299
299
|
/**
|
|
300
300
|
*
|
|
301
|
-
* @param {string} authorization Bearer Token
|
|
301
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
302
302
|
* @param {number} id
|
|
303
303
|
* @param {*} [options] Override http request option.
|
|
304
304
|
* @throws {RequiredError}
|
|
@@ -344,7 +344,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
346
|
*
|
|
347
|
-
* @param {string} authorization Bearer Token
|
|
347
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
348
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
349
349
|
* @param {*} [options] Override http request option.
|
|
350
350
|
* @throws {RequiredError}
|
|
@@ -392,7 +392,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
392
392
|
},
|
|
393
393
|
/**
|
|
394
394
|
*
|
|
395
|
-
* @param {string} authorization Bearer Token
|
|
395
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
396
|
* @param {string} code
|
|
397
397
|
* @param {string} code2 code
|
|
398
398
|
* @param {string} [expand] Fields to expand response by
|
|
@@ -451,7 +451,7 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
451
451
|
/**
|
|
452
452
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
453
453
|
* @summary List users
|
|
454
|
-
* @param {string} authorization Bearer Token
|
|
454
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
455
455
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
456
456
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
457
457
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -533,7 +533,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
533
533
|
return {
|
|
534
534
|
/**
|
|
535
535
|
*
|
|
536
|
-
* @param {string} authorization Bearer Token
|
|
536
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
537
537
|
* @param {number} id
|
|
538
538
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
@@ -545,7 +545,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
545
545
|
},
|
|
546
546
|
/**
|
|
547
547
|
*
|
|
548
|
-
* @param {string} authorization Bearer Token
|
|
548
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
549
549
|
* @param {number} id
|
|
550
550
|
* @param {*} [options] Override http request option.
|
|
551
551
|
* @throws {RequiredError}
|
|
@@ -556,7 +556,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
556
556
|
},
|
|
557
557
|
/**
|
|
558
558
|
*
|
|
559
|
-
* @param {string} authorization Bearer Token
|
|
559
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
560
560
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
561
561
|
* @param {*} [options] Override http request option.
|
|
562
562
|
* @throws {RequiredError}
|
|
@@ -567,7 +567,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
567
567
|
},
|
|
568
568
|
/**
|
|
569
569
|
*
|
|
570
|
-
* @param {string} authorization Bearer Token
|
|
570
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
571
571
|
* @param {number} id
|
|
572
572
|
* @param {*} [options] Override http request option.
|
|
573
573
|
* @throws {RequiredError}
|
|
@@ -578,7 +578,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
578
578
|
},
|
|
579
579
|
/**
|
|
580
580
|
*
|
|
581
|
-
* @param {string} authorization Bearer Token
|
|
581
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
582
582
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
583
583
|
* @param {*} [options] Override http request option.
|
|
584
584
|
* @throws {RequiredError}
|
|
@@ -589,7 +589,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
589
589
|
},
|
|
590
590
|
/**
|
|
591
591
|
*
|
|
592
|
-
* @param {string} authorization Bearer Token
|
|
592
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
593
593
|
* @param {number} id
|
|
594
594
|
* @param {*} [options] Override http request option.
|
|
595
595
|
* @throws {RequiredError}
|
|
@@ -600,7 +600,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
600
600
|
},
|
|
601
601
|
/**
|
|
602
602
|
*
|
|
603
|
-
* @param {string} authorization Bearer Token
|
|
603
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
604
604
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
605
605
|
* @param {*} [options] Override http request option.
|
|
606
606
|
* @throws {RequiredError}
|
|
@@ -611,7 +611,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
611
611
|
},
|
|
612
612
|
/**
|
|
613
613
|
*
|
|
614
|
-
* @param {string} authorization Bearer Token
|
|
614
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
615
615
|
* @param {string} code
|
|
616
616
|
* @param {string} code2 code
|
|
617
617
|
* @param {string} [expand] Fields to expand response by
|
|
@@ -625,7 +625,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
625
625
|
/**
|
|
626
626
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
627
627
|
* @summary List users
|
|
628
|
-
* @param {string} authorization Bearer Token
|
|
628
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
629
629
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
630
630
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
631
631
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -651,7 +651,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
651
651
|
return {
|
|
652
652
|
/**
|
|
653
653
|
*
|
|
654
|
-
* @param {string} authorization Bearer Token
|
|
654
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
655
655
|
* @param {number} id
|
|
656
656
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
657
657
|
* @param {*} [options] Override http request option.
|
|
@@ -662,7 +662,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
662
662
|
},
|
|
663
663
|
/**
|
|
664
664
|
*
|
|
665
|
-
* @param {string} authorization Bearer Token
|
|
665
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
666
666
|
* @param {number} id
|
|
667
667
|
* @param {*} [options] Override http request option.
|
|
668
668
|
* @throws {RequiredError}
|
|
@@ -672,7 +672,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
672
672
|
},
|
|
673
673
|
/**
|
|
674
674
|
*
|
|
675
|
-
* @param {string} authorization Bearer Token
|
|
675
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
676
676
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
677
677
|
* @param {*} [options] Override http request option.
|
|
678
678
|
* @throws {RequiredError}
|
|
@@ -682,7 +682,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
682
682
|
},
|
|
683
683
|
/**
|
|
684
684
|
*
|
|
685
|
-
* @param {string} authorization Bearer Token
|
|
685
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
686
686
|
* @param {number} id
|
|
687
687
|
* @param {*} [options] Override http request option.
|
|
688
688
|
* @throws {RequiredError}
|
|
@@ -692,7 +692,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
692
692
|
},
|
|
693
693
|
/**
|
|
694
694
|
*
|
|
695
|
-
* @param {string} authorization Bearer Token
|
|
695
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
696
696
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
697
697
|
* @param {*} [options] Override http request option.
|
|
698
698
|
* @throws {RequiredError}
|
|
@@ -702,7 +702,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
702
702
|
},
|
|
703
703
|
/**
|
|
704
704
|
*
|
|
705
|
-
* @param {string} authorization Bearer Token
|
|
705
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
706
706
|
* @param {number} id
|
|
707
707
|
* @param {*} [options] Override http request option.
|
|
708
708
|
* @throws {RequiredError}
|
|
@@ -712,7 +712,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
712
712
|
},
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
|
-
* @param {string} authorization Bearer Token
|
|
715
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
716
716
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
717
717
|
* @param {*} [options] Override http request option.
|
|
718
718
|
* @throws {RequiredError}
|
|
@@ -722,7 +722,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
722
722
|
},
|
|
723
723
|
/**
|
|
724
724
|
*
|
|
725
|
-
* @param {string} authorization Bearer Token
|
|
725
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
726
726
|
* @param {string} code
|
|
727
727
|
* @param {string} code2 code
|
|
728
728
|
* @param {string} [expand] Fields to expand response by
|
|
@@ -735,7 +735,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
735
735
|
/**
|
|
736
736
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
737
737
|
* @summary List users
|
|
738
|
-
* @param {string} authorization Bearer Token
|
|
738
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
739
739
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
740
740
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
741
741
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -758,7 +758,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
758
758
|
*/
|
|
759
759
|
export interface UsersApiAssignUserRolesRequest {
|
|
760
760
|
/**
|
|
761
|
-
* Bearer Token
|
|
761
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
762
762
|
* @type {string}
|
|
763
763
|
* @memberof UsersApiAssignUserRoles
|
|
764
764
|
*/
|
|
@@ -786,7 +786,7 @@ export interface UsersApiAssignUserRolesRequest {
|
|
|
786
786
|
*/
|
|
787
787
|
export interface UsersApiDeleteUserRequest {
|
|
788
788
|
/**
|
|
789
|
-
* Bearer Token
|
|
789
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
790
790
|
* @type {string}
|
|
791
791
|
* @memberof UsersApiDeleteUser
|
|
792
792
|
*/
|
|
@@ -807,7 +807,7 @@ export interface UsersApiDeleteUserRequest {
|
|
|
807
807
|
*/
|
|
808
808
|
export interface UsersApiDeleteUsersRequest {
|
|
809
809
|
/**
|
|
810
|
-
* Bearer Token
|
|
810
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
811
811
|
* @type {string}
|
|
812
812
|
* @memberof UsersApiDeleteUsers
|
|
813
813
|
*/
|
|
@@ -828,7 +828,7 @@ export interface UsersApiDeleteUsersRequest {
|
|
|
828
828
|
*/
|
|
829
829
|
export interface UsersApiDisableUserRequest {
|
|
830
830
|
/**
|
|
831
|
-
* Bearer Token
|
|
831
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
832
832
|
* @type {string}
|
|
833
833
|
* @memberof UsersApiDisableUser
|
|
834
834
|
*/
|
|
@@ -849,7 +849,7 @@ export interface UsersApiDisableUserRequest {
|
|
|
849
849
|
*/
|
|
850
850
|
export interface UsersApiDisableUsersRequest {
|
|
851
851
|
/**
|
|
852
|
-
* Bearer Token
|
|
852
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
853
853
|
* @type {string}
|
|
854
854
|
* @memberof UsersApiDisableUsers
|
|
855
855
|
*/
|
|
@@ -870,7 +870,7 @@ export interface UsersApiDisableUsersRequest {
|
|
|
870
870
|
*/
|
|
871
871
|
export interface UsersApiEnableUserRequest {
|
|
872
872
|
/**
|
|
873
|
-
* Bearer Token
|
|
873
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
874
874
|
* @type {string}
|
|
875
875
|
* @memberof UsersApiEnableUser
|
|
876
876
|
*/
|
|
@@ -891,7 +891,7 @@ export interface UsersApiEnableUserRequest {
|
|
|
891
891
|
*/
|
|
892
892
|
export interface UsersApiEnableUsersRequest {
|
|
893
893
|
/**
|
|
894
|
-
* Bearer Token
|
|
894
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
895
895
|
* @type {string}
|
|
896
896
|
* @memberof UsersApiEnableUsers
|
|
897
897
|
*/
|
|
@@ -912,7 +912,7 @@ export interface UsersApiEnableUsersRequest {
|
|
|
912
912
|
*/
|
|
913
913
|
export interface UsersApiGetUserRequest {
|
|
914
914
|
/**
|
|
915
|
-
* Bearer Token
|
|
915
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
916
916
|
* @type {string}
|
|
917
917
|
* @memberof UsersApiGetUser
|
|
918
918
|
*/
|
|
@@ -947,7 +947,7 @@ export interface UsersApiGetUserRequest {
|
|
|
947
947
|
*/
|
|
948
948
|
export interface UsersApiListUsersRequest {
|
|
949
949
|
/**
|
|
950
|
-
* Bearer Token
|
|
950
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
951
951
|
* @type {string}
|
|
952
952
|
* @memberof UsersApiListUsers
|
|
953
953
|
*/
|
|
@@ -21,13 +21,12 @@ import { RunDataReportResponseClass } from '../models';
|
|
|
21
21
|
export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
24
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
26
25
|
* @param {string} [authorization] Bearer Token
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
runDataReport: (
|
|
29
|
+
runDataReport: (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
};
|
|
32
31
|
/**
|
|
33
32
|
* DataReportExecutorApi - functional programming interface
|
|
@@ -36,13 +35,12 @@ export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Co
|
|
|
36
35
|
export declare const DataReportExecutorApiFp: (configuration?: Configuration) => {
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
38
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
41
39
|
* @param {string} [authorization] Bearer Token
|
|
42
40
|
* @param {*} [options] Override http request option.
|
|
43
41
|
* @throws {RequiredError}
|
|
44
42
|
*/
|
|
45
|
-
runDataReport(
|
|
43
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* DataReportExecutorApi - factory interface
|
|
@@ -51,13 +49,12 @@ export declare const DataReportExecutorApiFp: (configuration?: Configuration) =>
|
|
|
51
49
|
export declare const DataReportExecutorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
50
|
/**
|
|
53
51
|
*
|
|
54
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
52
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
56
53
|
* @param {string} [authorization] Bearer Token
|
|
57
54
|
* @param {*} [options] Override http request option.
|
|
58
55
|
* @throws {RequiredError}
|
|
59
56
|
*/
|
|
60
|
-
runDataReport(
|
|
57
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
|
|
61
58
|
};
|
|
62
59
|
/**
|
|
63
60
|
* Request parameters for runDataReport operation in DataReportExecutorApi.
|
|
@@ -65,12 +62,6 @@ export declare const DataReportExecutorApiFactory: (configuration?: Configuratio
|
|
|
65
62
|
* @interface DataReportExecutorApiRunDataReportRequest
|
|
66
63
|
*/
|
|
67
64
|
export interface DataReportExecutorApiRunDataReportRequest {
|
|
68
|
-
/**
|
|
69
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof DataReportExecutorApiRunDataReport
|
|
72
|
-
*/
|
|
73
|
-
readonly authorization2: string;
|
|
74
65
|
/**
|
|
75
66
|
*
|
|
76
67
|
* @type {RunDataReportRequestDto}
|
|
@@ -98,21 +98,18 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
101
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
103
102
|
* @param {string} [authorization] Bearer Token
|
|
104
103
|
* @param {*} [options] Override http request option.
|
|
105
104
|
* @throws {RequiredError}
|
|
106
105
|
*/
|
|
107
|
-
runDataReport: function (
|
|
106
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
108
107
|
if (options === void 0) { options = {}; }
|
|
109
108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
109
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
110
|
return __generator(this, function (_a) {
|
|
112
111
|
switch (_a.label) {
|
|
113
112
|
case 0:
|
|
114
|
-
// verify required parameter 'authorization2' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('runDataReport', 'authorization2', authorization2);
|
|
116
113
|
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
117
114
|
(0, common_1.assertParamExists)('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto);
|
|
118
115
|
localVarPath = "/tenantservice/v1/data-report-executor";
|
|
@@ -134,9 +131,6 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
|
|
|
134
131
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
135
132
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
133
|
}
|
|
137
|
-
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
138
|
-
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
139
|
-
}
|
|
140
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
142
136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -162,18 +156,17 @@ var DataReportExecutorApiFp = function (configuration) {
|
|
|
162
156
|
return {
|
|
163
157
|
/**
|
|
164
158
|
*
|
|
165
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
159
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
167
160
|
* @param {string} [authorization] Bearer Token
|
|
168
161
|
* @param {*} [options] Override http request option.
|
|
169
162
|
* @throws {RequiredError}
|
|
170
163
|
*/
|
|
171
|
-
runDataReport: function (
|
|
164
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
172
165
|
return __awaiter(this, void 0, void 0, function () {
|
|
173
166
|
var localVarAxiosArgs;
|
|
174
167
|
return __generator(this, function (_a) {
|
|
175
168
|
switch (_a.label) {
|
|
176
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(
|
|
169
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options)];
|
|
177
170
|
case 1:
|
|
178
171
|
localVarAxiosArgs = _a.sent();
|
|
179
172
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -193,14 +186,13 @@ var DataReportExecutorApiFactory = function (configuration, basePath, axios) {
|
|
|
193
186
|
return {
|
|
194
187
|
/**
|
|
195
188
|
*
|
|
196
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
189
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
198
190
|
* @param {string} [authorization] Bearer Token
|
|
199
191
|
* @param {*} [options] Override http request option.
|
|
200
192
|
* @throws {RequiredError}
|
|
201
193
|
*/
|
|
202
|
-
runDataReport: function (
|
|
203
|
-
return localVarFp.runDataReport(
|
|
194
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
195
|
+
return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
204
196
|
},
|
|
205
197
|
};
|
|
206
198
|
};
|
|
@@ -225,7 +217,7 @@ var DataReportExecutorApi = /** @class */ (function (_super) {
|
|
|
225
217
|
*/
|
|
226
218
|
DataReportExecutorApi.prototype.runDataReport = function (requestParameters, options) {
|
|
227
219
|
var _this = this;
|
|
228
|
-
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.
|
|
220
|
+
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
229
221
|
};
|
|
230
222
|
return DataReportExecutorApi;
|
|
231
223
|
}(base_1.BaseAPI));
|
|
@@ -24,17 +24,15 @@ export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: C
|
|
|
24
24
|
* This sends an email to invite an organization.
|
|
25
25
|
* @summary Invite an organization
|
|
26
26
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
|
-
* @param {string} authorization2 Bearer Token
|
|
28
27
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
inviteOrg: (authorization: string,
|
|
31
|
+
inviteOrg: (authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
32
|
/**
|
|
34
33
|
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
35
34
|
* @summary List org invitations
|
|
36
35
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
37
|
-
* @param {string} authorization2 Bearer Token
|
|
38
36
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
39
37
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
40
38
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -44,7 +42,7 @@ export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: C
|
|
|
44
42
|
* @param {*} [options] Override http request option.
|
|
45
43
|
* @throws {RequiredError}
|
|
46
44
|
*/
|
|
47
|
-
listOrgInvitations: (authorization: string,
|
|
45
|
+
listOrgInvitations: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
46
|
};
|
|
49
47
|
/**
|
|
50
48
|
* InviteOrganizationsApi - functional programming interface
|
|
@@ -55,17 +53,15 @@ export declare const InviteOrganizationsApiFp: (configuration?: Configuration) =
|
|
|
55
53
|
* This sends an email to invite an organization.
|
|
56
54
|
* @summary Invite an organization
|
|
57
55
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
-
* @param {string} authorization2 Bearer Token
|
|
59
56
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
60
57
|
* @param {*} [options] Override http request option.
|
|
61
58
|
* @throws {RequiredError}
|
|
62
59
|
*/
|
|
63
|
-
inviteOrg(authorization: string,
|
|
60
|
+
inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
|
|
64
61
|
/**
|
|
65
62
|
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
66
63
|
* @summary List org invitations
|
|
67
64
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
|
-
* @param {string} authorization2 Bearer Token
|
|
69
65
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
70
66
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
71
67
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -75,7 +71,7 @@ export declare const InviteOrganizationsApiFp: (configuration?: Configuration) =
|
|
|
75
71
|
* @param {*} [options] Override http request option.
|
|
76
72
|
* @throws {RequiredError}
|
|
77
73
|
*/
|
|
78
|
-
listOrgInvitations(authorization: string,
|
|
74
|
+
listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
79
75
|
};
|
|
80
76
|
/**
|
|
81
77
|
* InviteOrganizationsApi - factory interface
|
|
@@ -86,17 +82,15 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
|
|
|
86
82
|
* This sends an email to invite an organization.
|
|
87
83
|
* @summary Invite an organization
|
|
88
84
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
-
* @param {string} authorization2 Bearer Token
|
|
90
85
|
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
91
86
|
* @param {*} [options] Override http request option.
|
|
92
87
|
* @throws {RequiredError}
|
|
93
88
|
*/
|
|
94
|
-
inviteOrg(authorization: string,
|
|
89
|
+
inviteOrg(authorization: string, inviteOrgRequestDto: InviteOrgRequestDto, options?: any): AxiosPromise<OrgInvitationResponseClass>;
|
|
95
90
|
/**
|
|
96
91
|
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
97
92
|
* @summary List org invitations
|
|
98
93
|
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
-
* @param {string} authorization2 Bearer Token
|
|
100
94
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
101
95
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
102
96
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -106,7 +100,7 @@ export declare const InviteOrganizationsApiFactory: (configuration?: Configurati
|
|
|
106
100
|
* @param {*} [options] Override http request option.
|
|
107
101
|
* @throws {RequiredError}
|
|
108
102
|
*/
|
|
109
|
-
listOrgInvitations(authorization: string,
|
|
103
|
+
listOrgInvitations(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
110
104
|
};
|
|
111
105
|
/**
|
|
112
106
|
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
@@ -120,12 +114,6 @@ export interface InviteOrganizationsApiInviteOrgRequest {
|
|
|
120
114
|
* @memberof InviteOrganizationsApiInviteOrg
|
|
121
115
|
*/
|
|
122
116
|
readonly authorization: string;
|
|
123
|
-
/**
|
|
124
|
-
* Bearer Token
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof InviteOrganizationsApiInviteOrg
|
|
127
|
-
*/
|
|
128
|
-
readonly authorization2: string;
|
|
129
117
|
/**
|
|
130
118
|
*
|
|
131
119
|
* @type {InviteOrgRequestDto}
|
|
@@ -145,12 +133,6 @@ export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
|
145
133
|
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
146
134
|
*/
|
|
147
135
|
readonly authorization: string;
|
|
148
|
-
/**
|
|
149
|
-
* Bearer Token
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
152
|
-
*/
|
|
153
|
-
readonly authorization2: string;
|
|
154
136
|
/**
|
|
155
137
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
156
138
|
* @type {any}
|