@closerplatform/spinner-openapi 0.12.597 → 0.12.599
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 +43 -31
- package/dist/api.js +6 -6
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -741,10 +741,10 @@ export interface AgentProfileForm {
|
|
|
741
741
|
lastName: string;
|
|
742
742
|
/**
|
|
743
743
|
*
|
|
744
|
-
* @type {
|
|
744
|
+
* @type {RawPhone}
|
|
745
745
|
* @memberof AgentProfileForm
|
|
746
746
|
*/
|
|
747
|
-
phone?:
|
|
747
|
+
phone?: RawPhone;
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
750
|
*
|
|
@@ -1136,6 +1136,18 @@ export interface BotInfo {
|
|
|
1136
1136
|
* @memberof BotInfo
|
|
1137
1137
|
*/
|
|
1138
1138
|
botType: BotInfo.BotTypeEnum;
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @type {string}
|
|
1142
|
+
* @memberof BotInfo
|
|
1143
|
+
*/
|
|
1144
|
+
knowledgeBaseId?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
*
|
|
1147
|
+
* @type {number}
|
|
1148
|
+
* @memberof BotInfo
|
|
1149
|
+
*/
|
|
1150
|
+
knowledgeBaseUpdatedAt?: number;
|
|
1139
1151
|
}
|
|
1140
1152
|
/**
|
|
1141
1153
|
* @export
|
|
@@ -2635,10 +2647,10 @@ export interface GuestProfileForm {
|
|
|
2635
2647
|
email?: string;
|
|
2636
2648
|
/**
|
|
2637
2649
|
*
|
|
2638
|
-
* @type {
|
|
2650
|
+
* @type {RawPhone}
|
|
2639
2651
|
* @memberof GuestProfileForm
|
|
2640
2652
|
*/
|
|
2641
|
-
phone?:
|
|
2653
|
+
phone?: RawPhone;
|
|
2642
2654
|
/**
|
|
2643
2655
|
*
|
|
2644
2656
|
* @type {string}
|
|
@@ -2702,10 +2714,10 @@ export interface GuestProfileFormPatch {
|
|
|
2702
2714
|
email?: string;
|
|
2703
2715
|
/**
|
|
2704
2716
|
*
|
|
2705
|
-
* @type {
|
|
2717
|
+
* @type {RawPhone}
|
|
2706
2718
|
* @memberof GuestProfileFormPatch
|
|
2707
2719
|
*/
|
|
2708
|
-
phone?:
|
|
2720
|
+
phone?: RawPhone;
|
|
2709
2721
|
/**
|
|
2710
2722
|
*
|
|
2711
2723
|
* @type {string}
|
|
@@ -4792,7 +4804,7 @@ export interface OrgConfig {
|
|
|
4792
4804
|
* @type {string}
|
|
4793
4805
|
* @memberof OrgConfig
|
|
4794
4806
|
*/
|
|
4795
|
-
|
|
4807
|
+
phoneRegion: string;
|
|
4796
4808
|
/**
|
|
4797
4809
|
*
|
|
4798
4810
|
* @type {string}
|
|
@@ -5459,19 +5471,6 @@ export interface PhoneDetailsFormatting {
|
|
|
5459
5471
|
*/
|
|
5460
5472
|
countryCode?: string;
|
|
5461
5473
|
}
|
|
5462
|
-
/**
|
|
5463
|
-
*
|
|
5464
|
-
* @export
|
|
5465
|
-
* @interface PhoneNumber
|
|
5466
|
-
*/
|
|
5467
|
-
export interface PhoneNumber {
|
|
5468
|
-
/**
|
|
5469
|
-
*
|
|
5470
|
-
* @type {Phone}
|
|
5471
|
-
* @memberof PhoneNumber
|
|
5472
|
-
*/
|
|
5473
|
-
phone: Phone;
|
|
5474
|
-
}
|
|
5475
5474
|
/**
|
|
5476
5475
|
*
|
|
5477
5476
|
* @export
|
|
@@ -5692,6 +5691,19 @@ export interface RadioListInput {
|
|
|
5692
5691
|
*/
|
|
5693
5692
|
options: Array<CheckboxOption>;
|
|
5694
5693
|
}
|
|
5694
|
+
/**
|
|
5695
|
+
*
|
|
5696
|
+
* @export
|
|
5697
|
+
* @interface RawPhone
|
|
5698
|
+
*/
|
|
5699
|
+
export interface RawPhone {
|
|
5700
|
+
/**
|
|
5701
|
+
*
|
|
5702
|
+
* @type {string}
|
|
5703
|
+
* @memberof RawPhone
|
|
5704
|
+
*/
|
|
5705
|
+
number: string;
|
|
5706
|
+
}
|
|
5695
5707
|
/**
|
|
5696
5708
|
*
|
|
5697
5709
|
* @export
|
|
@@ -8150,7 +8162,7 @@ export declare const BotsApiFp: (configuration?: Configuration) => {
|
|
|
8150
8162
|
* @param {*} [options] Override http request option.
|
|
8151
8163
|
* @throws {RequiredError}
|
|
8152
8164
|
*/
|
|
8153
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
8165
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<BotInfo>;
|
|
8154
8166
|
/**
|
|
8155
8167
|
*
|
|
8156
8168
|
* @summary update lekta config
|
|
@@ -8233,7 +8245,7 @@ export declare const BotsApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
8233
8245
|
* @param {*} [options] Override http request option.
|
|
8234
8246
|
* @throws {RequiredError}
|
|
8235
8247
|
*/
|
|
8236
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<
|
|
8248
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<BotInfo>;
|
|
8237
8249
|
/**
|
|
8238
8250
|
*
|
|
8239
8251
|
* @summary update lekta config
|
|
@@ -8327,7 +8339,7 @@ export declare class BotsApi extends BaseAPI {
|
|
|
8327
8339
|
* @throws {RequiredError}
|
|
8328
8340
|
* @memberof BotsApi
|
|
8329
8341
|
*/
|
|
8330
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<
|
|
8342
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<BotInfo>;
|
|
8331
8343
|
/**
|
|
8332
8344
|
*
|
|
8333
8345
|
* @summary update lekta config
|
|
@@ -15119,11 +15131,11 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15119
15131
|
/**
|
|
15120
15132
|
*
|
|
15121
15133
|
* @summary Validate phone number
|
|
15122
|
-
* @param {
|
|
15134
|
+
* @param {RawPhone} body
|
|
15123
15135
|
* @param {*} [options] Override http request option.
|
|
15124
15136
|
* @throws {RequiredError}
|
|
15125
15137
|
*/
|
|
15126
|
-
validatePhone(body:
|
|
15138
|
+
validatePhone(body: RawPhone, options?: any): FetchArgs;
|
|
15127
15139
|
};
|
|
15128
15140
|
/**
|
|
15129
15141
|
* UsersApi - functional programming interface
|
|
@@ -15467,11 +15479,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15467
15479
|
/**
|
|
15468
15480
|
*
|
|
15469
15481
|
* @summary Validate phone number
|
|
15470
|
-
* @param {
|
|
15482
|
+
* @param {RawPhone} body
|
|
15471
15483
|
* @param {*} [options] Override http request option.
|
|
15472
15484
|
* @throws {RequiredError}
|
|
15473
15485
|
*/
|
|
15474
|
-
validatePhone(body:
|
|
15486
|
+
validatePhone(body: RawPhone, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<PhoneDetails>;
|
|
15475
15487
|
};
|
|
15476
15488
|
/**
|
|
15477
15489
|
* UsersApi - factory interface
|
|
@@ -15815,11 +15827,11 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15815
15827
|
/**
|
|
15816
15828
|
*
|
|
15817
15829
|
* @summary Validate phone number
|
|
15818
|
-
* @param {
|
|
15830
|
+
* @param {RawPhone} body
|
|
15819
15831
|
* @param {*} [options] Override http request option.
|
|
15820
15832
|
* @throws {RequiredError}
|
|
15821
15833
|
*/
|
|
15822
|
-
validatePhone(body:
|
|
15834
|
+
validatePhone(body: RawPhone, options?: any): Promise<PhoneDetails>;
|
|
15823
15835
|
};
|
|
15824
15836
|
/**
|
|
15825
15837
|
* UsersApi - object-oriented interface
|
|
@@ -16207,12 +16219,12 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16207
16219
|
/**
|
|
16208
16220
|
*
|
|
16209
16221
|
* @summary Validate phone number
|
|
16210
|
-
* @param {
|
|
16222
|
+
* @param {RawPhone} body
|
|
16211
16223
|
* @param {*} [options] Override http request option.
|
|
16212
16224
|
* @throws {RequiredError}
|
|
16213
16225
|
* @memberof UsersApi
|
|
16214
16226
|
*/
|
|
16215
|
-
validatePhone(body:
|
|
16227
|
+
validatePhone(body: RawPhone, options?: any): Promise<PhoneDetails>;
|
|
16216
16228
|
}
|
|
16217
16229
|
/**
|
|
16218
16230
|
* WebhooksApi - fetch parameter creator
|
package/dist/api.js
CHANGED
|
@@ -2525,7 +2525,7 @@ const BotsApiFp = function (configuration) {
|
|
|
2525
2525
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
2526
2526
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
2527
2527
|
if (response.status >= 200 && response.status < 300) {
|
|
2528
|
-
return response;
|
|
2528
|
+
return response.json();
|
|
2529
2529
|
}
|
|
2530
2530
|
else {
|
|
2531
2531
|
throw response;
|
|
@@ -18298,7 +18298,7 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
18298
18298
|
/**
|
|
18299
18299
|
*
|
|
18300
18300
|
* @summary Validate phone number
|
|
18301
|
-
* @param {
|
|
18301
|
+
* @param {RawPhone} body
|
|
18302
18302
|
* @param {*} [options] Override http request option.
|
|
18303
18303
|
* @throws {RequiredError}
|
|
18304
18304
|
*/
|
|
@@ -18331,7 +18331,7 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
18331
18331
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
18332
18332
|
delete localVarUrlObj.search;
|
|
18333
18333
|
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
18334
|
-
const needsSerialization = ("
|
|
18334
|
+
const needsSerialization = ("RawPhone" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
18335
18335
|
localVarRequestOptions.body = needsSerialization ? JSON.stringify(body || {}) : (body || "");
|
|
18336
18336
|
return {
|
|
18337
18337
|
url: url.format(localVarUrlObj),
|
|
@@ -19188,7 +19188,7 @@ const UsersApiFp = function (configuration) {
|
|
|
19188
19188
|
/**
|
|
19189
19189
|
*
|
|
19190
19190
|
* @summary Validate phone number
|
|
19191
|
-
* @param {
|
|
19191
|
+
* @param {RawPhone} body
|
|
19192
19192
|
* @param {*} [options] Override http request option.
|
|
19193
19193
|
* @throws {RequiredError}
|
|
19194
19194
|
*/
|
|
@@ -19635,7 +19635,7 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19635
19635
|
/**
|
|
19636
19636
|
*
|
|
19637
19637
|
* @summary Validate phone number
|
|
19638
|
-
* @param {
|
|
19638
|
+
* @param {RawPhone} body
|
|
19639
19639
|
* @param {*} [options] Override http request option.
|
|
19640
19640
|
* @throws {RequiredError}
|
|
19641
19641
|
*/
|
|
@@ -20115,7 +20115,7 @@ class UsersApi extends BaseAPI {
|
|
|
20115
20115
|
/**
|
|
20116
20116
|
*
|
|
20117
20117
|
* @summary Validate phone number
|
|
20118
|
-
* @param {
|
|
20118
|
+
* @param {RawPhone} body
|
|
20119
20119
|
* @param {*} [options] Override http request option.
|
|
20120
20120
|
* @throws {RequiredError}
|
|
20121
20121
|
* @memberof UsersApi
|