pipedrive 33.7.0 → 33.7.2
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/esm/versions/v1/api/legacy-teams-api.d.ts +32 -32
- package/dist/esm/versions/v1/api/legacy-teams-api.js +32 -32
- package/dist/esm/versions/v2/api/deal-installments-api.js +3 -3
- package/dist/esm/versions/v2/api/deals-api.js +3 -3
- package/dist/versions/v1/api/legacy-teams-api.d.ts +32 -32
- package/dist/versions/v1/api/legacy-teams-api.js +32 -32
- package/dist/versions/v2/api/deal-installments-api.js +3 -3
- package/dist/versions/v2/api/deals-api.js +3 -3
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28
28
|
* Adds a new team to the company and returns the created object.
|
|
29
29
|
* @summary Add a new team
|
|
30
30
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
34
|
addTeam: (AddTeamRequest1?: AddTeamRequest1) => Promise<RequestArgs>;
|
|
@@ -37,7 +37,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
37
37
|
* @summary Add users to a team
|
|
38
38
|
* @param {number} id The ID of the team
|
|
39
39
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
40
|
-
|
|
40
|
+
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
43
|
addTeamUser: (id: number, AddTeamUserRequest?: AddTeamUserRequest) => Promise<RequestArgs>;
|
|
@@ -46,7 +46,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
46
46
|
* @summary Delete users from a team
|
|
47
47
|
* @param {number} id The ID of the team
|
|
48
48
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
49
|
-
|
|
49
|
+
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
52
|
deleteTeamUser: (id: number, DeleteTeamUserRequest?: DeleteTeamUserRequest) => Promise<RequestArgs>;
|
|
@@ -55,7 +55,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
55
55
|
* @summary Get a single team
|
|
56
56
|
* @param {number} id The ID of the team
|
|
57
57
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
61
61
|
getTeam: (id: number, skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -63,7 +63,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
63
63
|
* Returns a list of all user IDs within a team.
|
|
64
64
|
* @summary Get all users in a team
|
|
65
65
|
* @param {number} id The ID of the team
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
69
|
getTeamUsers: (id: number) => Promise<RequestArgs>;
|
|
@@ -72,7 +72,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
72
72
|
* @summary Get all teams
|
|
73
73
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
74
74
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
78
|
getTeams: (order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -82,7 +82,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
82
82
|
* @param {number} id The ID of the user
|
|
83
83
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
84
84
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
88
|
getUserTeams: (id: number, order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -91,7 +91,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
91
91
|
* @summary Update a team
|
|
92
92
|
* @param {number} id The ID of the team
|
|
93
93
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
94
|
-
|
|
94
|
+
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
97
|
updateTeam: (id: number, UpdateTeamRequest?: UpdateTeamRequest) => Promise<RequestArgs>;
|
|
@@ -105,7 +105,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* Adds a new team to the company and returns the created object.
|
|
106
106
|
* @summary Add a new team
|
|
107
107
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
108
|
-
|
|
108
|
+
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
111
|
addTeam(AddTeamRequest1?: AddTeamRequest1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -114,7 +114,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
114
114
|
* @summary Add users to a team
|
|
115
115
|
* @param {number} id The ID of the team
|
|
116
116
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
117
|
-
|
|
117
|
+
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
120
|
addTeamUser(id: number, AddTeamUserRequest?: AddTeamUserRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -123,7 +123,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
123
123
|
* @summary Delete users from a team
|
|
124
124
|
* @param {number} id The ID of the team
|
|
125
125
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
129
|
deleteTeamUser(id: number, DeleteTeamUserRequest?: DeleteTeamUserRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -132,7 +132,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
132
132
|
* @summary Get a single team
|
|
133
133
|
* @param {number} id The ID of the team
|
|
134
134
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
138
|
getTeam(id: number, skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -140,7 +140,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
140
140
|
* Returns a list of all user IDs within a team.
|
|
141
141
|
* @summary Get all users in a team
|
|
142
142
|
* @param {number} id The ID of the team
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
146
|
getTeamUsers(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -149,7 +149,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
149
149
|
* @summary Get all teams
|
|
150
150
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
151
151
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
152
|
-
|
|
152
|
+
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
155
|
getTeams(order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamsResponse>>;
|
|
@@ -159,7 +159,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
159
159
|
* @param {number} id The ID of the user
|
|
160
160
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
161
161
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
162
|
-
|
|
162
|
+
|
|
163
163
|
* @throws {RequiredError}
|
|
164
164
|
*/
|
|
165
165
|
getUserTeams(id: number, order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamsResponse>>;
|
|
@@ -168,7 +168,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
168
168
|
* @summary Update a team
|
|
169
169
|
* @param {number} id The ID of the team
|
|
170
170
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
171
|
-
|
|
171
|
+
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
174
|
updateTeam(id: number, UpdateTeamRequest?: UpdateTeamRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -182,7 +182,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
182
182
|
* Adds a new team to the company and returns the created object.
|
|
183
183
|
* @summary Add a new team
|
|
184
184
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
185
|
-
|
|
185
|
+
|
|
186
186
|
* @throws {RequiredError}
|
|
187
187
|
*/
|
|
188
188
|
addTeam(requestParameters?: LegacyTeamsApiAddTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -190,7 +190,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
190
190
|
* Adds users to an existing team.
|
|
191
191
|
* @summary Add users to a team
|
|
192
192
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
193
|
-
|
|
193
|
+
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
196
|
addTeamUser(requestParameters: LegacyTeamsApiAddTeamUserRequest): Promise<UserIds>;
|
|
@@ -198,7 +198,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
198
198
|
* Deletes users from an existing team.
|
|
199
199
|
* @summary Delete users from a team
|
|
200
200
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
204
|
deleteTeamUser(requestParameters: LegacyTeamsApiDeleteTeamUserRequest): Promise<UserIds>;
|
|
@@ -206,7 +206,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
206
206
|
* Returns data about a specific team.
|
|
207
207
|
* @summary Get a single team
|
|
208
208
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
* @throws {RequiredError}
|
|
211
211
|
*/
|
|
212
212
|
getTeam(requestParameters: LegacyTeamsApiGetTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -214,7 +214,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
214
214
|
* Returns a list of all user IDs within a team.
|
|
215
215
|
* @summary Get all users in a team
|
|
216
216
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
217
|
-
|
|
217
|
+
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
220
|
getTeamUsers(requestParameters: LegacyTeamsApiGetTeamUsersRequest): Promise<UserIds>;
|
|
@@ -222,7 +222,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
222
222
|
* Returns data about teams within the company.
|
|
223
223
|
* @summary Get all teams
|
|
224
224
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
225
|
-
|
|
225
|
+
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
228
|
getTeams(requestParameters?: LegacyTeamsApiGetTeamsRequest): Promise<GetTeamsResponse>;
|
|
@@ -230,7 +230,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
230
230
|
* Returns data about all teams which have the specified user as a member.
|
|
231
231
|
* @summary Get all teams of a user
|
|
232
232
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
233
|
-
|
|
233
|
+
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
236
|
getUserTeams(requestParameters: LegacyTeamsApiGetUserTeamsRequest): Promise<GetTeamsResponse>;
|
|
@@ -238,7 +238,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
238
238
|
* Updates an existing team and returns the updated object.
|
|
239
239
|
* @summary Update a team
|
|
240
240
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
241
|
-
|
|
241
|
+
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
*/
|
|
244
244
|
updateTeam(requestParameters: LegacyTeamsApiUpdateTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -400,7 +400,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
400
400
|
* Adds a new team to the company and returns the created object.
|
|
401
401
|
* @summary Add a new team
|
|
402
402
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
403
|
-
|
|
403
|
+
|
|
404
404
|
* @throws {RequiredError}
|
|
405
405
|
* @memberof LegacyTeamsApi
|
|
406
406
|
*/
|
|
@@ -409,7 +409,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
409
409
|
* Adds users to an existing team.
|
|
410
410
|
* @summary Add users to a team
|
|
411
411
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
412
|
-
|
|
412
|
+
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
* @memberof LegacyTeamsApi
|
|
415
415
|
*/
|
|
@@ -418,7 +418,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
418
418
|
* Deletes users from an existing team.
|
|
419
419
|
* @summary Delete users from a team
|
|
420
420
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
421
|
-
|
|
421
|
+
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
* @memberof LegacyTeamsApi
|
|
424
424
|
*/
|
|
@@ -427,7 +427,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
427
427
|
* Returns data about a specific team.
|
|
428
428
|
* @summary Get a single team
|
|
429
429
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
430
|
-
|
|
430
|
+
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
* @memberof LegacyTeamsApi
|
|
433
433
|
*/
|
|
@@ -436,7 +436,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
436
436
|
* Returns a list of all user IDs within a team.
|
|
437
437
|
* @summary Get all users in a team
|
|
438
438
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
439
|
-
|
|
439
|
+
|
|
440
440
|
* @throws {RequiredError}
|
|
441
441
|
* @memberof LegacyTeamsApi
|
|
442
442
|
*/
|
|
@@ -445,7 +445,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
445
445
|
* Returns data about teams within the company.
|
|
446
446
|
* @summary Get all teams
|
|
447
447
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
448
|
-
|
|
448
|
+
|
|
449
449
|
* @throws {RequiredError}
|
|
450
450
|
* @memberof LegacyTeamsApi
|
|
451
451
|
*/
|
|
@@ -454,7 +454,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
454
454
|
* Returns data about all teams which have the specified user as a member.
|
|
455
455
|
* @summary Get all teams of a user
|
|
456
456
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
457
|
-
|
|
457
|
+
|
|
458
458
|
* @throws {RequiredError}
|
|
459
459
|
* @memberof LegacyTeamsApi
|
|
460
460
|
*/
|
|
@@ -463,7 +463,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
463
463
|
* Updates an existing team and returns the updated object.
|
|
464
464
|
* @summary Update a team
|
|
465
465
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
466
|
-
|
|
466
|
+
|
|
467
467
|
* @throws {RequiredError}
|
|
468
468
|
* @memberof LegacyTeamsApi
|
|
469
469
|
*/
|
|
@@ -36,7 +36,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
36
36
|
* Adds a new team to the company and returns the created object.
|
|
37
37
|
* @summary Add a new team
|
|
38
38
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
42
|
addTeam: (AddTeamRequest1) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -70,7 +70,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
70
70
|
* @summary Add users to a team
|
|
71
71
|
* @param {number} id The ID of the team
|
|
72
72
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
76
|
addTeamUser: (id, AddTeamUserRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -107,7 +107,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
* @summary Delete users from a team
|
|
108
108
|
* @param {number} id The ID of the team
|
|
109
109
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
110
|
-
|
|
110
|
+
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
113
|
deleteTeamUser: (id, DeleteTeamUserRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -144,7 +144,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
* @summary Get a single team
|
|
145
145
|
* @param {number} id The ID of the team
|
|
146
146
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
* @throws {RequiredError}
|
|
149
149
|
*/
|
|
150
150
|
getTeam: (id, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -181,7 +181,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
* Returns a list of all user IDs within a team.
|
|
182
182
|
* @summary Get all users in a team
|
|
183
183
|
* @param {number} id The ID of the team
|
|
184
|
-
|
|
184
|
+
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
*/
|
|
187
187
|
getTeamUsers: (id) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -216,7 +216,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
216
216
|
* @summary Get all teams
|
|
217
217
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
218
218
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
219
|
-
|
|
219
|
+
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
222
|
getTeams: (order_by, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -255,7 +255,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
255
255
|
* @param {number} id The ID of the user
|
|
256
256
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
257
257
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
258
|
-
|
|
258
|
+
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
261
|
getUserTeams: (id, order_by, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -296,7 +296,7 @@ export const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
296
296
|
* @summary Update a team
|
|
297
297
|
* @param {number} id The ID of the team
|
|
298
298
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
299
|
-
|
|
299
|
+
|
|
300
300
|
* @throws {RequiredError}
|
|
301
301
|
*/
|
|
302
302
|
updateTeam: (id, UpdateTeamRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -341,7 +341,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
341
341
|
* Adds a new team to the company and returns the created object.
|
|
342
342
|
* @summary Add a new team
|
|
343
343
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
344
|
-
|
|
344
|
+
|
|
345
345
|
* @throws {RequiredError}
|
|
346
346
|
*/
|
|
347
347
|
addTeam(AddTeamRequest1) {
|
|
@@ -355,7 +355,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
355
355
|
* @summary Add users to a team
|
|
356
356
|
* @param {number} id The ID of the team
|
|
357
357
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
358
|
-
|
|
358
|
+
|
|
359
359
|
* @throws {RequiredError}
|
|
360
360
|
*/
|
|
361
361
|
addTeamUser(id, AddTeamUserRequest) {
|
|
@@ -369,7 +369,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
369
369
|
* @summary Delete users from a team
|
|
370
370
|
* @param {number} id The ID of the team
|
|
371
371
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
372
|
-
|
|
372
|
+
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
*/
|
|
375
375
|
deleteTeamUser(id, DeleteTeamUserRequest) {
|
|
@@ -383,7 +383,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
383
383
|
* @summary Get a single team
|
|
384
384
|
* @param {number} id The ID of the team
|
|
385
385
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
386
|
-
|
|
386
|
+
|
|
387
387
|
* @throws {RequiredError}
|
|
388
388
|
*/
|
|
389
389
|
getTeam(id, skip_users) {
|
|
@@ -396,7 +396,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
396
396
|
* Returns a list of all user IDs within a team.
|
|
397
397
|
* @summary Get all users in a team
|
|
398
398
|
* @param {number} id The ID of the team
|
|
399
|
-
|
|
399
|
+
|
|
400
400
|
* @throws {RequiredError}
|
|
401
401
|
*/
|
|
402
402
|
getTeamUsers(id) {
|
|
@@ -410,7 +410,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
410
410
|
* @summary Get all teams
|
|
411
411
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
412
412
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
413
|
-
|
|
413
|
+
|
|
414
414
|
* @throws {RequiredError}
|
|
415
415
|
*/
|
|
416
416
|
getTeams(order_by, skip_users) {
|
|
@@ -425,7 +425,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
425
425
|
* @param {number} id The ID of the user
|
|
426
426
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
427
427
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
431
431
|
getUserTeams(id, order_by, skip_users) {
|
|
@@ -439,7 +439,7 @@ export const LegacyTeamsApiFp = function (configuration) {
|
|
|
439
439
|
* @summary Update a team
|
|
440
440
|
* @param {number} id The ID of the team
|
|
441
441
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
442
|
-
|
|
442
|
+
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
*/
|
|
445
445
|
updateTeam(id, UpdateTeamRequest) {
|
|
@@ -461,7 +461,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
461
461
|
* Adds a new team to the company and returns the created object.
|
|
462
462
|
* @summary Add a new team
|
|
463
463
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
464
|
-
|
|
464
|
+
|
|
465
465
|
* @throws {RequiredError}
|
|
466
466
|
*/
|
|
467
467
|
addTeam(requestParameters = {}) {
|
|
@@ -471,7 +471,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
471
471
|
* Adds users to an existing team.
|
|
472
472
|
* @summary Add users to a team
|
|
473
473
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
474
|
-
|
|
474
|
+
|
|
475
475
|
* @throws {RequiredError}
|
|
476
476
|
*/
|
|
477
477
|
addTeamUser(requestParameters) {
|
|
@@ -481,7 +481,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
481
481
|
* Deletes users from an existing team.
|
|
482
482
|
* @summary Delete users from a team
|
|
483
483
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
484
|
-
|
|
484
|
+
|
|
485
485
|
* @throws {RequiredError}
|
|
486
486
|
*/
|
|
487
487
|
deleteTeamUser(requestParameters) {
|
|
@@ -491,7 +491,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
491
491
|
* Returns data about a specific team.
|
|
492
492
|
* @summary Get a single team
|
|
493
493
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
494
|
-
|
|
494
|
+
|
|
495
495
|
* @throws {RequiredError}
|
|
496
496
|
*/
|
|
497
497
|
getTeam(requestParameters) {
|
|
@@ -501,7 +501,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
501
501
|
* Returns a list of all user IDs within a team.
|
|
502
502
|
* @summary Get all users in a team
|
|
503
503
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
504
|
-
|
|
504
|
+
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
*/
|
|
507
507
|
getTeamUsers(requestParameters) {
|
|
@@ -511,7 +511,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
511
511
|
* Returns data about teams within the company.
|
|
512
512
|
* @summary Get all teams
|
|
513
513
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
514
|
-
|
|
514
|
+
|
|
515
515
|
* @throws {RequiredError}
|
|
516
516
|
*/
|
|
517
517
|
getTeams(requestParameters = {}) {
|
|
@@ -521,7 +521,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
521
521
|
* Returns data about all teams which have the specified user as a member.
|
|
522
522
|
* @summary Get all teams of a user
|
|
523
523
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
524
|
-
|
|
524
|
+
|
|
525
525
|
* @throws {RequiredError}
|
|
526
526
|
*/
|
|
527
527
|
getUserTeams(requestParameters) {
|
|
@@ -531,7 +531,7 @@ export const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
531
|
* Updates an existing team and returns the updated object.
|
|
532
532
|
* @summary Update a team
|
|
533
533
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
534
|
-
|
|
534
|
+
|
|
535
535
|
* @throws {RequiredError}
|
|
536
536
|
*/
|
|
537
537
|
updateTeam(requestParameters) {
|
|
@@ -550,7 +550,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
550
550
|
* Adds a new team to the company and returns the created object.
|
|
551
551
|
* @summary Add a new team
|
|
552
552
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
553
|
-
|
|
553
|
+
|
|
554
554
|
* @throws {RequiredError}
|
|
555
555
|
* @memberof LegacyTeamsApi
|
|
556
556
|
*/
|
|
@@ -561,7 +561,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
561
561
|
* Adds users to an existing team.
|
|
562
562
|
* @summary Add users to a team
|
|
563
563
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
564
|
-
|
|
564
|
+
|
|
565
565
|
* @throws {RequiredError}
|
|
566
566
|
* @memberof LegacyTeamsApi
|
|
567
567
|
*/
|
|
@@ -572,7 +572,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
572
572
|
* Deletes users from an existing team.
|
|
573
573
|
* @summary Delete users from a team
|
|
574
574
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
575
|
-
|
|
575
|
+
|
|
576
576
|
* @throws {RequiredError}
|
|
577
577
|
* @memberof LegacyTeamsApi
|
|
578
578
|
*/
|
|
@@ -583,7 +583,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
583
583
|
* Returns data about a specific team.
|
|
584
584
|
* @summary Get a single team
|
|
585
585
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
586
|
-
|
|
586
|
+
|
|
587
587
|
* @throws {RequiredError}
|
|
588
588
|
* @memberof LegacyTeamsApi
|
|
589
589
|
*/
|
|
@@ -594,7 +594,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
594
594
|
* Returns a list of all user IDs within a team.
|
|
595
595
|
* @summary Get all users in a team
|
|
596
596
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
597
|
-
|
|
597
|
+
|
|
598
598
|
* @throws {RequiredError}
|
|
599
599
|
* @memberof LegacyTeamsApi
|
|
600
600
|
*/
|
|
@@ -605,7 +605,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
605
605
|
* Returns data about teams within the company.
|
|
606
606
|
* @summary Get all teams
|
|
607
607
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
608
|
-
|
|
608
|
+
|
|
609
609
|
* @throws {RequiredError}
|
|
610
610
|
* @memberof LegacyTeamsApi
|
|
611
611
|
*/
|
|
@@ -616,7 +616,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
616
616
|
* Returns data about all teams which have the specified user as a member.
|
|
617
617
|
* @summary Get all teams of a user
|
|
618
618
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
619
|
-
|
|
619
|
+
|
|
620
620
|
* @throws {RequiredError}
|
|
621
621
|
* @memberof LegacyTeamsApi
|
|
622
622
|
*/
|
|
@@ -627,7 +627,7 @@ export class LegacyTeamsApi extends BaseAPI {
|
|
|
627
627
|
* Updates an existing team and returns the updated object.
|
|
628
628
|
* @summary Update a team
|
|
629
629
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
630
|
-
|
|
630
|
+
|
|
631
631
|
* @throws {RequiredError}
|
|
632
632
|
* @memberof LegacyTeamsApi
|
|
633
633
|
*/
|
|
@@ -61,7 +61,7 @@ export const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
61
61
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
62
62
|
// authentication oauth2 required
|
|
63
63
|
// oauth required
|
|
64
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
64
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
65
65
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66
66
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
67
67
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -148,7 +148,7 @@ export const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
149
149
|
// authentication oauth2 required
|
|
150
150
|
// oauth required
|
|
151
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
151
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
152
152
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
153
153
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -189,7 +189,7 @@ export const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
190
190
|
// authentication oauth2 required
|
|
191
191
|
// oauth required
|
|
192
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
192
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
193
193
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
194
194
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
195
195
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -165,7 +165,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
165
165
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
166
166
|
// authentication oauth2 required
|
|
167
167
|
// oauth required
|
|
168
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
168
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
169
169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
171
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -674,7 +674,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
674
674
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
675
675
|
// authentication oauth2 required
|
|
676
676
|
// oauth required
|
|
677
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
677
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
678
678
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
679
679
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
680
680
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -783,7 +783,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
783
783
|
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
|
784
784
|
// authentication oauth2 required
|
|
785
785
|
// oauth required
|
|
786
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:
|
|
786
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
787
787
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
788
788
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
789
789
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -28,7 +28,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
28
28
|
* Adds a new team to the company and returns the created object.
|
|
29
29
|
* @summary Add a new team
|
|
30
30
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
34
|
addTeam: (AddTeamRequest1?: AddTeamRequest1) => Promise<RequestArgs>;
|
|
@@ -37,7 +37,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
37
37
|
* @summary Add users to a team
|
|
38
38
|
* @param {number} id The ID of the team
|
|
39
39
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
40
|
-
|
|
40
|
+
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
43
|
addTeamUser: (id: number, AddTeamUserRequest?: AddTeamUserRequest) => Promise<RequestArgs>;
|
|
@@ -46,7 +46,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
46
46
|
* @summary Delete users from a team
|
|
47
47
|
* @param {number} id The ID of the team
|
|
48
48
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
49
|
-
|
|
49
|
+
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
52
|
deleteTeamUser: (id: number, DeleteTeamUserRequest?: DeleteTeamUserRequest) => Promise<RequestArgs>;
|
|
@@ -55,7 +55,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
55
55
|
* @summary Get a single team
|
|
56
56
|
* @param {number} id The ID of the team
|
|
57
57
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
61
61
|
getTeam: (id: number, skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -63,7 +63,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
63
63
|
* Returns a list of all user IDs within a team.
|
|
64
64
|
* @summary Get all users in a team
|
|
65
65
|
* @param {number} id The ID of the team
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
69
|
getTeamUsers: (id: number) => Promise<RequestArgs>;
|
|
@@ -72,7 +72,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
72
72
|
* @summary Get all teams
|
|
73
73
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
74
74
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
78
|
getTeams: (order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -82,7 +82,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
82
82
|
* @param {number} id The ID of the user
|
|
83
83
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
84
84
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
88
|
getUserTeams: (id: number, order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1) => Promise<RequestArgs>;
|
|
@@ -91,7 +91,7 @@ export declare const LegacyTeamsApiAxiosParamCreator: (configuration?: Configura
|
|
|
91
91
|
* @summary Update a team
|
|
92
92
|
* @param {number} id The ID of the team
|
|
93
93
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
94
|
-
|
|
94
|
+
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
97
|
updateTeam: (id: number, UpdateTeamRequest?: UpdateTeamRequest) => Promise<RequestArgs>;
|
|
@@ -105,7 +105,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* Adds a new team to the company and returns the created object.
|
|
106
106
|
* @summary Add a new team
|
|
107
107
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
108
|
-
|
|
108
|
+
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
111
|
addTeam(AddTeamRequest1?: AddTeamRequest1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -114,7 +114,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
114
114
|
* @summary Add users to a team
|
|
115
115
|
* @param {number} id The ID of the team
|
|
116
116
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
117
|
-
|
|
117
|
+
|
|
118
118
|
* @throws {RequiredError}
|
|
119
119
|
*/
|
|
120
120
|
addTeamUser(id: number, AddTeamUserRequest?: AddTeamUserRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -123,7 +123,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
123
123
|
* @summary Delete users from a team
|
|
124
124
|
* @param {number} id The ID of the team
|
|
125
125
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
129
|
deleteTeamUser(id: number, DeleteTeamUserRequest?: DeleteTeamUserRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -132,7 +132,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
132
132
|
* @summary Get a single team
|
|
133
133
|
* @param {number} id The ID of the team
|
|
134
134
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
135
|
-
|
|
135
|
+
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
138
|
getTeam(id: number, skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -140,7 +140,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
140
140
|
* Returns a list of all user IDs within a team.
|
|
141
141
|
* @summary Get all users in a team
|
|
142
142
|
* @param {number} id The ID of the team
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
146
|
getTeamUsers(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
|
@@ -149,7 +149,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
149
149
|
* @summary Get all teams
|
|
150
150
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
151
151
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
152
|
-
|
|
152
|
+
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
155
|
getTeams(order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamsResponse>>;
|
|
@@ -159,7 +159,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
159
159
|
* @param {number} id The ID of the user
|
|
160
160
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
161
161
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
162
|
-
|
|
162
|
+
|
|
163
163
|
* @throws {RequiredError}
|
|
164
164
|
*/
|
|
165
165
|
getUserTeams(id: number, order_by?: 'id' | 'name' | 'manager_id' | 'active_flag', skip_users?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamsResponse>>;
|
|
@@ -168,7 +168,7 @@ export declare const LegacyTeamsApiFp: (configuration?: Configuration) => {
|
|
|
168
168
|
* @summary Update a team
|
|
169
169
|
* @param {number} id The ID of the team
|
|
170
170
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
171
|
-
|
|
171
|
+
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
174
|
updateTeam(id: number, UpdateTeamRequest?: UpdateTeamRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetTeamResponse>>;
|
|
@@ -182,7 +182,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
182
182
|
* Adds a new team to the company and returns the created object.
|
|
183
183
|
* @summary Add a new team
|
|
184
184
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
185
|
-
|
|
185
|
+
|
|
186
186
|
* @throws {RequiredError}
|
|
187
187
|
*/
|
|
188
188
|
addTeam(requestParameters?: LegacyTeamsApiAddTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -190,7 +190,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
190
190
|
* Adds users to an existing team.
|
|
191
191
|
* @summary Add users to a team
|
|
192
192
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
193
|
-
|
|
193
|
+
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
196
|
addTeamUser(requestParameters: LegacyTeamsApiAddTeamUserRequest): Promise<UserIds>;
|
|
@@ -198,7 +198,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
198
198
|
* Deletes users from an existing team.
|
|
199
199
|
* @summary Delete users from a team
|
|
200
200
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
204
|
deleteTeamUser(requestParameters: LegacyTeamsApiDeleteTeamUserRequest): Promise<UserIds>;
|
|
@@ -206,7 +206,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
206
206
|
* Returns data about a specific team.
|
|
207
207
|
* @summary Get a single team
|
|
208
208
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
209
|
-
|
|
209
|
+
|
|
210
210
|
* @throws {RequiredError}
|
|
211
211
|
*/
|
|
212
212
|
getTeam(requestParameters: LegacyTeamsApiGetTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -214,7 +214,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
214
214
|
* Returns a list of all user IDs within a team.
|
|
215
215
|
* @summary Get all users in a team
|
|
216
216
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
217
|
-
|
|
217
|
+
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
220
|
getTeamUsers(requestParameters: LegacyTeamsApiGetTeamUsersRequest): Promise<UserIds>;
|
|
@@ -222,7 +222,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
222
222
|
* Returns data about teams within the company.
|
|
223
223
|
* @summary Get all teams
|
|
224
224
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
225
|
-
|
|
225
|
+
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
228
|
getTeams(requestParameters?: LegacyTeamsApiGetTeamsRequest): Promise<GetTeamsResponse>;
|
|
@@ -230,7 +230,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
230
230
|
* Returns data about all teams which have the specified user as a member.
|
|
231
231
|
* @summary Get all teams of a user
|
|
232
232
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
233
|
-
|
|
233
|
+
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
236
|
getUserTeams(requestParameters: LegacyTeamsApiGetUserTeamsRequest): Promise<GetTeamsResponse>;
|
|
@@ -238,7 +238,7 @@ export declare const LegacyTeamsApiFactory: (configuration?: Configuration, base
|
|
|
238
238
|
* Updates an existing team and returns the updated object.
|
|
239
239
|
* @summary Update a team
|
|
240
240
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
241
|
-
|
|
241
|
+
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
*/
|
|
244
244
|
updateTeam(requestParameters: LegacyTeamsApiUpdateTeamRequest): Promise<GetTeamResponse>;
|
|
@@ -400,7 +400,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
400
400
|
* Adds a new team to the company and returns the created object.
|
|
401
401
|
* @summary Add a new team
|
|
402
402
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
403
|
-
|
|
403
|
+
|
|
404
404
|
* @throws {RequiredError}
|
|
405
405
|
* @memberof LegacyTeamsApi
|
|
406
406
|
*/
|
|
@@ -409,7 +409,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
409
409
|
* Adds users to an existing team.
|
|
410
410
|
* @summary Add users to a team
|
|
411
411
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
412
|
-
|
|
412
|
+
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
* @memberof LegacyTeamsApi
|
|
415
415
|
*/
|
|
@@ -418,7 +418,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
418
418
|
* Deletes users from an existing team.
|
|
419
419
|
* @summary Delete users from a team
|
|
420
420
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
421
|
-
|
|
421
|
+
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
* @memberof LegacyTeamsApi
|
|
424
424
|
*/
|
|
@@ -427,7 +427,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
427
427
|
* Returns data about a specific team.
|
|
428
428
|
* @summary Get a single team
|
|
429
429
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
430
|
-
|
|
430
|
+
|
|
431
431
|
* @throws {RequiredError}
|
|
432
432
|
* @memberof LegacyTeamsApi
|
|
433
433
|
*/
|
|
@@ -436,7 +436,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
436
436
|
* Returns a list of all user IDs within a team.
|
|
437
437
|
* @summary Get all users in a team
|
|
438
438
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
439
|
-
|
|
439
|
+
|
|
440
440
|
* @throws {RequiredError}
|
|
441
441
|
* @memberof LegacyTeamsApi
|
|
442
442
|
*/
|
|
@@ -445,7 +445,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
445
445
|
* Returns data about teams within the company.
|
|
446
446
|
* @summary Get all teams
|
|
447
447
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
448
|
-
|
|
448
|
+
|
|
449
449
|
* @throws {RequiredError}
|
|
450
450
|
* @memberof LegacyTeamsApi
|
|
451
451
|
*/
|
|
@@ -454,7 +454,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
454
454
|
* Returns data about all teams which have the specified user as a member.
|
|
455
455
|
* @summary Get all teams of a user
|
|
456
456
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
457
|
-
|
|
457
|
+
|
|
458
458
|
* @throws {RequiredError}
|
|
459
459
|
* @memberof LegacyTeamsApi
|
|
460
460
|
*/
|
|
@@ -463,7 +463,7 @@ export declare class LegacyTeamsApi extends BaseAPI {
|
|
|
463
463
|
* Updates an existing team and returns the updated object.
|
|
464
464
|
* @summary Update a team
|
|
465
465
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
466
|
-
|
|
466
|
+
|
|
467
467
|
* @throws {RequiredError}
|
|
468
468
|
* @memberof LegacyTeamsApi
|
|
469
469
|
*/
|
|
@@ -42,7 +42,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
* Adds a new team to the company and returns the created object.
|
|
43
43
|
* @summary Add a new team
|
|
44
44
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
48
|
addTeam: (AddTeamRequest1) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -76,7 +76,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
76
76
|
* @summary Add users to a team
|
|
77
77
|
* @param {number} id The ID of the team
|
|
78
78
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
82
|
addTeamUser: (id, AddTeamUserRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -113,7 +113,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
* @summary Delete users from a team
|
|
114
114
|
* @param {number} id The ID of the team
|
|
115
115
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
116
|
-
|
|
116
|
+
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
119
119
|
deleteTeamUser: (id, DeleteTeamUserRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -150,7 +150,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
* @summary Get a single team
|
|
151
151
|
* @param {number} id The ID of the team
|
|
152
152
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
153
|
-
|
|
153
|
+
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
156
|
getTeam: (id, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -187,7 +187,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
* Returns a list of all user IDs within a team.
|
|
188
188
|
* @summary Get all users in a team
|
|
189
189
|
* @param {number} id The ID of the team
|
|
190
|
-
|
|
190
|
+
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
*/
|
|
193
193
|
getTeamUsers: (id) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -222,7 +222,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
222
222
|
* @summary Get all teams
|
|
223
223
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
224
224
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
225
|
-
|
|
225
|
+
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
228
|
getTeams: (order_by, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -261,7 +261,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
261
261
|
* @param {number} id The ID of the user
|
|
262
262
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
263
263
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
264
|
-
|
|
264
|
+
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
*/
|
|
267
267
|
getUserTeams: (id, order_by, skip_users) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -302,7 +302,7 @@ const LegacyTeamsApiAxiosParamCreator = function (configuration) {
|
|
|
302
302
|
* @summary Update a team
|
|
303
303
|
* @param {number} id The ID of the team
|
|
304
304
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
305
|
-
|
|
305
|
+
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
*/
|
|
308
308
|
updateTeam: (id, UpdateTeamRequest) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -348,7 +348,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
348
348
|
* Adds a new team to the company and returns the created object.
|
|
349
349
|
* @summary Add a new team
|
|
350
350
|
* @param {AddTeamRequest1} [AddTeamRequest1]
|
|
351
|
-
|
|
351
|
+
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
*/
|
|
354
354
|
addTeam(AddTeamRequest1) {
|
|
@@ -362,7 +362,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
362
362
|
* @summary Add users to a team
|
|
363
363
|
* @param {number} id The ID of the team
|
|
364
364
|
* @param {AddTeamUserRequest} [AddTeamUserRequest]
|
|
365
|
-
|
|
365
|
+
|
|
366
366
|
* @throws {RequiredError}
|
|
367
367
|
*/
|
|
368
368
|
addTeamUser(id, AddTeamUserRequest) {
|
|
@@ -376,7 +376,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
376
376
|
* @summary Delete users from a team
|
|
377
377
|
* @param {number} id The ID of the team
|
|
378
378
|
* @param {DeleteTeamUserRequest} [DeleteTeamUserRequest]
|
|
379
|
-
|
|
379
|
+
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
*/
|
|
382
382
|
deleteTeamUser(id, DeleteTeamUserRequest) {
|
|
@@ -390,7 +390,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
390
390
|
* @summary Get a single team
|
|
391
391
|
* @param {number} id The ID of the team
|
|
392
392
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
393
|
-
|
|
393
|
+
|
|
394
394
|
* @throws {RequiredError}
|
|
395
395
|
*/
|
|
396
396
|
getTeam(id, skip_users) {
|
|
@@ -403,7 +403,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
403
403
|
* Returns a list of all user IDs within a team.
|
|
404
404
|
* @summary Get all users in a team
|
|
405
405
|
* @param {number} id The ID of the team
|
|
406
|
-
|
|
406
|
+
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
*/
|
|
409
409
|
getTeamUsers(id) {
|
|
@@ -417,7 +417,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
417
417
|
* @summary Get all teams
|
|
418
418
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
419
419
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
420
|
-
|
|
420
|
+
|
|
421
421
|
* @throws {RequiredError}
|
|
422
422
|
*/
|
|
423
423
|
getTeams(order_by, skip_users) {
|
|
@@ -432,7 +432,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
432
432
|
* @param {number} id The ID of the user
|
|
433
433
|
* @param {'id' | 'name' | 'manager_id' | 'active_flag'} [order_by] The field name to sort returned teams by
|
|
434
434
|
* @param {0 | 1} [skip_users] When enabled, the teams will not include IDs of member users
|
|
435
|
-
|
|
435
|
+
|
|
436
436
|
* @throws {RequiredError}
|
|
437
437
|
*/
|
|
438
438
|
getUserTeams(id, order_by, skip_users) {
|
|
@@ -446,7 +446,7 @@ const LegacyTeamsApiFp = function (configuration) {
|
|
|
446
446
|
* @summary Update a team
|
|
447
447
|
* @param {number} id The ID of the team
|
|
448
448
|
* @param {UpdateTeamRequest} [UpdateTeamRequest]
|
|
449
|
-
|
|
449
|
+
|
|
450
450
|
* @throws {RequiredError}
|
|
451
451
|
*/
|
|
452
452
|
updateTeam(id, UpdateTeamRequest) {
|
|
@@ -469,7 +469,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
469
469
|
* Adds a new team to the company and returns the created object.
|
|
470
470
|
* @summary Add a new team
|
|
471
471
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
472
|
-
|
|
472
|
+
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
475
475
|
addTeam(requestParameters = {}) {
|
|
@@ -479,7 +479,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
479
479
|
* Adds users to an existing team.
|
|
480
480
|
* @summary Add users to a team
|
|
481
481
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
482
|
-
|
|
482
|
+
|
|
483
483
|
* @throws {RequiredError}
|
|
484
484
|
*/
|
|
485
485
|
addTeamUser(requestParameters) {
|
|
@@ -489,7 +489,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
489
489
|
* Deletes users from an existing team.
|
|
490
490
|
* @summary Delete users from a team
|
|
491
491
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
492
|
-
|
|
492
|
+
|
|
493
493
|
* @throws {RequiredError}
|
|
494
494
|
*/
|
|
495
495
|
deleteTeamUser(requestParameters) {
|
|
@@ -499,7 +499,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
499
499
|
* Returns data about a specific team.
|
|
500
500
|
* @summary Get a single team
|
|
501
501
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
502
|
-
|
|
502
|
+
|
|
503
503
|
* @throws {RequiredError}
|
|
504
504
|
*/
|
|
505
505
|
getTeam(requestParameters) {
|
|
@@ -509,7 +509,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
509
509
|
* Returns a list of all user IDs within a team.
|
|
510
510
|
* @summary Get all users in a team
|
|
511
511
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
512
|
-
|
|
512
|
+
|
|
513
513
|
* @throws {RequiredError}
|
|
514
514
|
*/
|
|
515
515
|
getTeamUsers(requestParameters) {
|
|
@@ -519,7 +519,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
519
519
|
* Returns data about teams within the company.
|
|
520
520
|
* @summary Get all teams
|
|
521
521
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
522
|
-
|
|
522
|
+
|
|
523
523
|
* @throws {RequiredError}
|
|
524
524
|
*/
|
|
525
525
|
getTeams(requestParameters = {}) {
|
|
@@ -529,7 +529,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
529
529
|
* Returns data about all teams which have the specified user as a member.
|
|
530
530
|
* @summary Get all teams of a user
|
|
531
531
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
532
|
-
|
|
532
|
+
|
|
533
533
|
* @throws {RequiredError}
|
|
534
534
|
*/
|
|
535
535
|
getUserTeams(requestParameters) {
|
|
@@ -539,7 +539,7 @@ const LegacyTeamsApiFactory = function (configuration, basePath, axios) {
|
|
|
539
539
|
* Updates an existing team and returns the updated object.
|
|
540
540
|
* @summary Update a team
|
|
541
541
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
542
|
-
|
|
542
|
+
|
|
543
543
|
* @throws {RequiredError}
|
|
544
544
|
*/
|
|
545
545
|
updateTeam(requestParameters) {
|
|
@@ -559,7 +559,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
559
559
|
* Adds a new team to the company and returns the created object.
|
|
560
560
|
* @summary Add a new team
|
|
561
561
|
* @param {LegacyTeamsApiAddTeamRequest} requestParameters Request parameters.
|
|
562
|
-
|
|
562
|
+
|
|
563
563
|
* @throws {RequiredError}
|
|
564
564
|
* @memberof LegacyTeamsApi
|
|
565
565
|
*/
|
|
@@ -570,7 +570,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
570
570
|
* Adds users to an existing team.
|
|
571
571
|
* @summary Add users to a team
|
|
572
572
|
* @param {LegacyTeamsApiAddTeamUserRequest} requestParameters Request parameters.
|
|
573
|
-
|
|
573
|
+
|
|
574
574
|
* @throws {RequiredError}
|
|
575
575
|
* @memberof LegacyTeamsApi
|
|
576
576
|
*/
|
|
@@ -581,7 +581,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
581
581
|
* Deletes users from an existing team.
|
|
582
582
|
* @summary Delete users from a team
|
|
583
583
|
* @param {LegacyTeamsApiDeleteTeamUserRequest} requestParameters Request parameters.
|
|
584
|
-
|
|
584
|
+
|
|
585
585
|
* @throws {RequiredError}
|
|
586
586
|
* @memberof LegacyTeamsApi
|
|
587
587
|
*/
|
|
@@ -592,7 +592,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
592
592
|
* Returns data about a specific team.
|
|
593
593
|
* @summary Get a single team
|
|
594
594
|
* @param {LegacyTeamsApiGetTeamRequest} requestParameters Request parameters.
|
|
595
|
-
|
|
595
|
+
|
|
596
596
|
* @throws {RequiredError}
|
|
597
597
|
* @memberof LegacyTeamsApi
|
|
598
598
|
*/
|
|
@@ -603,7 +603,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
603
603
|
* Returns a list of all user IDs within a team.
|
|
604
604
|
* @summary Get all users in a team
|
|
605
605
|
* @param {LegacyTeamsApiGetTeamUsersRequest} requestParameters Request parameters.
|
|
606
|
-
|
|
606
|
+
|
|
607
607
|
* @throws {RequiredError}
|
|
608
608
|
* @memberof LegacyTeamsApi
|
|
609
609
|
*/
|
|
@@ -614,7 +614,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
614
614
|
* Returns data about teams within the company.
|
|
615
615
|
* @summary Get all teams
|
|
616
616
|
* @param {LegacyTeamsApiGetTeamsRequest} requestParameters Request parameters.
|
|
617
|
-
|
|
617
|
+
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
* @memberof LegacyTeamsApi
|
|
620
620
|
*/
|
|
@@ -625,7 +625,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
625
625
|
* Returns data about all teams which have the specified user as a member.
|
|
626
626
|
* @summary Get all teams of a user
|
|
627
627
|
* @param {LegacyTeamsApiGetUserTeamsRequest} requestParameters Request parameters.
|
|
628
|
-
|
|
628
|
+
|
|
629
629
|
* @throws {RequiredError}
|
|
630
630
|
* @memberof LegacyTeamsApi
|
|
631
631
|
*/
|
|
@@ -636,7 +636,7 @@ class LegacyTeamsApi extends base_1.BaseAPI {
|
|
|
636
636
|
* Updates an existing team and returns the updated object.
|
|
637
637
|
* @summary Update a team
|
|
638
638
|
* @param {LegacyTeamsApiUpdateTeamRequest} requestParameters Request parameters.
|
|
639
|
-
|
|
639
|
+
|
|
640
640
|
* @throws {RequiredError}
|
|
641
641
|
* @memberof LegacyTeamsApi
|
|
642
642
|
*/
|
|
@@ -67,7 +67,7 @@ const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
67
67
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
68
68
|
// authentication oauth2 required
|
|
69
69
|
// oauth required
|
|
70
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
70
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
71
71
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
72
72
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
73
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -154,7 +154,7 @@ const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
155
155
|
// authentication oauth2 required
|
|
156
156
|
// oauth required
|
|
157
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
157
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
158
158
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
159
159
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
160
160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -195,7 +195,7 @@ const DealInstallmentsApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
196
196
|
// authentication oauth2 required
|
|
197
197
|
// oauth required
|
|
198
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
198
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
199
199
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
200
200
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
201
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -171,7 +171,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
171
171
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
172
172
|
// authentication oauth2 required
|
|
173
173
|
// oauth required
|
|
174
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
174
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
175
175
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
176
176
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
177
|
localVarRequestOptions.headers = Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions);
|
|
@@ -680,7 +680,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
680
680
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
681
681
|
// authentication oauth2 required
|
|
682
682
|
// oauth required
|
|
683
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
683
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
684
684
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
685
685
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
686
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -789,7 +789,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
|
|
|
789
789
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
|
790
790
|
// authentication oauth2 required
|
|
791
791
|
// oauth required
|
|
792
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:
|
|
792
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full"], configuration);
|
|
793
793
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
794
794
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
795
795
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|