@closerplatform/spinner-openapi 0.12.1130 → 0.12.1132
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 +38 -336
- package/dist/api.js +4 -89
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -85,19 +85,6 @@ export interface AcceptInvitationForm {
|
|
|
85
85
|
*/
|
|
86
86
|
password: string;
|
|
87
87
|
}
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @export
|
|
91
|
-
* @interface AddMark
|
|
92
|
-
*/
|
|
93
|
-
export interface AddMark {
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {number}
|
|
97
|
-
* @memberof AddMark
|
|
98
|
-
*/
|
|
99
|
-
timestamp: number;
|
|
100
|
-
}
|
|
101
88
|
/**
|
|
102
89
|
*
|
|
103
90
|
* @export
|
|
@@ -811,7 +798,7 @@ export interface AgreementForm {
|
|
|
811
798
|
* @type {string}
|
|
812
799
|
* @memberof AgreementForm
|
|
813
800
|
*/
|
|
814
|
-
orgId
|
|
801
|
+
orgId: string;
|
|
815
802
|
}
|
|
816
803
|
/**
|
|
817
804
|
*
|
|
@@ -1644,12 +1631,6 @@ export interface ConversationStatusForm {
|
|
|
1644
1631
|
* @memberof ConversationStatusForm
|
|
1645
1632
|
*/
|
|
1646
1633
|
status: ConversationStatus;
|
|
1647
|
-
/**
|
|
1648
|
-
*
|
|
1649
|
-
* @type {string}
|
|
1650
|
-
* @memberof ConversationStatusForm
|
|
1651
|
-
*/
|
|
1652
|
-
agentId?: string;
|
|
1653
1634
|
}
|
|
1654
1635
|
/**
|
|
1655
1636
|
*
|
|
@@ -1998,235 +1979,6 @@ export interface CreateTagMappingForm {
|
|
|
1998
1979
|
*/
|
|
1999
1980
|
tagId: string;
|
|
2000
1981
|
}
|
|
2001
|
-
/**
|
|
2002
|
-
*
|
|
2003
|
-
* @export
|
|
2004
|
-
* @interface CustomMessage
|
|
2005
|
-
*/
|
|
2006
|
-
export interface CustomMessage {
|
|
2007
|
-
/**
|
|
2008
|
-
*
|
|
2009
|
-
* @type {string}
|
|
2010
|
-
* @memberof CustomMessage
|
|
2011
|
-
*/
|
|
2012
|
-
message: string;
|
|
2013
|
-
/**
|
|
2014
|
-
*
|
|
2015
|
-
* @type {string}
|
|
2016
|
-
* @memberof CustomMessage
|
|
2017
|
-
*/
|
|
2018
|
-
subtag: string;
|
|
2019
|
-
/**
|
|
2020
|
-
*
|
|
2021
|
-
* @type {any}
|
|
2022
|
-
* @memberof CustomMessage
|
|
2023
|
-
*/
|
|
2024
|
-
context?: any;
|
|
2025
|
-
}
|
|
2026
|
-
/**
|
|
2027
|
-
*
|
|
2028
|
-
* @export
|
|
2029
|
-
* @interface CustomerAddress
|
|
2030
|
-
*/
|
|
2031
|
-
export interface CustomerAddress {
|
|
2032
|
-
/**
|
|
2033
|
-
*
|
|
2034
|
-
* @type {string}
|
|
2035
|
-
* @memberof CustomerAddress
|
|
2036
|
-
*/
|
|
2037
|
-
id: string;
|
|
2038
|
-
/**
|
|
2039
|
-
*
|
|
2040
|
-
* @type {string}
|
|
2041
|
-
* @memberof CustomerAddress
|
|
2042
|
-
*/
|
|
2043
|
-
userId?: string;
|
|
2044
|
-
/**
|
|
2045
|
-
*
|
|
2046
|
-
* @type {string}
|
|
2047
|
-
* @memberof CustomerAddress
|
|
2048
|
-
*/
|
|
2049
|
-
addressLine1: string;
|
|
2050
|
-
/**
|
|
2051
|
-
*
|
|
2052
|
-
* @type {string}
|
|
2053
|
-
* @memberof CustomerAddress
|
|
2054
|
-
*/
|
|
2055
|
-
addressLine2?: string;
|
|
2056
|
-
/**
|
|
2057
|
-
*
|
|
2058
|
-
* @type {string}
|
|
2059
|
-
* @memberof CustomerAddress
|
|
2060
|
-
*/
|
|
2061
|
-
postalCode: string;
|
|
2062
|
-
/**
|
|
2063
|
-
*
|
|
2064
|
-
* @type {string}
|
|
2065
|
-
* @memberof CustomerAddress
|
|
2066
|
-
*/
|
|
2067
|
-
city: string;
|
|
2068
|
-
/**
|
|
2069
|
-
*
|
|
2070
|
-
* @type {string}
|
|
2071
|
-
* @memberof CustomerAddress
|
|
2072
|
-
*/
|
|
2073
|
-
alias?: string;
|
|
2074
|
-
}
|
|
2075
|
-
/**
|
|
2076
|
-
*
|
|
2077
|
-
* @export
|
|
2078
|
-
* @interface CustomerAddressForm
|
|
2079
|
-
*/
|
|
2080
|
-
export interface CustomerAddressForm {
|
|
2081
|
-
/**
|
|
2082
|
-
*
|
|
2083
|
-
* @type {string}
|
|
2084
|
-
* @memberof CustomerAddressForm
|
|
2085
|
-
*/
|
|
2086
|
-
addressLine1: string;
|
|
2087
|
-
/**
|
|
2088
|
-
*
|
|
2089
|
-
* @type {string}
|
|
2090
|
-
* @memberof CustomerAddressForm
|
|
2091
|
-
*/
|
|
2092
|
-
addressLine2?: string;
|
|
2093
|
-
/**
|
|
2094
|
-
*
|
|
2095
|
-
* @type {string}
|
|
2096
|
-
* @memberof CustomerAddressForm
|
|
2097
|
-
*/
|
|
2098
|
-
postalCode: string;
|
|
2099
|
-
/**
|
|
2100
|
-
*
|
|
2101
|
-
* @type {string}
|
|
2102
|
-
* @memberof CustomerAddressForm
|
|
2103
|
-
*/
|
|
2104
|
-
city: string;
|
|
2105
|
-
/**
|
|
2106
|
-
*
|
|
2107
|
-
* @type {string}
|
|
2108
|
-
* @memberof CustomerAddressForm
|
|
2109
|
-
*/
|
|
2110
|
-
alias?: string;
|
|
2111
|
-
}
|
|
2112
|
-
/**
|
|
2113
|
-
*
|
|
2114
|
-
* @export
|
|
2115
|
-
* @interface CustomerCtx
|
|
2116
|
-
*/
|
|
2117
|
-
export interface CustomerCtx {
|
|
2118
|
-
/**
|
|
2119
|
-
*
|
|
2120
|
-
* @type {string}
|
|
2121
|
-
* @memberof CustomerCtx
|
|
2122
|
-
*/
|
|
2123
|
-
id: string;
|
|
2124
|
-
/**
|
|
2125
|
-
*
|
|
2126
|
-
* @type {string}
|
|
2127
|
-
* @memberof CustomerCtx
|
|
2128
|
-
*/
|
|
2129
|
-
apiKey: string;
|
|
2130
|
-
/**
|
|
2131
|
-
*
|
|
2132
|
-
* @type {string}
|
|
2133
|
-
* @memberof CustomerCtx
|
|
2134
|
-
*/
|
|
2135
|
-
firstName?: string;
|
|
2136
|
-
/**
|
|
2137
|
-
*
|
|
2138
|
-
* @type {string}
|
|
2139
|
-
* @memberof CustomerCtx
|
|
2140
|
-
*/
|
|
2141
|
-
lastName?: string;
|
|
2142
|
-
/**
|
|
2143
|
-
*
|
|
2144
|
-
* @type {string}
|
|
2145
|
-
* @memberof CustomerCtx
|
|
2146
|
-
*/
|
|
2147
|
-
languageLocale: string;
|
|
2148
|
-
}
|
|
2149
|
-
/**
|
|
2150
|
-
*
|
|
2151
|
-
* @export
|
|
2152
|
-
* @interface CustomerLogin
|
|
2153
|
-
*/
|
|
2154
|
-
export interface CustomerLogin {
|
|
2155
|
-
/**
|
|
2156
|
-
*
|
|
2157
|
-
* @type {string}
|
|
2158
|
-
* @memberof CustomerLogin
|
|
2159
|
-
*/
|
|
2160
|
-
id: string;
|
|
2161
|
-
/**
|
|
2162
|
-
*
|
|
2163
|
-
* @type {string}
|
|
2164
|
-
* @memberof CustomerLogin
|
|
2165
|
-
*/
|
|
2166
|
-
userId?: string;
|
|
2167
|
-
/**
|
|
2168
|
-
*
|
|
2169
|
-
* @type {string}
|
|
2170
|
-
* @memberof CustomerLogin
|
|
2171
|
-
*/
|
|
2172
|
-
value: string;
|
|
2173
|
-
/**
|
|
2174
|
-
*
|
|
2175
|
-
* @type {boolean}
|
|
2176
|
-
* @memberof CustomerLogin
|
|
2177
|
-
*/
|
|
2178
|
-
confirmed: boolean;
|
|
2179
|
-
}
|
|
2180
|
-
/**
|
|
2181
|
-
*
|
|
2182
|
-
* @export
|
|
2183
|
-
* @interface CustomerNames
|
|
2184
|
-
*/
|
|
2185
|
-
export interface CustomerNames {
|
|
2186
|
-
/**
|
|
2187
|
-
*
|
|
2188
|
-
* @type {string}
|
|
2189
|
-
* @memberof CustomerNames
|
|
2190
|
-
*/
|
|
2191
|
-
firstName?: string;
|
|
2192
|
-
/**
|
|
2193
|
-
*
|
|
2194
|
-
* @type {string}
|
|
2195
|
-
* @memberof CustomerNames
|
|
2196
|
-
*/
|
|
2197
|
-
lastName?: string;
|
|
2198
|
-
}
|
|
2199
|
-
/**
|
|
2200
|
-
*
|
|
2201
|
-
* @export
|
|
2202
|
-
* @interface CustomerProfile
|
|
2203
|
-
*/
|
|
2204
|
-
export interface CustomerProfile {
|
|
2205
|
-
/**
|
|
2206
|
-
*
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof CustomerProfile
|
|
2209
|
-
*/
|
|
2210
|
-
userId: string;
|
|
2211
|
-
/**
|
|
2212
|
-
*
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof CustomerProfile
|
|
2215
|
-
*/
|
|
2216
|
-
firstName?: string;
|
|
2217
|
-
/**
|
|
2218
|
-
*
|
|
2219
|
-
* @type {string}
|
|
2220
|
-
* @memberof CustomerProfile
|
|
2221
|
-
*/
|
|
2222
|
-
lastName?: string;
|
|
2223
|
-
/**
|
|
2224
|
-
*
|
|
2225
|
-
* @type {string}
|
|
2226
|
-
* @memberof CustomerProfile
|
|
2227
|
-
*/
|
|
2228
|
-
languageLocale: string;
|
|
2229
|
-
}
|
|
2230
1982
|
/**
|
|
2231
1983
|
*
|
|
2232
1984
|
* @export
|
|
@@ -2572,6 +2324,12 @@ export interface GuestProfile {
|
|
|
2572
2324
|
* @memberof GuestProfile
|
|
2573
2325
|
*/
|
|
2574
2326
|
lastName?: string;
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @type {string}
|
|
2330
|
+
* @memberof GuestProfile
|
|
2331
|
+
*/
|
|
2332
|
+
email?: string;
|
|
2575
2333
|
/**
|
|
2576
2334
|
*
|
|
2577
2335
|
* @type {Phone}
|
|
@@ -2583,7 +2341,7 @@ export interface GuestProfile {
|
|
|
2583
2341
|
* @type {string}
|
|
2584
2342
|
* @memberof GuestProfile
|
|
2585
2343
|
*/
|
|
2586
|
-
|
|
2344
|
+
randomName?: string;
|
|
2587
2345
|
/**
|
|
2588
2346
|
*
|
|
2589
2347
|
* @type {string}
|
|
@@ -2595,43 +2353,43 @@ export interface GuestProfile {
|
|
|
2595
2353
|
* @type {string}
|
|
2596
2354
|
* @memberof GuestProfile
|
|
2597
2355
|
*/
|
|
2598
|
-
|
|
2356
|
+
languageLocale: string;
|
|
2599
2357
|
/**
|
|
2600
2358
|
*
|
|
2601
2359
|
* @type {string}
|
|
2602
2360
|
* @memberof GuestProfile
|
|
2603
2361
|
*/
|
|
2604
|
-
|
|
2362
|
+
zoneId: string;
|
|
2605
2363
|
/**
|
|
2606
2364
|
*
|
|
2607
|
-
* @type {
|
|
2365
|
+
* @type {boolean}
|
|
2608
2366
|
* @memberof GuestProfile
|
|
2609
2367
|
*/
|
|
2610
|
-
|
|
2368
|
+
isPushEnabled: boolean;
|
|
2611
2369
|
/**
|
|
2612
2370
|
*
|
|
2613
|
-
* @type {string}
|
|
2371
|
+
* @type {Array<string>}
|
|
2614
2372
|
* @memberof GuestProfile
|
|
2615
2373
|
*/
|
|
2616
|
-
|
|
2374
|
+
tags: Array<string>;
|
|
2617
2375
|
/**
|
|
2618
2376
|
*
|
|
2619
|
-
* @type {Array<
|
|
2377
|
+
* @type {Array<BackOfficeField>}
|
|
2620
2378
|
* @memberof GuestProfile
|
|
2621
2379
|
*/
|
|
2622
|
-
|
|
2380
|
+
backOfficeData: Array<BackOfficeField>;
|
|
2623
2381
|
/**
|
|
2624
2382
|
*
|
|
2625
|
-
* @type {
|
|
2383
|
+
* @type {string}
|
|
2626
2384
|
* @memberof GuestProfile
|
|
2627
2385
|
*/
|
|
2628
|
-
|
|
2386
|
+
location?: string;
|
|
2629
2387
|
/**
|
|
2630
2388
|
*
|
|
2631
|
-
* @type {
|
|
2389
|
+
* @type {number}
|
|
2632
2390
|
* @memberof GuestProfile
|
|
2633
2391
|
*/
|
|
2634
|
-
|
|
2392
|
+
deletedAt?: number;
|
|
2635
2393
|
/**
|
|
2636
2394
|
*
|
|
2637
2395
|
* @type {string}
|
|
@@ -2644,12 +2402,18 @@ export interface GuestProfile {
|
|
|
2644
2402
|
* @memberof GuestProfile
|
|
2645
2403
|
*/
|
|
2646
2404
|
tagGroupId?: string;
|
|
2405
|
+
/**
|
|
2406
|
+
*
|
|
2407
|
+
* @type {string}
|
|
2408
|
+
* @memberof GuestProfile
|
|
2409
|
+
*/
|
|
2410
|
+
externalId?: string;
|
|
2647
2411
|
/**
|
|
2648
2412
|
*
|
|
2649
2413
|
* @type {Array<string>}
|
|
2650
2414
|
* @memberof GuestProfile
|
|
2651
2415
|
*/
|
|
2652
|
-
topics
|
|
2416
|
+
topics: Array<string>;
|
|
2653
2417
|
/**
|
|
2654
2418
|
*
|
|
2655
2419
|
* @type {string}
|
|
@@ -2780,22 +2544,28 @@ export interface GuestProfileFormPatch {
|
|
|
2780
2544
|
tags?: Array<string>;
|
|
2781
2545
|
/**
|
|
2782
2546
|
*
|
|
2783
|
-
* @type {Array<
|
|
2547
|
+
* @type {Array<string>}
|
|
2784
2548
|
* @memberof GuestProfileFormPatch
|
|
2785
2549
|
*/
|
|
2786
|
-
|
|
2550
|
+
topics?: Array<string>;
|
|
2787
2551
|
/**
|
|
2788
2552
|
*
|
|
2789
|
-
* @type {
|
|
2553
|
+
* @type {boolean}
|
|
2790
2554
|
* @memberof GuestProfileFormPatch
|
|
2791
2555
|
*/
|
|
2792
|
-
|
|
2556
|
+
widgetIsOpen?: boolean;
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {Array<BackOfficeFieldPatch>}
|
|
2560
|
+
* @memberof GuestProfileFormPatch
|
|
2561
|
+
*/
|
|
2562
|
+
backOfficeData?: Array<BackOfficeFieldPatch>;
|
|
2793
2563
|
/**
|
|
2794
2564
|
*
|
|
2795
2565
|
* @type {boolean}
|
|
2796
2566
|
* @memberof GuestProfileFormPatch
|
|
2797
2567
|
*/
|
|
2798
|
-
|
|
2568
|
+
isPushEnabled?: boolean;
|
|
2799
2569
|
}
|
|
2800
2570
|
/**
|
|
2801
2571
|
*
|
|
@@ -3663,19 +3433,6 @@ export interface LeadCtx {
|
|
|
3663
3433
|
*/
|
|
3664
3434
|
idToken?: string;
|
|
3665
3435
|
}
|
|
3666
|
-
/**
|
|
3667
|
-
*
|
|
3668
|
-
* @export
|
|
3669
|
-
* @interface LeadRequest
|
|
3670
|
-
*/
|
|
3671
|
-
export interface LeadRequest {
|
|
3672
|
-
/**
|
|
3673
|
-
*
|
|
3674
|
-
* @type {string}
|
|
3675
|
-
* @memberof LeadRequest
|
|
3676
|
-
*/
|
|
3677
|
-
orgId: string;
|
|
3678
|
-
}
|
|
3679
3436
|
/**
|
|
3680
3437
|
*
|
|
3681
3438
|
* @export
|
|
@@ -5492,19 +5249,6 @@ export interface PhoneDetailsFormatting {
|
|
|
5492
5249
|
*/
|
|
5493
5250
|
countryCode?: string;
|
|
5494
5251
|
}
|
|
5495
|
-
/**
|
|
5496
|
-
*
|
|
5497
|
-
* @export
|
|
5498
|
-
* @interface PinForm
|
|
5499
|
-
*/
|
|
5500
|
-
export interface PinForm {
|
|
5501
|
-
/**
|
|
5502
|
-
*
|
|
5503
|
-
* @type {string}
|
|
5504
|
-
* @memberof PinForm
|
|
5505
|
-
*/
|
|
5506
|
-
pin: string;
|
|
5507
|
-
}
|
|
5508
5252
|
/**
|
|
5509
5253
|
*
|
|
5510
5254
|
* @export
|
|
@@ -7185,15 +6929,6 @@ export interface UpgradeForm {
|
|
|
7185
6929
|
*/
|
|
7186
6930
|
ipAddress?: string;
|
|
7187
6931
|
}
|
|
7188
|
-
/**
|
|
7189
|
-
*
|
|
7190
|
-
* @export
|
|
7191
|
-
* @enum {string}
|
|
7192
|
-
*/
|
|
7193
|
-
export declare enum UrlParameter {
|
|
7194
|
-
RoomId = "roomId",
|
|
7195
|
-
Token = "token"
|
|
7196
|
-
}
|
|
7197
6932
|
/**
|
|
7198
6933
|
*
|
|
7199
6934
|
* @export
|
|
@@ -13205,14 +12940,6 @@ export declare const RoomsApiFetchParamCreator: (configuration?: Configuration)
|
|
|
13205
12940
|
* @throws {RequiredError}
|
|
13206
12941
|
*/
|
|
13207
12942
|
addFollower(body: Follower, roomId: string, options?: any): FetchArgs;
|
|
13208
|
-
/**
|
|
13209
|
-
*
|
|
13210
|
-
* @summary Assign conversation
|
|
13211
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13212
|
-
* @param {*} [options] Override http request option.
|
|
13213
|
-
* @throws {RequiredError}
|
|
13214
|
-
*/
|
|
13215
|
-
assignConversation(roomId: string, options?: any): FetchArgs;
|
|
13216
12943
|
/**
|
|
13217
12944
|
*
|
|
13218
12945
|
* @summary Auto assign conversation
|
|
@@ -13336,14 +13063,6 @@ export declare const RoomsApiFp: (configuration?: Configuration) => {
|
|
|
13336
13063
|
* @throws {RequiredError}
|
|
13337
13064
|
*/
|
|
13338
13065
|
addFollower(body: Follower, roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
13339
|
-
/**
|
|
13340
|
-
*
|
|
13341
|
-
* @summary Assign conversation
|
|
13342
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13343
|
-
* @param {*} [options] Override http request option.
|
|
13344
|
-
* @throws {RequiredError}
|
|
13345
|
-
*/
|
|
13346
|
-
assignConversation(roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
13347
13066
|
/**
|
|
13348
13067
|
*
|
|
13349
13068
|
* @summary Auto assign conversation
|
|
@@ -13467,14 +13186,6 @@ export declare const RoomsApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
13467
13186
|
* @throws {RequiredError}
|
|
13468
13187
|
*/
|
|
13469
13188
|
addFollower(body: Follower, roomId: string, options?: any): Promise<Response>;
|
|
13470
|
-
/**
|
|
13471
|
-
*
|
|
13472
|
-
* @summary Assign conversation
|
|
13473
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13474
|
-
* @param {*} [options] Override http request option.
|
|
13475
|
-
* @throws {RequiredError}
|
|
13476
|
-
*/
|
|
13477
|
-
assignConversation(roomId: string, options?: any): Promise<Response>;
|
|
13478
13189
|
/**
|
|
13479
13190
|
*
|
|
13480
13191
|
* @summary Auto assign conversation
|
|
@@ -13601,15 +13312,6 @@ export declare class RoomsApi extends BaseAPI {
|
|
|
13601
13312
|
* @memberof RoomsApi
|
|
13602
13313
|
*/
|
|
13603
13314
|
addFollower(body: Follower, roomId: string, options?: any): Promise<Response>;
|
|
13604
|
-
/**
|
|
13605
|
-
*
|
|
13606
|
-
* @summary Assign conversation
|
|
13607
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13608
|
-
* @param {*} [options] Override http request option.
|
|
13609
|
-
* @throws {RequiredError}
|
|
13610
|
-
* @memberof RoomsApi
|
|
13611
|
-
*/
|
|
13612
|
-
assignConversation(roomId: string, options?: any): Promise<Response>;
|
|
13613
13315
|
/**
|
|
13614
13316
|
*
|
|
13615
13317
|
* @summary Auto assign conversation
|
package/dist/api.js
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
* Do not edit the file manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CobrowsingApiFp = exports.CobrowsingApiFetchParamCreator = exports.CallsApi = exports.CallsApiFactory = exports.CallsApiFp = exports.CallsApiFetchParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiFetchParamCreator = exports.BotsApi = exports.BotsApiFactory = exports.BotsApiFp = exports.BotsApiFetchParamCreator = exports.BillingsApi = exports.BillingsApiFactory = exports.BillingsApiFp = exports.BillingsApiFetchParamCreator = exports.AgentStatusesApi = exports.AgentStatusesApiFactory = exports.AgentStatusesApiFp = exports.AgentStatusesApiFetchParamCreator = exports.AgentGroupsApi = exports.AgentGroupsApiFactory = exports.AgentGroupsApiFp = exports.AgentGroupsApiFetchParamCreator = exports.WidgetButtonsInput = exports.UserRole = exports.
|
|
17
|
-
exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiFetchParamCreator = exports.NLUApi = exports.NLUApiFactory = exports.NLUApiFp = exports.NLUApiFetchParamCreator = exports.MetabaseApi = exports.MetabaseApiFactory = exports.MetabaseApiFp = exports.MetabaseApiFetchParamCreator = exports.MessageWidgetsApi = exports.MessageWidgetsApiFactory = exports.MessageWidgetsApiFp = exports.MessageWidgetsApiFetchParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiFetchParamCreator = exports.MainNotificationsApi = exports.MainNotificationsApiFactory = exports.MainNotificationsApiFp = exports.MainNotificationsApiFetchParamCreator = exports.KnowledgeBasesApi = exports.KnowledgeBasesApiFactory = exports.KnowledgeBasesApiFp = exports.KnowledgeBasesApiFetchParamCreator = exports.InviteesApi = exports.InviteesApiFactory = exports.InviteesApiFp = exports.InviteesApiFetchParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiFetchParamCreator = exports.EventActionsApi = exports.EventActionsApiFactory = exports.EventActionsApiFp = exports.EventActionsApiFetchParamCreator = exports.ConversationsApi = exports.ConversationsApiFactory = exports.ConversationsApiFp = exports.ConversationsApiFetchParamCreator = exports.CompatibilityApi = exports.CompatibilityApiFactory = exports.CompatibilityApiFp = exports.CompatibilityApiFetchParamCreator = exports.CobrowsingApi =
|
|
18
|
-
exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.TagGroupTransfersParametersApi = exports.TagGroupTransfersParametersApiFactory = exports.TagGroupTransfersParametersApiFp = exports.TagGroupTransfersParametersApiFetchParamCreator = exports.TagGroupTransfersApi = exports.TagGroupTransfersApiFactory = exports.TagGroupTransfersApiFp = exports.TagGroupTransfersApiFetchParamCreator = exports.StatusApi = exports.StatusApiFactory = exports.StatusApiFp = exports.StatusApiFetchParamCreator = exports.SessionApi = exports.SessionApiFactory = exports.SessionApiFp = exports.SessionApiFetchParamCreator = exports.RoomsApi = exports.RoomsApiFactory = exports.RoomsApiFp = exports.RoomsApiFetchParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiFetchParamCreator = exports.PushApi = exports.PushApiFactory = exports.PushApiFp = exports.PushApiFetchParamCreator = exports.ProfanitiesApi = exports.ProfanitiesApiFactory = exports.ProfanitiesApiFp = exports.ProfanitiesApiFetchParamCreator = exports.ProactiveMsgApi = exports.ProactiveMsgApiFactory = exports.ProactiveMsgApiFp = exports.ProactiveMsgApiFetchParamCreator = exports.OrgsApi = exports.OrgsApiFactory = exports.OrgsApiFp = exports.OrgsApiFetchParamCreator = exports.OplAddressApi = exports.OplAddressApiFactory = exports.OplAddressApiFp = exports.OplAddressApiFetchParamCreator = exports.OIDCApi = exports.OIDCApiFactory = exports.OIDCApiFp =
|
|
19
|
-
exports.WidgetsFormsSubmissionsApi = exports.WidgetsFormsSubmissionsApiFactory = exports.WidgetsFormsSubmissionsApiFp = exports.WidgetsFormsSubmissionsApiFetchParamCreator = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiFetchParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiFetchParamCreator = exports.UrlTagMappingsApi = exports.UrlTagMappingsApiFactory = exports.UrlTagMappingsApiFp = exports.UrlTagMappingsApiFetchParamCreator = exports.UnreadApi = exports.UnreadApiFactory = exports.UnreadApiFp = exports.UnreadApiFetchParamCreator = exports.TopicsApi = exports.TopicsApiFactory = exports.TopicsApiFp = exports.TopicsApiFetchParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiFetchParamCreator = exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi =
|
|
16
|
+
exports.CobrowsingApiFactory = exports.CobrowsingApiFp = exports.CobrowsingApiFetchParamCreator = exports.CallsApi = exports.CallsApiFactory = exports.CallsApiFp = exports.CallsApiFetchParamCreator = exports.CalendarsApi = exports.CalendarsApiFactory = exports.CalendarsApiFp = exports.CalendarsApiFetchParamCreator = exports.BotsApi = exports.BotsApiFactory = exports.BotsApiFp = exports.BotsApiFetchParamCreator = exports.BillingsApi = exports.BillingsApiFactory = exports.BillingsApiFp = exports.BillingsApiFetchParamCreator = exports.AgentStatusesApi = exports.AgentStatusesApiFactory = exports.AgentStatusesApiFp = exports.AgentStatusesApiFetchParamCreator = exports.AgentGroupsApi = exports.AgentGroupsApiFactory = exports.AgentGroupsApiFp = exports.AgentGroupsApiFetchParamCreator = exports.WidgetButtonsInput = exports.UserRole = exports.UnreadySubstatus = exports.SnoozedStatus = exports.RegisterInPushService = exports.Presence = exports.ModelTrainingStatus = exports.MetabaseScope = exports.MessageWidgetConfigContextType = exports.MatchingStrategy = exports.Locale = exports.InboxSorting = exports.InboxEntryType = exports.EventActionEvent = exports.ConversationStatus = exports.CallPopoutMode = exports.BotType = exports.AvailableSubstatus = exports.AppicationErrorReason = exports.AppPermission = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
17
|
+
exports.OIDCApiFetchParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiFetchParamCreator = exports.NLUApi = exports.NLUApiFactory = exports.NLUApiFp = exports.NLUApiFetchParamCreator = exports.MetabaseApi = exports.MetabaseApiFactory = exports.MetabaseApiFp = exports.MetabaseApiFetchParamCreator = exports.MessageWidgetsApi = exports.MessageWidgetsApiFactory = exports.MessageWidgetsApiFp = exports.MessageWidgetsApiFetchParamCreator = exports.MeetingsApi = exports.MeetingsApiFactory = exports.MeetingsApiFp = exports.MeetingsApiFetchParamCreator = exports.MainNotificationsApi = exports.MainNotificationsApiFactory = exports.MainNotificationsApiFp = exports.MainNotificationsApiFetchParamCreator = exports.KnowledgeBasesApi = exports.KnowledgeBasesApiFactory = exports.KnowledgeBasesApiFp = exports.KnowledgeBasesApiFetchParamCreator = exports.InviteesApi = exports.InviteesApiFactory = exports.InviteesApiFp = exports.InviteesApiFetchParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiFetchParamCreator = exports.EventActionsApi = exports.EventActionsApiFactory = exports.EventActionsApiFp = exports.EventActionsApiFetchParamCreator = exports.ConversationsApi = exports.ConversationsApiFactory = exports.ConversationsApiFp = exports.ConversationsApiFetchParamCreator = exports.CompatibilityApi = exports.CompatibilityApiFactory = exports.CompatibilityApiFp = exports.CompatibilityApiFetchParamCreator = exports.CobrowsingApi = void 0;
|
|
18
|
+
exports.TagGroupsApiFactory = exports.TagGroupsApiFp = exports.TagGroupsApiFetchParamCreator = exports.TagGroupTransfersParametersApi = exports.TagGroupTransfersParametersApiFactory = exports.TagGroupTransfersParametersApiFp = exports.TagGroupTransfersParametersApiFetchParamCreator = exports.TagGroupTransfersApi = exports.TagGroupTransfersApiFactory = exports.TagGroupTransfersApiFp = exports.TagGroupTransfersApiFetchParamCreator = exports.StatusApi = exports.StatusApiFactory = exports.StatusApiFp = exports.StatusApiFetchParamCreator = exports.SessionApi = exports.SessionApiFactory = exports.SessionApiFp = exports.SessionApiFetchParamCreator = exports.RoomsApi = exports.RoomsApiFactory = exports.RoomsApiFp = exports.RoomsApiFetchParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiFetchParamCreator = exports.PushApi = exports.PushApiFactory = exports.PushApiFp = exports.PushApiFetchParamCreator = exports.ProfanitiesApi = exports.ProfanitiesApiFactory = exports.ProfanitiesApiFp = exports.ProfanitiesApiFetchParamCreator = exports.ProactiveMsgApi = exports.ProactiveMsgApiFactory = exports.ProactiveMsgApiFp = exports.ProactiveMsgApiFetchParamCreator = exports.OrgsApi = exports.OrgsApiFactory = exports.OrgsApiFp = exports.OrgsApiFetchParamCreator = exports.OplAddressApi = exports.OplAddressApiFactory = exports.OplAddressApiFp = exports.OplAddressApiFetchParamCreator = exports.OIDCApi = exports.OIDCApiFactory = exports.OIDCApiFp = void 0;
|
|
19
|
+
exports.WidgetsFormsSubmissionsApi = exports.WidgetsFormsSubmissionsApiFactory = exports.WidgetsFormsSubmissionsApiFp = exports.WidgetsFormsSubmissionsApiFetchParamCreator = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiFetchParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiFetchParamCreator = exports.UrlTagMappingsApi = exports.UrlTagMappingsApiFactory = exports.UrlTagMappingsApiFp = exports.UrlTagMappingsApiFetchParamCreator = exports.UnreadApi = exports.UnreadApiFactory = exports.UnreadApiFp = exports.UnreadApiFetchParamCreator = exports.TopicsApi = exports.TopicsApiFactory = exports.TopicsApiFp = exports.TopicsApiFetchParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiFetchParamCreator = exports.TagMappingsApi = exports.TagMappingsApiFactory = exports.TagMappingsApiFp = exports.TagMappingsApiFetchParamCreator = exports.TagGroupsApi = void 0;
|
|
20
20
|
const url = require("url");
|
|
21
21
|
const isomorphicFetch = require("isomorphic-fetch");
|
|
22
22
|
const BASE_PATH = "/api".replace(/\/+$/, "");
|
|
@@ -334,16 +334,6 @@ var UnreadySubstatus;
|
|
|
334
334
|
UnreadySubstatus["OnCall"] = "on_call";
|
|
335
335
|
UnreadySubstatus["AfterCall"] = "after_call";
|
|
336
336
|
})(UnreadySubstatus = exports.UnreadySubstatus || (exports.UnreadySubstatus = {}));
|
|
337
|
-
/**
|
|
338
|
-
*
|
|
339
|
-
* @export
|
|
340
|
-
* @enum {string}
|
|
341
|
-
*/
|
|
342
|
-
var UrlParameter;
|
|
343
|
-
(function (UrlParameter) {
|
|
344
|
-
UrlParameter["RoomId"] = "roomId";
|
|
345
|
-
UrlParameter["Token"] = "token";
|
|
346
|
-
})(UrlParameter = exports.UrlParameter || (exports.UrlParameter = {}));
|
|
347
337
|
/**
|
|
348
338
|
*
|
|
349
339
|
* @export
|
|
@@ -12911,40 +12901,6 @@ const RoomsApiFetchParamCreator = function (configuration) {
|
|
|
12911
12901
|
options: localVarRequestOptions,
|
|
12912
12902
|
};
|
|
12913
12903
|
},
|
|
12914
|
-
/**
|
|
12915
|
-
*
|
|
12916
|
-
* @summary Assign conversation
|
|
12917
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
12918
|
-
* @param {*} [options] Override http request option.
|
|
12919
|
-
* @throws {RequiredError}
|
|
12920
|
-
*/
|
|
12921
|
-
assignConversation(roomId, options = {}) {
|
|
12922
|
-
// verify required parameter 'roomId' is not null or undefined
|
|
12923
|
-
if (roomId === null || roomId === undefined) {
|
|
12924
|
-
throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling assignConversation.');
|
|
12925
|
-
}
|
|
12926
|
-
const localVarPath = `/rooms/{roomId}/assign`
|
|
12927
|
-
.replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
|
|
12928
|
-
const localVarUrlObj = url.parse(localVarPath, true);
|
|
12929
|
-
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
12930
|
-
const localVarHeaderParameter = {};
|
|
12931
|
-
const localVarQueryParameter = {};
|
|
12932
|
-
// authentication apiKey required
|
|
12933
|
-
if (configuration && configuration.apiKey) {
|
|
12934
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
12935
|
-
? configuration.apiKey("X-Api-Key")
|
|
12936
|
-
: configuration.apiKey;
|
|
12937
|
-
localVarHeaderParameter["X-Api-Key"] = localVarApiKeyValue;
|
|
12938
|
-
}
|
|
12939
|
-
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
12940
|
-
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
12941
|
-
delete localVarUrlObj.search;
|
|
12942
|
-
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
12943
|
-
return {
|
|
12944
|
-
url: url.format(localVarUrlObj),
|
|
12945
|
-
options: localVarRequestOptions,
|
|
12946
|
-
};
|
|
12947
|
-
},
|
|
12948
12904
|
/**
|
|
12949
12905
|
*
|
|
12950
12906
|
* @summary Auto assign conversation
|
|
@@ -13451,26 +13407,6 @@ const RoomsApiFp = function (configuration) {
|
|
|
13451
13407
|
});
|
|
13452
13408
|
};
|
|
13453
13409
|
},
|
|
13454
|
-
/**
|
|
13455
|
-
*
|
|
13456
|
-
* @summary Assign conversation
|
|
13457
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13458
|
-
* @param {*} [options] Override http request option.
|
|
13459
|
-
* @throws {RequiredError}
|
|
13460
|
-
*/
|
|
13461
|
-
assignConversation(roomId, options) {
|
|
13462
|
-
const localVarFetchArgs = (0, exports.RoomsApiFetchParamCreator)(configuration).assignConversation(roomId, options);
|
|
13463
|
-
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
13464
|
-
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
13465
|
-
if (response.status >= 200 && response.status < 300) {
|
|
13466
|
-
return response;
|
|
13467
|
-
}
|
|
13468
|
-
else {
|
|
13469
|
-
throw response;
|
|
13470
|
-
}
|
|
13471
|
-
});
|
|
13472
|
-
};
|
|
13473
|
-
},
|
|
13474
13410
|
/**
|
|
13475
13411
|
*
|
|
13476
13412
|
* @summary Auto assign conversation
|
|
@@ -13755,16 +13691,6 @@ const RoomsApiFactory = function (configuration, fetch, basePath) {
|
|
|
13755
13691
|
addFollower(body, roomId, options) {
|
|
13756
13692
|
return (0, exports.RoomsApiFp)(configuration).addFollower(body, roomId, options)(fetch, basePath);
|
|
13757
13693
|
},
|
|
13758
|
-
/**
|
|
13759
|
-
*
|
|
13760
|
-
* @summary Assign conversation
|
|
13761
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13762
|
-
* @param {*} [options] Override http request option.
|
|
13763
|
-
* @throws {RequiredError}
|
|
13764
|
-
*/
|
|
13765
|
-
assignConversation(roomId, options) {
|
|
13766
|
-
return (0, exports.RoomsApiFp)(configuration).assignConversation(roomId, options)(fetch, basePath);
|
|
13767
|
-
},
|
|
13768
13694
|
/**
|
|
13769
13695
|
*
|
|
13770
13696
|
* @summary Auto assign conversation
|
|
@@ -13921,17 +13847,6 @@ class RoomsApi extends BaseAPI {
|
|
|
13921
13847
|
addFollower(body, roomId, options) {
|
|
13922
13848
|
return (0, exports.RoomsApiFp)(this.configuration).addFollower(body, roomId, options)(this.fetch, this.basePath);
|
|
13923
13849
|
}
|
|
13924
|
-
/**
|
|
13925
|
-
*
|
|
13926
|
-
* @summary Assign conversation
|
|
13927
|
-
* @param {string} roomId The ID of the room of the conversation.
|
|
13928
|
-
* @param {*} [options] Override http request option.
|
|
13929
|
-
* @throws {RequiredError}
|
|
13930
|
-
* @memberof RoomsApi
|
|
13931
|
-
*/
|
|
13932
|
-
assignConversation(roomId, options) {
|
|
13933
|
-
return (0, exports.RoomsApiFp)(this.configuration).assignConversation(roomId, options)(this.fetch, this.basePath);
|
|
13934
|
-
}
|
|
13935
13850
|
/**
|
|
13936
13851
|
*
|
|
13937
13852
|
* @summary Auto assign conversation
|