@closerplatform/spinner-openapi 0.12.0 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +121 -147
- package/dist/api.js +152 -151
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -318,10 +318,10 @@ export interface AgentCtx {
|
|
|
318
318
|
pendingEmail?: string;
|
|
319
319
|
/**
|
|
320
320
|
*
|
|
321
|
-
* @type {
|
|
321
|
+
* @type {AppPresence}
|
|
322
322
|
* @memberof AgentCtx
|
|
323
323
|
*/
|
|
324
|
-
presence:
|
|
324
|
+
presence: AppPresence;
|
|
325
325
|
/**
|
|
326
326
|
*
|
|
327
327
|
* @type {string}
|
|
@@ -330,10 +330,10 @@ export interface AgentCtx {
|
|
|
330
330
|
unavailabilityReason?: string;
|
|
331
331
|
/**
|
|
332
332
|
*
|
|
333
|
-
* @type {
|
|
333
|
+
* @type {UserRole}
|
|
334
334
|
* @memberof AgentCtx
|
|
335
335
|
*/
|
|
336
|
-
role:
|
|
336
|
+
role: UserRole;
|
|
337
337
|
/**
|
|
338
338
|
*
|
|
339
339
|
* @type {Array<string>}
|
|
@@ -383,20 +383,6 @@ export interface AgentCtx {
|
|
|
383
383
|
*/
|
|
384
384
|
tags: Array<string>;
|
|
385
385
|
}
|
|
386
|
-
/**
|
|
387
|
-
* @export
|
|
388
|
-
* @namespace AgentCtx
|
|
389
|
-
*/
|
|
390
|
-
export declare namespace AgentCtx {
|
|
391
|
-
/**
|
|
392
|
-
* @export
|
|
393
|
-
* @enum {string}
|
|
394
|
-
*/
|
|
395
|
-
enum RoleEnum {
|
|
396
|
-
ADMIN = "ADMIN",
|
|
397
|
-
AGENT = "AGENT"
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
386
|
/**
|
|
401
387
|
*
|
|
402
388
|
* @export
|
|
@@ -523,24 +509,10 @@ export interface AgentPreferences {
|
|
|
523
509
|
notifications: AgentPreferencesNotifications;
|
|
524
510
|
/**
|
|
525
511
|
*
|
|
526
|
-
* @type {
|
|
512
|
+
* @type {InboxSorting}
|
|
527
513
|
* @memberof AgentPreferences
|
|
528
514
|
*/
|
|
529
|
-
inboxSorting?:
|
|
530
|
-
}
|
|
531
|
-
/**
|
|
532
|
-
* @export
|
|
533
|
-
* @namespace AgentPreferences
|
|
534
|
-
*/
|
|
535
|
-
export declare namespace AgentPreferences {
|
|
536
|
-
/**
|
|
537
|
-
* @export
|
|
538
|
-
* @enum {string}
|
|
539
|
-
*/
|
|
540
|
-
enum InboxSortingEnum {
|
|
541
|
-
Newest = "newest",
|
|
542
|
-
Oldest = "oldest"
|
|
543
|
-
}
|
|
515
|
+
inboxSorting?: InboxSorting;
|
|
544
516
|
}
|
|
545
517
|
/**
|
|
546
518
|
*
|
|
@@ -575,10 +547,10 @@ export interface AgentPreferencesNotifications {
|
|
|
575
547
|
export interface AgentPresence {
|
|
576
548
|
/**
|
|
577
549
|
*
|
|
578
|
-
* @type {
|
|
550
|
+
* @type {AppPresence}
|
|
579
551
|
* @memberof AgentPresence
|
|
580
552
|
*/
|
|
581
|
-
presence:
|
|
553
|
+
presence: AppPresence;
|
|
582
554
|
/**
|
|
583
555
|
*
|
|
584
556
|
* @type {string}
|
|
@@ -586,22 +558,6 @@ export interface AgentPresence {
|
|
|
586
558
|
*/
|
|
587
559
|
reason?: string;
|
|
588
560
|
}
|
|
589
|
-
/**
|
|
590
|
-
* @export
|
|
591
|
-
* @namespace AgentPresence
|
|
592
|
-
*/
|
|
593
|
-
export declare namespace AgentPresence {
|
|
594
|
-
/**
|
|
595
|
-
* @export
|
|
596
|
-
* @enum {string}
|
|
597
|
-
*/
|
|
598
|
-
enum PresenceEnum {
|
|
599
|
-
Available = "available",
|
|
600
|
-
Away = "away",
|
|
601
|
-
Unavailable = "unavailable",
|
|
602
|
-
Unready = "unready"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
561
|
/**
|
|
606
562
|
*
|
|
607
563
|
* @export
|
|
@@ -646,10 +602,10 @@ export interface AgentProfile {
|
|
|
646
602
|
email: string;
|
|
647
603
|
/**
|
|
648
604
|
*
|
|
649
|
-
* @type {
|
|
605
|
+
* @type {AppPresence}
|
|
650
606
|
* @memberof AgentProfile
|
|
651
607
|
*/
|
|
652
|
-
presence:
|
|
608
|
+
presence: AppPresence;
|
|
653
609
|
/**
|
|
654
610
|
*
|
|
655
611
|
* @type {boolean}
|
|
@@ -815,6 +771,26 @@ export declare enum AppPermission {
|
|
|
815
771
|
MeetingsPageVisibility = "meetings_page_visibility",
|
|
816
772
|
HelpPageVisibility = "help_page_visibility"
|
|
817
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @export
|
|
777
|
+
* @enum {string}
|
|
778
|
+
*/
|
|
779
|
+
export declare enum AppPresence {
|
|
780
|
+
Available = "available",
|
|
781
|
+
Away = "away",
|
|
782
|
+
Unavailable = "unavailable",
|
|
783
|
+
Unready = "unready"
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @export
|
|
788
|
+
* @enum {string}
|
|
789
|
+
*/
|
|
790
|
+
export declare enum ArtichokePresence {
|
|
791
|
+
Available = "available",
|
|
792
|
+
Unavailable = "unavailable"
|
|
793
|
+
}
|
|
818
794
|
/**
|
|
819
795
|
*
|
|
820
796
|
* @export
|
|
@@ -2703,10 +2679,10 @@ export interface InboxEntry {
|
|
|
2703
2679
|
unreadCount: number;
|
|
2704
2680
|
/**
|
|
2705
2681
|
*
|
|
2706
|
-
* @type {
|
|
2682
|
+
* @type {ArtichokePresence}
|
|
2707
2683
|
* @memberof InboxEntry
|
|
2708
2684
|
*/
|
|
2709
|
-
ownerPresence:
|
|
2685
|
+
ownerPresence: ArtichokePresence;
|
|
2710
2686
|
/**
|
|
2711
2687
|
*
|
|
2712
2688
|
* @type {Array<string>}
|
|
@@ -2797,6 +2773,15 @@ export declare enum InboxEntryType {
|
|
|
2797
2773
|
CALLENDED = "CALL_ENDED",
|
|
2798
2774
|
FORM = "FORM"
|
|
2799
2775
|
}
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @export
|
|
2779
|
+
* @enum {string}
|
|
2780
|
+
*/
|
|
2781
|
+
export declare enum InboxSorting {
|
|
2782
|
+
Newest = "newest",
|
|
2783
|
+
Oldest = "oldest"
|
|
2784
|
+
}
|
|
2800
2785
|
/**
|
|
2801
2786
|
*
|
|
2802
2787
|
* @export
|
|
@@ -3365,10 +3350,10 @@ export interface LimitedAgentProfile {
|
|
|
3365
3350
|
avatarUrl?: string;
|
|
3366
3351
|
/**
|
|
3367
3352
|
*
|
|
3368
|
-
* @type {
|
|
3353
|
+
* @type {AppPresence}
|
|
3369
3354
|
* @memberof LimitedAgentProfile
|
|
3370
3355
|
*/
|
|
3371
|
-
presence:
|
|
3356
|
+
presence: AppPresence;
|
|
3372
3357
|
/**
|
|
3373
3358
|
*
|
|
3374
3359
|
* @type {boolean}
|
|
@@ -5005,24 +4990,10 @@ export interface PreferencesForm {
|
|
|
5005
4990
|
notifications?: PreferencesFormNotifications;
|
|
5006
4991
|
/**
|
|
5007
4992
|
*
|
|
5008
|
-
* @type {
|
|
4993
|
+
* @type {InboxSorting}
|
|
5009
4994
|
* @memberof PreferencesForm
|
|
5010
4995
|
*/
|
|
5011
|
-
inboxSorting?:
|
|
5012
|
-
}
|
|
5013
|
-
/**
|
|
5014
|
-
* @export
|
|
5015
|
-
* @namespace PreferencesForm
|
|
5016
|
-
*/
|
|
5017
|
-
export declare namespace PreferencesForm {
|
|
5018
|
-
/**
|
|
5019
|
-
* @export
|
|
5020
|
-
* @enum {string}
|
|
5021
|
-
*/
|
|
5022
|
-
enum InboxSortingEnum {
|
|
5023
|
-
Newest = "newest",
|
|
5024
|
-
Oldest = "oldest"
|
|
5025
|
-
}
|
|
4996
|
+
inboxSorting?: InboxSorting;
|
|
5026
4997
|
}
|
|
5027
4998
|
/**
|
|
5028
4999
|
*
|
|
@@ -5049,15 +5020,6 @@ export interface PreferencesFormNotifications {
|
|
|
5049
5020
|
*/
|
|
5050
5021
|
upcomingMeeting?: boolean;
|
|
5051
5022
|
}
|
|
5052
|
-
/**
|
|
5053
|
-
*
|
|
5054
|
-
* @export
|
|
5055
|
-
* @enum {string}
|
|
5056
|
-
*/
|
|
5057
|
-
export declare enum Presence {
|
|
5058
|
-
Available = "available",
|
|
5059
|
-
Unavailable = "unavailable"
|
|
5060
|
-
}
|
|
5061
5023
|
/**
|
|
5062
5024
|
*
|
|
5063
5025
|
* @export
|
|
@@ -6376,6 +6338,18 @@ export interface UrlTagMappingDto {
|
|
|
6376
6338
|
*/
|
|
6377
6339
|
tag: string;
|
|
6378
6340
|
}
|
|
6341
|
+
/**
|
|
6342
|
+
*
|
|
6343
|
+
* @export
|
|
6344
|
+
* @enum {string}
|
|
6345
|
+
*/
|
|
6346
|
+
export declare enum UserRole {
|
|
6347
|
+
AGENT = "AGENT",
|
|
6348
|
+
LEKTA = "LEKTA",
|
|
6349
|
+
CUSTOMER = "CUSTOMER",
|
|
6350
|
+
ORGANIZATION = "ORGANIZATION",
|
|
6351
|
+
MASTER = "MASTER"
|
|
6352
|
+
}
|
|
6379
6353
|
/**
|
|
6380
6354
|
*
|
|
6381
6355
|
* @export
|
|
@@ -9756,12 +9730,12 @@ export declare const MessageWidgetsApiFetchParamCreator: (configuration?: Config
|
|
|
9756
9730
|
/**
|
|
9757
9731
|
*
|
|
9758
9732
|
* @summary update message widget config by widget id
|
|
9733
|
+
* @param {MessageWidgetForm} body
|
|
9759
9734
|
* @param {string} value
|
|
9760
|
-
* @param {MessageWidgetForm} [body]
|
|
9761
9735
|
* @param {*} [options] Override http request option.
|
|
9762
9736
|
* @throws {RequiredError}
|
|
9763
9737
|
*/
|
|
9764
|
-
updateMessageWidgetConfig(
|
|
9738
|
+
updateMessageWidgetConfig(body: MessageWidgetForm, value: string, options?: any): FetchArgs;
|
|
9765
9739
|
};
|
|
9766
9740
|
/**
|
|
9767
9741
|
* MessageWidgetsApi - functional programming interface
|
|
@@ -9805,12 +9779,12 @@ export declare const MessageWidgetsApiFp: (configuration?: Configuration) => {
|
|
|
9805
9779
|
/**
|
|
9806
9780
|
*
|
|
9807
9781
|
* @summary update message widget config by widget id
|
|
9782
|
+
* @param {MessageWidgetForm} body
|
|
9808
9783
|
* @param {string} value
|
|
9809
|
-
* @param {MessageWidgetForm} [body]
|
|
9810
9784
|
* @param {*} [options] Override http request option.
|
|
9811
9785
|
* @throws {RequiredError}
|
|
9812
9786
|
*/
|
|
9813
|
-
updateMessageWidgetConfig(
|
|
9787
|
+
updateMessageWidgetConfig(body: MessageWidgetForm, value: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<MessageWidgetConfig>;
|
|
9814
9788
|
};
|
|
9815
9789
|
/**
|
|
9816
9790
|
* MessageWidgetsApi - factory interface
|
|
@@ -9854,12 +9828,12 @@ export declare const MessageWidgetsApiFactory: (configuration?: Configuration, f
|
|
|
9854
9828
|
/**
|
|
9855
9829
|
*
|
|
9856
9830
|
* @summary update message widget config by widget id
|
|
9831
|
+
* @param {MessageWidgetForm} body
|
|
9857
9832
|
* @param {string} value
|
|
9858
|
-
* @param {MessageWidgetForm} [body]
|
|
9859
9833
|
* @param {*} [options] Override http request option.
|
|
9860
9834
|
* @throws {RequiredError}
|
|
9861
9835
|
*/
|
|
9862
|
-
updateMessageWidgetConfig(
|
|
9836
|
+
updateMessageWidgetConfig(body: MessageWidgetForm, value: string, options?: any): Promise<MessageWidgetConfig>;
|
|
9863
9837
|
};
|
|
9864
9838
|
/**
|
|
9865
9839
|
* MessageWidgetsApi - object-oriented interface
|
|
@@ -9909,13 +9883,13 @@ export declare class MessageWidgetsApi extends BaseAPI {
|
|
|
9909
9883
|
/**
|
|
9910
9884
|
*
|
|
9911
9885
|
* @summary update message widget config by widget id
|
|
9886
|
+
* @param {MessageWidgetForm} body
|
|
9912
9887
|
* @param {string} value
|
|
9913
|
-
* @param {MessageWidgetForm} [body]
|
|
9914
9888
|
* @param {*} [options] Override http request option.
|
|
9915
9889
|
* @throws {RequiredError}
|
|
9916
9890
|
* @memberof MessageWidgetsApi
|
|
9917
9891
|
*/
|
|
9918
|
-
updateMessageWidgetConfig(
|
|
9892
|
+
updateMessageWidgetConfig(body: MessageWidgetForm, value: string, options?: any): Promise<MessageWidgetConfig>;
|
|
9919
9893
|
}
|
|
9920
9894
|
/**
|
|
9921
9895
|
* NLUApi - fetch parameter creator
|
|
@@ -12141,29 +12115,29 @@ export declare const RolesApiFetchParamCreator: (configuration?: Configuration)
|
|
|
12141
12115
|
/**
|
|
12142
12116
|
*
|
|
12143
12117
|
* @summary add permissions to role
|
|
12118
|
+
* @param {PermissionForm} body
|
|
12144
12119
|
* @param {string} roleId
|
|
12145
|
-
* @param {PermissionForm} [body]
|
|
12146
12120
|
* @param {*} [options] Override http request option.
|
|
12147
12121
|
* @throws {RequiredError}
|
|
12148
12122
|
*/
|
|
12149
|
-
addPermissionsToRole(
|
|
12123
|
+
addPermissionsToRole(body: PermissionForm, roleId: string, options?: any): FetchArgs;
|
|
12150
12124
|
/**
|
|
12151
12125
|
*
|
|
12152
12126
|
* @summary create role
|
|
12153
|
-
* @param {CreateRoleForm}
|
|
12127
|
+
* @param {CreateRoleForm} body
|
|
12154
12128
|
* @param {*} [options] Override http request option.
|
|
12155
12129
|
* @throws {RequiredError}
|
|
12156
12130
|
*/
|
|
12157
|
-
createRole(body
|
|
12131
|
+
createRole(body: CreateRoleForm, options?: any): FetchArgs;
|
|
12158
12132
|
/**
|
|
12159
12133
|
*
|
|
12160
12134
|
* @summary delete permissions from role
|
|
12135
|
+
* @param {PermissionForm} body
|
|
12161
12136
|
* @param {string} roleId
|
|
12162
|
-
* @param {PermissionForm} [body]
|
|
12163
12137
|
* @param {*} [options] Override http request option.
|
|
12164
12138
|
* @throws {RequiredError}
|
|
12165
12139
|
*/
|
|
12166
|
-
deletePermissionsFromRole(
|
|
12140
|
+
deletePermissionsFromRole(body: PermissionForm, roleId: string, options?: any): FetchArgs;
|
|
12167
12141
|
/**
|
|
12168
12142
|
*
|
|
12169
12143
|
* @summary delete role
|
|
@@ -12190,12 +12164,12 @@ export declare const RolesApiFetchParamCreator: (configuration?: Configuration)
|
|
|
12190
12164
|
/**
|
|
12191
12165
|
*
|
|
12192
12166
|
* @summary update role
|
|
12167
|
+
* @param {UpdateRoleForm} body
|
|
12193
12168
|
* @param {string} roleId
|
|
12194
|
-
* @param {UpdateRoleForm} [body]
|
|
12195
12169
|
* @param {*} [options] Override http request option.
|
|
12196
12170
|
* @throws {RequiredError}
|
|
12197
12171
|
*/
|
|
12198
|
-
updateRole(
|
|
12172
|
+
updateRole(body: UpdateRoleForm, roleId: string, options?: any): FetchArgs;
|
|
12199
12173
|
};
|
|
12200
12174
|
/**
|
|
12201
12175
|
* RolesApi - functional programming interface
|
|
@@ -12205,29 +12179,29 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
12205
12179
|
/**
|
|
12206
12180
|
*
|
|
12207
12181
|
* @summary add permissions to role
|
|
12182
|
+
* @param {PermissionForm} body
|
|
12208
12183
|
* @param {string} roleId
|
|
12209
|
-
* @param {PermissionForm} [body]
|
|
12210
12184
|
* @param {*} [options] Override http request option.
|
|
12211
12185
|
* @throws {RequiredError}
|
|
12212
12186
|
*/
|
|
12213
|
-
addPermissionsToRole(
|
|
12187
|
+
addPermissionsToRole(body: PermissionForm, roleId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
12214
12188
|
/**
|
|
12215
12189
|
*
|
|
12216
12190
|
* @summary create role
|
|
12217
|
-
* @param {CreateRoleForm}
|
|
12191
|
+
* @param {CreateRoleForm} body
|
|
12218
12192
|
* @param {*} [options] Override http request option.
|
|
12219
12193
|
* @throws {RequiredError}
|
|
12220
12194
|
*/
|
|
12221
|
-
createRole(body
|
|
12195
|
+
createRole(body: CreateRoleForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Role>;
|
|
12222
12196
|
/**
|
|
12223
12197
|
*
|
|
12224
12198
|
* @summary delete permissions from role
|
|
12199
|
+
* @param {PermissionForm} body
|
|
12225
12200
|
* @param {string} roleId
|
|
12226
|
-
* @param {PermissionForm} [body]
|
|
12227
12201
|
* @param {*} [options] Override http request option.
|
|
12228
12202
|
* @throws {RequiredError}
|
|
12229
12203
|
*/
|
|
12230
|
-
deletePermissionsFromRole(
|
|
12204
|
+
deletePermissionsFromRole(body: PermissionForm, roleId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
12231
12205
|
/**
|
|
12232
12206
|
*
|
|
12233
12207
|
* @summary delete role
|
|
@@ -12254,12 +12228,12 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
|
|
|
12254
12228
|
/**
|
|
12255
12229
|
*
|
|
12256
12230
|
* @summary update role
|
|
12231
|
+
* @param {UpdateRoleForm} body
|
|
12257
12232
|
* @param {string} roleId
|
|
12258
|
-
* @param {UpdateRoleForm} [body]
|
|
12259
12233
|
* @param {*} [options] Override http request option.
|
|
12260
12234
|
* @throws {RequiredError}
|
|
12261
12235
|
*/
|
|
12262
|
-
updateRole(
|
|
12236
|
+
updateRole(body: UpdateRoleForm, roleId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Role>;
|
|
12263
12237
|
};
|
|
12264
12238
|
/**
|
|
12265
12239
|
* RolesApi - factory interface
|
|
@@ -12269,29 +12243,29 @@ export declare const RolesApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
12269
12243
|
/**
|
|
12270
12244
|
*
|
|
12271
12245
|
* @summary add permissions to role
|
|
12246
|
+
* @param {PermissionForm} body
|
|
12272
12247
|
* @param {string} roleId
|
|
12273
|
-
* @param {PermissionForm} [body]
|
|
12274
12248
|
* @param {*} [options] Override http request option.
|
|
12275
12249
|
* @throws {RequiredError}
|
|
12276
12250
|
*/
|
|
12277
|
-
addPermissionsToRole(
|
|
12251
|
+
addPermissionsToRole(body: PermissionForm, roleId: string, options?: any): Promise<Response>;
|
|
12278
12252
|
/**
|
|
12279
12253
|
*
|
|
12280
12254
|
* @summary create role
|
|
12281
|
-
* @param {CreateRoleForm}
|
|
12255
|
+
* @param {CreateRoleForm} body
|
|
12282
12256
|
* @param {*} [options] Override http request option.
|
|
12283
12257
|
* @throws {RequiredError}
|
|
12284
12258
|
*/
|
|
12285
|
-
createRole(body
|
|
12259
|
+
createRole(body: CreateRoleForm, options?: any): Promise<Role>;
|
|
12286
12260
|
/**
|
|
12287
12261
|
*
|
|
12288
12262
|
* @summary delete permissions from role
|
|
12263
|
+
* @param {PermissionForm} body
|
|
12289
12264
|
* @param {string} roleId
|
|
12290
|
-
* @param {PermissionForm} [body]
|
|
12291
12265
|
* @param {*} [options] Override http request option.
|
|
12292
12266
|
* @throws {RequiredError}
|
|
12293
12267
|
*/
|
|
12294
|
-
deletePermissionsFromRole(
|
|
12268
|
+
deletePermissionsFromRole(body: PermissionForm, roleId: string, options?: any): Promise<Response>;
|
|
12295
12269
|
/**
|
|
12296
12270
|
*
|
|
12297
12271
|
* @summary delete role
|
|
@@ -12318,12 +12292,12 @@ export declare const RolesApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
12318
12292
|
/**
|
|
12319
12293
|
*
|
|
12320
12294
|
* @summary update role
|
|
12295
|
+
* @param {UpdateRoleForm} body
|
|
12321
12296
|
* @param {string} roleId
|
|
12322
|
-
* @param {UpdateRoleForm} [body]
|
|
12323
12297
|
* @param {*} [options] Override http request option.
|
|
12324
12298
|
* @throws {RequiredError}
|
|
12325
12299
|
*/
|
|
12326
|
-
updateRole(
|
|
12300
|
+
updateRole(body: UpdateRoleForm, roleId: string, options?: any): Promise<Role>;
|
|
12327
12301
|
};
|
|
12328
12302
|
/**
|
|
12329
12303
|
* RolesApi - object-oriented interface
|
|
@@ -12335,32 +12309,32 @@ export declare class RolesApi extends BaseAPI {
|
|
|
12335
12309
|
/**
|
|
12336
12310
|
*
|
|
12337
12311
|
* @summary add permissions to role
|
|
12312
|
+
* @param {PermissionForm} body
|
|
12338
12313
|
* @param {string} roleId
|
|
12339
|
-
* @param {PermissionForm} [body]
|
|
12340
12314
|
* @param {*} [options] Override http request option.
|
|
12341
12315
|
* @throws {RequiredError}
|
|
12342
12316
|
* @memberof RolesApi
|
|
12343
12317
|
*/
|
|
12344
|
-
addPermissionsToRole(
|
|
12318
|
+
addPermissionsToRole(body: PermissionForm, roleId: string, options?: any): Promise<Response>;
|
|
12345
12319
|
/**
|
|
12346
12320
|
*
|
|
12347
12321
|
* @summary create role
|
|
12348
|
-
* @param {CreateRoleForm}
|
|
12322
|
+
* @param {CreateRoleForm} body
|
|
12349
12323
|
* @param {*} [options] Override http request option.
|
|
12350
12324
|
* @throws {RequiredError}
|
|
12351
12325
|
* @memberof RolesApi
|
|
12352
12326
|
*/
|
|
12353
|
-
createRole(body
|
|
12327
|
+
createRole(body: CreateRoleForm, options?: any): Promise<Role>;
|
|
12354
12328
|
/**
|
|
12355
12329
|
*
|
|
12356
12330
|
* @summary delete permissions from role
|
|
12331
|
+
* @param {PermissionForm} body
|
|
12357
12332
|
* @param {string} roleId
|
|
12358
|
-
* @param {PermissionForm} [body]
|
|
12359
12333
|
* @param {*} [options] Override http request option.
|
|
12360
12334
|
* @throws {RequiredError}
|
|
12361
12335
|
* @memberof RolesApi
|
|
12362
12336
|
*/
|
|
12363
|
-
deletePermissionsFromRole(
|
|
12337
|
+
deletePermissionsFromRole(body: PermissionForm, roleId: string, options?: any): Promise<Response>;
|
|
12364
12338
|
/**
|
|
12365
12339
|
*
|
|
12366
12340
|
* @summary delete role
|
|
@@ -12390,13 +12364,13 @@ export declare class RolesApi extends BaseAPI {
|
|
|
12390
12364
|
/**
|
|
12391
12365
|
*
|
|
12392
12366
|
* @summary update role
|
|
12367
|
+
* @param {UpdateRoleForm} body
|
|
12393
12368
|
* @param {string} roleId
|
|
12394
|
-
* @param {UpdateRoleForm} [body]
|
|
12395
12369
|
* @param {*} [options] Override http request option.
|
|
12396
12370
|
* @throws {RequiredError}
|
|
12397
12371
|
* @memberof RolesApi
|
|
12398
12372
|
*/
|
|
12399
|
-
updateRole(
|
|
12373
|
+
updateRole(body: UpdateRoleForm, roleId: string, options?: any): Promise<Role>;
|
|
12400
12374
|
}
|
|
12401
12375
|
/**
|
|
12402
12376
|
* RoomsApi - fetch parameter creator
|
|
@@ -12933,11 +12907,11 @@ export declare const SessionApiFetchParamCreator: (configuration?: Configuration
|
|
|
12933
12907
|
/**
|
|
12934
12908
|
*
|
|
12935
12909
|
* @summary Login user. Create session.
|
|
12936
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
12910
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
12937
12911
|
* @param {*} [options] Override http request option.
|
|
12938
12912
|
* @throws {RequiredError}
|
|
12939
12913
|
*/
|
|
12940
|
-
login(body
|
|
12914
|
+
login(body: LoginCredentialsOrTokenForm, options?: any): FetchArgs;
|
|
12941
12915
|
/**
|
|
12942
12916
|
*
|
|
12943
12917
|
* @summary Logout user. Delete session.
|
|
@@ -12993,11 +12967,11 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
12993
12967
|
/**
|
|
12994
12968
|
*
|
|
12995
12969
|
* @summary Login user. Create session.
|
|
12996
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
12970
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
12997
12971
|
* @param {*} [options] Override http request option.
|
|
12998
12972
|
* @throws {RequiredError}
|
|
12999
12973
|
*/
|
|
13000
|
-
login(body
|
|
12974
|
+
login(body: LoginCredentialsOrTokenForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AgentCtx>;
|
|
13001
12975
|
/**
|
|
13002
12976
|
*
|
|
13003
12977
|
* @summary Logout user. Delete session.
|
|
@@ -13053,11 +13027,11 @@ export declare const SessionApiFactory: (configuration?: Configuration, fetch?:
|
|
|
13053
13027
|
/**
|
|
13054
13028
|
*
|
|
13055
13029
|
* @summary Login user. Create session.
|
|
13056
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
13030
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
13057
13031
|
* @param {*} [options] Override http request option.
|
|
13058
13032
|
* @throws {RequiredError}
|
|
13059
13033
|
*/
|
|
13060
|
-
login(body
|
|
13034
|
+
login(body: LoginCredentialsOrTokenForm, options?: any): Promise<AgentCtx>;
|
|
13061
13035
|
/**
|
|
13062
13036
|
*
|
|
13063
13037
|
* @summary Logout user. Delete session.
|
|
@@ -13118,12 +13092,12 @@ export declare class SessionApi extends BaseAPI {
|
|
|
13118
13092
|
/**
|
|
13119
13093
|
*
|
|
13120
13094
|
* @summary Login user. Create session.
|
|
13121
|
-
* @param {LoginCredentialsOrTokenForm}
|
|
13095
|
+
* @param {LoginCredentialsOrTokenForm} body Valid parameters are either token or credentials (email and password). Unless provided in mentioned form, Bad Request will be returned
|
|
13122
13096
|
* @param {*} [options] Override http request option.
|
|
13123
13097
|
* @throws {RequiredError}
|
|
13124
13098
|
* @memberof SessionApi
|
|
13125
13099
|
*/
|
|
13126
|
-
login(body
|
|
13100
|
+
login(body: LoginCredentialsOrTokenForm, options?: any): Promise<AgentCtx>;
|
|
13127
13101
|
/**
|
|
13128
13102
|
*
|
|
13129
13103
|
* @summary Logout user. Delete session.
|
|
@@ -15880,12 +15854,12 @@ export declare const WidgetsFormsSubmissionsApiFetchParamCreator: (configuration
|
|
|
15880
15854
|
/**
|
|
15881
15855
|
*
|
|
15882
15856
|
* @summary create form for room
|
|
15857
|
+
* @param {AddWidgetForm} body
|
|
15883
15858
|
* @param {string} id
|
|
15884
|
-
* @param {AddWidgetForm} [body]
|
|
15885
15859
|
* @param {*} [options] Override http request option.
|
|
15886
15860
|
* @throws {RequiredError}
|
|
15887
15861
|
*/
|
|
15888
|
-
createWidgetFormForRoomId(
|
|
15862
|
+
createWidgetFormForRoomId(body: AddWidgetForm, id: string, options?: any): FetchArgs;
|
|
15889
15863
|
/**
|
|
15890
15864
|
*
|
|
15891
15865
|
* @summary get form with widget
|
|
@@ -15897,12 +15871,12 @@ export declare const WidgetsFormsSubmissionsApiFetchParamCreator: (configuration
|
|
|
15897
15871
|
/**
|
|
15898
15872
|
*
|
|
15899
15873
|
* @summary submit form
|
|
15874
|
+
* @param {SubmitWidgetForm} body
|
|
15900
15875
|
* @param {string} formId
|
|
15901
|
-
* @param {SubmitWidgetForm} [body]
|
|
15902
15876
|
* @param {*} [options] Override http request option.
|
|
15903
15877
|
* @throws {RequiredError}
|
|
15904
15878
|
*/
|
|
15905
|
-
submitWidgetForm(
|
|
15879
|
+
submitWidgetForm(body: SubmitWidgetForm, formId: string, options?: any): FetchArgs;
|
|
15906
15880
|
};
|
|
15907
15881
|
/**
|
|
15908
15882
|
* WidgetsFormsSubmissionsApi - functional programming interface
|
|
@@ -15912,12 +15886,12 @@ export declare const WidgetsFormsSubmissionsApiFp: (configuration?: Configuratio
|
|
|
15912
15886
|
/**
|
|
15913
15887
|
*
|
|
15914
15888
|
* @summary create form for room
|
|
15889
|
+
* @param {AddWidgetForm} body
|
|
15915
15890
|
* @param {string} id
|
|
15916
|
-
* @param {AddWidgetForm} [body]
|
|
15917
15891
|
* @param {*} [options] Override http request option.
|
|
15918
15892
|
* @throws {RequiredError}
|
|
15919
15893
|
*/
|
|
15920
|
-
createWidgetFormForRoomId(
|
|
15894
|
+
createWidgetFormForRoomId(body: AddWidgetForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WidgetFormSubmission>;
|
|
15921
15895
|
/**
|
|
15922
15896
|
*
|
|
15923
15897
|
* @summary get form with widget
|
|
@@ -15929,12 +15903,12 @@ export declare const WidgetsFormsSubmissionsApiFp: (configuration?: Configuratio
|
|
|
15929
15903
|
/**
|
|
15930
15904
|
*
|
|
15931
15905
|
* @summary submit form
|
|
15906
|
+
* @param {SubmitWidgetForm} body
|
|
15932
15907
|
* @param {string} formId
|
|
15933
|
-
* @param {SubmitWidgetForm} [body]
|
|
15934
15908
|
* @param {*} [options] Override http request option.
|
|
15935
15909
|
* @throws {RequiredError}
|
|
15936
15910
|
*/
|
|
15937
|
-
submitWidgetForm(
|
|
15911
|
+
submitWidgetForm(body: SubmitWidgetForm, formId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WidgetFormSubmission>;
|
|
15938
15912
|
};
|
|
15939
15913
|
/**
|
|
15940
15914
|
* WidgetsFormsSubmissionsApi - factory interface
|
|
@@ -15944,12 +15918,12 @@ export declare const WidgetsFormsSubmissionsApiFactory: (configuration?: Configu
|
|
|
15944
15918
|
/**
|
|
15945
15919
|
*
|
|
15946
15920
|
* @summary create form for room
|
|
15921
|
+
* @param {AddWidgetForm} body
|
|
15947
15922
|
* @param {string} id
|
|
15948
|
-
* @param {AddWidgetForm} [body]
|
|
15949
15923
|
* @param {*} [options] Override http request option.
|
|
15950
15924
|
* @throws {RequiredError}
|
|
15951
15925
|
*/
|
|
15952
|
-
createWidgetFormForRoomId(
|
|
15926
|
+
createWidgetFormForRoomId(body: AddWidgetForm, id: string, options?: any): Promise<WidgetFormSubmission>;
|
|
15953
15927
|
/**
|
|
15954
15928
|
*
|
|
15955
15929
|
* @summary get form with widget
|
|
@@ -15961,12 +15935,12 @@ export declare const WidgetsFormsSubmissionsApiFactory: (configuration?: Configu
|
|
|
15961
15935
|
/**
|
|
15962
15936
|
*
|
|
15963
15937
|
* @summary submit form
|
|
15938
|
+
* @param {SubmitWidgetForm} body
|
|
15964
15939
|
* @param {string} formId
|
|
15965
|
-
* @param {SubmitWidgetForm} [body]
|
|
15966
15940
|
* @param {*} [options] Override http request option.
|
|
15967
15941
|
* @throws {RequiredError}
|
|
15968
15942
|
*/
|
|
15969
|
-
submitWidgetForm(
|
|
15943
|
+
submitWidgetForm(body: SubmitWidgetForm, formId: string, options?: any): Promise<WidgetFormSubmission>;
|
|
15970
15944
|
};
|
|
15971
15945
|
/**
|
|
15972
15946
|
* WidgetsFormsSubmissionsApi - object-oriented interface
|
|
@@ -15978,13 +15952,13 @@ export declare class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
15978
15952
|
/**
|
|
15979
15953
|
*
|
|
15980
15954
|
* @summary create form for room
|
|
15955
|
+
* @param {AddWidgetForm} body
|
|
15981
15956
|
* @param {string} id
|
|
15982
|
-
* @param {AddWidgetForm} [body]
|
|
15983
15957
|
* @param {*} [options] Override http request option.
|
|
15984
15958
|
* @throws {RequiredError}
|
|
15985
15959
|
* @memberof WidgetsFormsSubmissionsApi
|
|
15986
15960
|
*/
|
|
15987
|
-
createWidgetFormForRoomId(
|
|
15961
|
+
createWidgetFormForRoomId(body: AddWidgetForm, id: string, options?: any): Promise<WidgetFormSubmission>;
|
|
15988
15962
|
/**
|
|
15989
15963
|
*
|
|
15990
15964
|
* @summary get form with widget
|
|
@@ -15997,11 +15971,11 @@ export declare class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
15997
15971
|
/**
|
|
15998
15972
|
*
|
|
15999
15973
|
* @summary submit form
|
|
15974
|
+
* @param {SubmitWidgetForm} body
|
|
16000
15975
|
* @param {string} formId
|
|
16001
|
-
* @param {SubmitWidgetForm} [body]
|
|
16002
15976
|
* @param {*} [options] Override http request option.
|
|
16003
15977
|
* @throws {RequiredError}
|
|
16004
15978
|
* @memberof WidgetsFormsSubmissionsApi
|
|
16005
15979
|
*/
|
|
16006
|
-
submitWidgetForm(
|
|
15980
|
+
submitWidgetForm(body: SubmitWidgetForm, formId: string, options?: any): Promise<WidgetFormSubmission>;
|
|
16007
15981
|
}
|