@closerplatform/spinner-openapi 0.12.446 → 0.12.447
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 +18 -16
- package/dist/api.js +24 -33
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -104,6 +104,12 @@ export interface AddMark {
|
|
|
104
104
|
* @interface AddWidgetForm
|
|
105
105
|
*/
|
|
106
106
|
export interface AddWidgetForm {
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof AddWidgetForm
|
|
111
|
+
*/
|
|
112
|
+
roomId: string;
|
|
107
113
|
/**
|
|
108
114
|
*
|
|
109
115
|
* @type {string}
|
|
@@ -16409,19 +16415,18 @@ export declare const WidgetsFormsSubmissionsApiFetchParamCreator: (configuration
|
|
|
16409
16415
|
*
|
|
16410
16416
|
* @summary create form for room
|
|
16411
16417
|
* @param {AddWidgetForm} body
|
|
16412
|
-
* @param {string} id
|
|
16413
16418
|
* @param {*} [options] Override http request option.
|
|
16414
16419
|
* @throws {RequiredError}
|
|
16415
16420
|
*/
|
|
16416
|
-
createWidgetFormForRoomId(body: AddWidgetForm,
|
|
16421
|
+
createWidgetFormForRoomId(body: AddWidgetForm, options?: any): FetchArgs;
|
|
16417
16422
|
/**
|
|
16418
16423
|
*
|
|
16419
16424
|
* @summary get form with widget
|
|
16420
|
-
* @param {string}
|
|
16425
|
+
* @param {string} formId
|
|
16421
16426
|
* @param {*} [options] Override http request option.
|
|
16422
16427
|
* @throws {RequiredError}
|
|
16423
16428
|
*/
|
|
16424
|
-
getWidgetFormByFormId(
|
|
16429
|
+
getWidgetFormByFormId(formId: string, options?: any): FetchArgs;
|
|
16425
16430
|
/**
|
|
16426
16431
|
*
|
|
16427
16432
|
* @summary submit form
|
|
@@ -16441,19 +16446,18 @@ export declare const WidgetsFormsSubmissionsApiFp: (configuration?: Configuratio
|
|
|
16441
16446
|
*
|
|
16442
16447
|
* @summary create form for room
|
|
16443
16448
|
* @param {AddWidgetForm} body
|
|
16444
|
-
* @param {string} id
|
|
16445
16449
|
* @param {*} [options] Override http request option.
|
|
16446
16450
|
* @throws {RequiredError}
|
|
16447
16451
|
*/
|
|
16448
|
-
createWidgetFormForRoomId(body: AddWidgetForm,
|
|
16452
|
+
createWidgetFormForRoomId(body: AddWidgetForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WidgetFormSubmission>;
|
|
16449
16453
|
/**
|
|
16450
16454
|
*
|
|
16451
16455
|
* @summary get form with widget
|
|
16452
|
-
* @param {string}
|
|
16456
|
+
* @param {string} formId
|
|
16453
16457
|
* @param {*} [options] Override http request option.
|
|
16454
16458
|
* @throws {RequiredError}
|
|
16455
16459
|
*/
|
|
16456
|
-
getWidgetFormByFormId(
|
|
16460
|
+
getWidgetFormByFormId(formId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<WidgetFormSubmissionWithWidget>;
|
|
16457
16461
|
/**
|
|
16458
16462
|
*
|
|
16459
16463
|
* @summary submit form
|
|
@@ -16473,19 +16477,18 @@ export declare const WidgetsFormsSubmissionsApiFactory: (configuration?: Configu
|
|
|
16473
16477
|
*
|
|
16474
16478
|
* @summary create form for room
|
|
16475
16479
|
* @param {AddWidgetForm} body
|
|
16476
|
-
* @param {string} id
|
|
16477
16480
|
* @param {*} [options] Override http request option.
|
|
16478
16481
|
* @throws {RequiredError}
|
|
16479
16482
|
*/
|
|
16480
|
-
createWidgetFormForRoomId(body: AddWidgetForm,
|
|
16483
|
+
createWidgetFormForRoomId(body: AddWidgetForm, options?: any): Promise<WidgetFormSubmission>;
|
|
16481
16484
|
/**
|
|
16482
16485
|
*
|
|
16483
16486
|
* @summary get form with widget
|
|
16484
|
-
* @param {string}
|
|
16487
|
+
* @param {string} formId
|
|
16485
16488
|
* @param {*} [options] Override http request option.
|
|
16486
16489
|
* @throws {RequiredError}
|
|
16487
16490
|
*/
|
|
16488
|
-
getWidgetFormByFormId(
|
|
16491
|
+
getWidgetFormByFormId(formId: string, options?: any): Promise<WidgetFormSubmissionWithWidget>;
|
|
16489
16492
|
/**
|
|
16490
16493
|
*
|
|
16491
16494
|
* @summary submit form
|
|
@@ -16507,21 +16510,20 @@ export declare class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
16507
16510
|
*
|
|
16508
16511
|
* @summary create form for room
|
|
16509
16512
|
* @param {AddWidgetForm} body
|
|
16510
|
-
* @param {string} id
|
|
16511
16513
|
* @param {*} [options] Override http request option.
|
|
16512
16514
|
* @throws {RequiredError}
|
|
16513
16515
|
* @memberof WidgetsFormsSubmissionsApi
|
|
16514
16516
|
*/
|
|
16515
|
-
createWidgetFormForRoomId(body: AddWidgetForm,
|
|
16517
|
+
createWidgetFormForRoomId(body: AddWidgetForm, options?: any): Promise<WidgetFormSubmission>;
|
|
16516
16518
|
/**
|
|
16517
16519
|
*
|
|
16518
16520
|
* @summary get form with widget
|
|
16519
|
-
* @param {string}
|
|
16521
|
+
* @param {string} formId
|
|
16520
16522
|
* @param {*} [options] Override http request option.
|
|
16521
16523
|
* @throws {RequiredError}
|
|
16522
16524
|
* @memberof WidgetsFormsSubmissionsApi
|
|
16523
16525
|
*/
|
|
16524
|
-
getWidgetFormByFormId(
|
|
16526
|
+
getWidgetFormByFormId(formId: string, options?: any): Promise<WidgetFormSubmissionWithWidget>;
|
|
16525
16527
|
/**
|
|
16526
16528
|
*
|
|
16527
16529
|
* @summary submit form
|
package/dist/api.js
CHANGED
|
@@ -20588,21 +20588,15 @@ const WidgetsFormsSubmissionsApiFetchParamCreator = function (configuration) {
|
|
|
20588
20588
|
*
|
|
20589
20589
|
* @summary create form for room
|
|
20590
20590
|
* @param {AddWidgetForm} body
|
|
20591
|
-
* @param {string} id
|
|
20592
20591
|
* @param {*} [options] Override http request option.
|
|
20593
20592
|
* @throws {RequiredError}
|
|
20594
20593
|
*/
|
|
20595
|
-
createWidgetFormForRoomId(body,
|
|
20594
|
+
createWidgetFormForRoomId(body, options = {}) {
|
|
20596
20595
|
// verify required parameter 'body' is not null or undefined
|
|
20597
20596
|
if (body === null || body === undefined) {
|
|
20598
20597
|
throw new RequiredError('body', 'Required parameter body was null or undefined when calling createWidgetFormForRoomId.');
|
|
20599
20598
|
}
|
|
20600
|
-
|
|
20601
|
-
if (id === null || id === undefined) {
|
|
20602
|
-
throw new RequiredError('id', 'Required parameter id was null or undefined when calling createWidgetFormForRoomId.');
|
|
20603
|
-
}
|
|
20604
|
-
const localVarPath = `/widgets-forms-submissions/{id}`
|
|
20605
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
20599
|
+
const localVarPath = `/widgets-forms-submissions`;
|
|
20606
20600
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
20607
20601
|
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
20608
20602
|
const localVarHeaderParameter = {};
|
|
@@ -20629,17 +20623,17 @@ const WidgetsFormsSubmissionsApiFetchParamCreator = function (configuration) {
|
|
|
20629
20623
|
/**
|
|
20630
20624
|
*
|
|
20631
20625
|
* @summary get form with widget
|
|
20632
|
-
* @param {string}
|
|
20626
|
+
* @param {string} formId
|
|
20633
20627
|
* @param {*} [options] Override http request option.
|
|
20634
20628
|
* @throws {RequiredError}
|
|
20635
20629
|
*/
|
|
20636
|
-
getWidgetFormByFormId(
|
|
20637
|
-
// verify required parameter '
|
|
20638
|
-
if (
|
|
20639
|
-
throw new RequiredError('
|
|
20630
|
+
getWidgetFormByFormId(formId, options = {}) {
|
|
20631
|
+
// verify required parameter 'formId' is not null or undefined
|
|
20632
|
+
if (formId === null || formId === undefined) {
|
|
20633
|
+
throw new RequiredError('formId', 'Required parameter formId was null or undefined when calling getWidgetFormByFormId.');
|
|
20640
20634
|
}
|
|
20641
|
-
const localVarPath = `/widgets-forms-submissions/{
|
|
20642
|
-
.replace(`{${"
|
|
20635
|
+
const localVarPath = `/widgets-forms-submissions/{formId}`
|
|
20636
|
+
.replace(`{${"formId"}}`, encodeURIComponent(String(formId)));
|
|
20643
20637
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
20644
20638
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
20645
20639
|
const localVarHeaderParameter = {};
|
|
@@ -20729,12 +20723,11 @@ const WidgetsFormsSubmissionsApiFp = function (configuration) {
|
|
|
20729
20723
|
*
|
|
20730
20724
|
* @summary create form for room
|
|
20731
20725
|
* @param {AddWidgetForm} body
|
|
20732
|
-
* @param {string} id
|
|
20733
20726
|
* @param {*} [options] Override http request option.
|
|
20734
20727
|
* @throws {RequiredError}
|
|
20735
20728
|
*/
|
|
20736
|
-
createWidgetFormForRoomId(body,
|
|
20737
|
-
const localVarFetchArgs = (0, exports.WidgetsFormsSubmissionsApiFetchParamCreator)(configuration).createWidgetFormForRoomId(body,
|
|
20729
|
+
createWidgetFormForRoomId(body, options) {
|
|
20730
|
+
const localVarFetchArgs = (0, exports.WidgetsFormsSubmissionsApiFetchParamCreator)(configuration).createWidgetFormForRoomId(body, options);
|
|
20738
20731
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
20739
20732
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
20740
20733
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -20749,12 +20742,12 @@ const WidgetsFormsSubmissionsApiFp = function (configuration) {
|
|
|
20749
20742
|
/**
|
|
20750
20743
|
*
|
|
20751
20744
|
* @summary get form with widget
|
|
20752
|
-
* @param {string}
|
|
20745
|
+
* @param {string} formId
|
|
20753
20746
|
* @param {*} [options] Override http request option.
|
|
20754
20747
|
* @throws {RequiredError}
|
|
20755
20748
|
*/
|
|
20756
|
-
getWidgetFormByFormId(
|
|
20757
|
-
const localVarFetchArgs = (0, exports.WidgetsFormsSubmissionsApiFetchParamCreator)(configuration).getWidgetFormByFormId(
|
|
20749
|
+
getWidgetFormByFormId(formId, options) {
|
|
20750
|
+
const localVarFetchArgs = (0, exports.WidgetsFormsSubmissionsApiFetchParamCreator)(configuration).getWidgetFormByFormId(formId, options);
|
|
20758
20751
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
20759
20752
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
20760
20753
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -20800,22 +20793,21 @@ const WidgetsFormsSubmissionsApiFactory = function (configuration, fetch, basePa
|
|
|
20800
20793
|
*
|
|
20801
20794
|
* @summary create form for room
|
|
20802
20795
|
* @param {AddWidgetForm} body
|
|
20803
|
-
* @param {string} id
|
|
20804
20796
|
* @param {*} [options] Override http request option.
|
|
20805
20797
|
* @throws {RequiredError}
|
|
20806
20798
|
*/
|
|
20807
|
-
createWidgetFormForRoomId(body,
|
|
20808
|
-
return (0, exports.WidgetsFormsSubmissionsApiFp)(configuration).createWidgetFormForRoomId(body,
|
|
20799
|
+
createWidgetFormForRoomId(body, options) {
|
|
20800
|
+
return (0, exports.WidgetsFormsSubmissionsApiFp)(configuration).createWidgetFormForRoomId(body, options)(fetch, basePath);
|
|
20809
20801
|
},
|
|
20810
20802
|
/**
|
|
20811
20803
|
*
|
|
20812
20804
|
* @summary get form with widget
|
|
20813
|
-
* @param {string}
|
|
20805
|
+
* @param {string} formId
|
|
20814
20806
|
* @param {*} [options] Override http request option.
|
|
20815
20807
|
* @throws {RequiredError}
|
|
20816
20808
|
*/
|
|
20817
|
-
getWidgetFormByFormId(
|
|
20818
|
-
return (0, exports.WidgetsFormsSubmissionsApiFp)(configuration).getWidgetFormByFormId(
|
|
20809
|
+
getWidgetFormByFormId(formId, options) {
|
|
20810
|
+
return (0, exports.WidgetsFormsSubmissionsApiFp)(configuration).getWidgetFormByFormId(formId, options)(fetch, basePath);
|
|
20819
20811
|
},
|
|
20820
20812
|
/**
|
|
20821
20813
|
*
|
|
@@ -20842,24 +20834,23 @@ class WidgetsFormsSubmissionsApi extends BaseAPI {
|
|
|
20842
20834
|
*
|
|
20843
20835
|
* @summary create form for room
|
|
20844
20836
|
* @param {AddWidgetForm} body
|
|
20845
|
-
* @param {string} id
|
|
20846
20837
|
* @param {*} [options] Override http request option.
|
|
20847
20838
|
* @throws {RequiredError}
|
|
20848
20839
|
* @memberof WidgetsFormsSubmissionsApi
|
|
20849
20840
|
*/
|
|
20850
|
-
createWidgetFormForRoomId(body,
|
|
20851
|
-
return (0, exports.WidgetsFormsSubmissionsApiFp)(this.configuration).createWidgetFormForRoomId(body,
|
|
20841
|
+
createWidgetFormForRoomId(body, options) {
|
|
20842
|
+
return (0, exports.WidgetsFormsSubmissionsApiFp)(this.configuration).createWidgetFormForRoomId(body, options)(this.fetch, this.basePath);
|
|
20852
20843
|
}
|
|
20853
20844
|
/**
|
|
20854
20845
|
*
|
|
20855
20846
|
* @summary get form with widget
|
|
20856
|
-
* @param {string}
|
|
20847
|
+
* @param {string} formId
|
|
20857
20848
|
* @param {*} [options] Override http request option.
|
|
20858
20849
|
* @throws {RequiredError}
|
|
20859
20850
|
* @memberof WidgetsFormsSubmissionsApi
|
|
20860
20851
|
*/
|
|
20861
|
-
getWidgetFormByFormId(
|
|
20862
|
-
return (0, exports.WidgetsFormsSubmissionsApiFp)(this.configuration).getWidgetFormByFormId(
|
|
20852
|
+
getWidgetFormByFormId(formId, options) {
|
|
20853
|
+
return (0, exports.WidgetsFormsSubmissionsApiFp)(this.configuration).getWidgetFormByFormId(formId, options)(this.fetch, this.basePath);
|
|
20863
20854
|
}
|
|
20864
20855
|
/**
|
|
20865
20856
|
*
|