@closerplatform/spinner-openapi 0.12.1073 → 0.12.1074
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 +24 -99
- package/dist/api.js +44 -89
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5252,61 +5252,6 @@ export interface OrganizationLimits {
|
|
|
5252
5252
|
*/
|
|
5253
5253
|
callMaxDuration?: number;
|
|
5254
5254
|
}
|
|
5255
|
-
/**
|
|
5256
|
-
*
|
|
5257
|
-
* @export
|
|
5258
|
-
* @interface PageResult
|
|
5259
|
-
*/
|
|
5260
|
-
export interface PageResult {
|
|
5261
|
-
/**
|
|
5262
|
-
* Current page number (1-based)
|
|
5263
|
-
* @type {number}
|
|
5264
|
-
* @memberof PageResult
|
|
5265
|
-
*/
|
|
5266
|
-
page: number;
|
|
5267
|
-
/**
|
|
5268
|
-
* Number of items per page
|
|
5269
|
-
* @type {number}
|
|
5270
|
-
* @memberof PageResult
|
|
5271
|
-
*/
|
|
5272
|
-
pageSize: number;
|
|
5273
|
-
/**
|
|
5274
|
-
* Total number of items across all pages
|
|
5275
|
-
* @type {number}
|
|
5276
|
-
* @memberof PageResult
|
|
5277
|
-
*/
|
|
5278
|
-
total: number;
|
|
5279
|
-
/**
|
|
5280
|
-
* 1-based index of the first item in this page
|
|
5281
|
-
* @type {number}
|
|
5282
|
-
* @memberof PageResult
|
|
5283
|
-
*/
|
|
5284
|
-
startIndex: number;
|
|
5285
|
-
/**
|
|
5286
|
-
* 1-based index of the last item in this page
|
|
5287
|
-
* @type {number}
|
|
5288
|
-
* @memberof PageResult
|
|
5289
|
-
*/
|
|
5290
|
-
endIndex: number;
|
|
5291
|
-
/**
|
|
5292
|
-
* True if there is a previous page
|
|
5293
|
-
* @type {boolean}
|
|
5294
|
-
* @memberof PageResult
|
|
5295
|
-
*/
|
|
5296
|
-
hasPrevious: boolean;
|
|
5297
|
-
/**
|
|
5298
|
-
* True if there is a next page
|
|
5299
|
-
* @type {boolean}
|
|
5300
|
-
* @memberof PageResult
|
|
5301
|
-
*/
|
|
5302
|
-
hasNext: boolean;
|
|
5303
|
-
/**
|
|
5304
|
-
* Page of items
|
|
5305
|
-
* @type {Array<any>}
|
|
5306
|
-
* @memberof PageResult
|
|
5307
|
-
*/
|
|
5308
|
-
items: Array<any>;
|
|
5309
|
-
}
|
|
5310
5255
|
/**
|
|
5311
5256
|
*
|
|
5312
5257
|
* @export
|
|
@@ -15092,29 +15037,26 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15092
15037
|
/**
|
|
15093
15038
|
*
|
|
15094
15039
|
* @summary Get adviser assigned to guest room
|
|
15095
|
-
* @param {string} orgId
|
|
15096
15040
|
* @param {string} id
|
|
15097
15041
|
* @param {*} [options] Override http request option.
|
|
15098
15042
|
* @throws {RequiredError}
|
|
15099
15043
|
*/
|
|
15100
|
-
getGuestAssignee(
|
|
15044
|
+
getGuestAssignee(id: string, options?: any): FetchArgs;
|
|
15101
15045
|
/**
|
|
15102
15046
|
*
|
|
15103
15047
|
* @summary Get guest profile.
|
|
15104
|
-
* @param {string} orgId
|
|
15105
15048
|
* @param {string} id
|
|
15106
15049
|
* @param {*} [options] Override http request option.
|
|
15107
15050
|
* @throws {RequiredError}
|
|
15108
15051
|
*/
|
|
15109
|
-
getGuestProfile(
|
|
15052
|
+
getGuestProfile(id: string, options?: any): FetchArgs;
|
|
15110
15053
|
/**
|
|
15111
15054
|
*
|
|
15112
15055
|
* @summary Get guest profile by apiKey
|
|
15113
|
-
* @param {string} orgId
|
|
15114
15056
|
* @param {*} [options] Override http request option.
|
|
15115
15057
|
* @throws {RequiredError}
|
|
15116
15058
|
*/
|
|
15117
|
-
getGuestProfileByApiKey(
|
|
15059
|
+
getGuestProfileByApiKey(options?: any): FetchArgs;
|
|
15118
15060
|
/**
|
|
15119
15061
|
*
|
|
15120
15062
|
* @summary Get limited adviser profile.
|
|
@@ -15126,11 +15068,10 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15126
15068
|
/**
|
|
15127
15069
|
*
|
|
15128
15070
|
* @summary Get limited advisers profiles within org.
|
|
15129
|
-
* @param {string} orgId
|
|
15130
15071
|
* @param {*} [options] Override http request option.
|
|
15131
15072
|
* @throws {RequiredError}
|
|
15132
15073
|
*/
|
|
15133
|
-
getLimitedAgentsProfiles(
|
|
15074
|
+
getLimitedAgentsProfiles(options?: any): FetchArgs;
|
|
15134
15075
|
/**
|
|
15135
15076
|
*
|
|
15136
15077
|
* @summary Get own agent context.
|
|
@@ -15173,14 +15114,13 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
|
|
|
15173
15114
|
patchAgentPreferences(body: PreferencesForm, options?: any): FetchArgs;
|
|
15174
15115
|
/**
|
|
15175
15116
|
*
|
|
15176
|
-
* @summary
|
|
15117
|
+
* @summary Partially update guest profile.
|
|
15177
15118
|
* @param {GuestProfileFormPatch} body
|
|
15178
|
-
* @param {string} orgId
|
|
15179
15119
|
* @param {string} customerId
|
|
15180
15120
|
* @param {*} [options] Override http request option.
|
|
15181
15121
|
* @throws {RequiredError}
|
|
15182
15122
|
*/
|
|
15183
|
-
patchGuestProfile(body: GuestProfileFormPatch,
|
|
15123
|
+
patchGuestProfile(body: GuestProfileFormPatch, customerId: string, options?: any): FetchArgs;
|
|
15184
15124
|
/**
|
|
15185
15125
|
*
|
|
15186
15126
|
* @summary Replace or fully update preferences
|
|
@@ -15432,29 +15372,26 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15432
15372
|
/**
|
|
15433
15373
|
*
|
|
15434
15374
|
* @summary Get adviser assigned to guest room
|
|
15435
|
-
* @param {string} orgId
|
|
15436
15375
|
* @param {string} id
|
|
15437
15376
|
* @param {*} [options] Override http request option.
|
|
15438
15377
|
* @throws {RequiredError}
|
|
15439
15378
|
*/
|
|
15440
|
-
getGuestAssignee(
|
|
15379
|
+
getGuestAssignee(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<GuestAssignee>;
|
|
15441
15380
|
/**
|
|
15442
15381
|
*
|
|
15443
15382
|
* @summary Get guest profile.
|
|
15444
|
-
* @param {string} orgId
|
|
15445
15383
|
* @param {string} id
|
|
15446
15384
|
* @param {*} [options] Override http request option.
|
|
15447
15385
|
* @throws {RequiredError}
|
|
15448
15386
|
*/
|
|
15449
|
-
getGuestProfile(
|
|
15387
|
+
getGuestProfile(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
|
|
15450
15388
|
/**
|
|
15451
15389
|
*
|
|
15452
15390
|
* @summary Get guest profile by apiKey
|
|
15453
|
-
* @param {string} orgId
|
|
15454
15391
|
* @param {*} [options] Override http request option.
|
|
15455
15392
|
* @throws {RequiredError}
|
|
15456
15393
|
*/
|
|
15457
|
-
getGuestProfileByApiKey(
|
|
15394
|
+
getGuestProfileByApiKey(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
|
|
15458
15395
|
/**
|
|
15459
15396
|
*
|
|
15460
15397
|
* @summary Get limited adviser profile.
|
|
@@ -15466,11 +15403,10 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15466
15403
|
/**
|
|
15467
15404
|
*
|
|
15468
15405
|
* @summary Get limited advisers profiles within org.
|
|
15469
|
-
* @param {string} orgId
|
|
15470
15406
|
* @param {*} [options] Override http request option.
|
|
15471
15407
|
* @throws {RequiredError}
|
|
15472
15408
|
*/
|
|
15473
|
-
getLimitedAgentsProfiles(
|
|
15409
|
+
getLimitedAgentsProfiles(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<LimitedAgentProfile>>;
|
|
15474
15410
|
/**
|
|
15475
15411
|
*
|
|
15476
15412
|
* @summary Get own agent context.
|
|
@@ -15513,14 +15449,13 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
15513
15449
|
patchAgentPreferences(body: PreferencesForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
15514
15450
|
/**
|
|
15515
15451
|
*
|
|
15516
|
-
* @summary
|
|
15452
|
+
* @summary Partially update guest profile.
|
|
15517
15453
|
* @param {GuestProfileFormPatch} body
|
|
15518
|
-
* @param {string} orgId
|
|
15519
15454
|
* @param {string} customerId
|
|
15520
15455
|
* @param {*} [options] Override http request option.
|
|
15521
15456
|
* @throws {RequiredError}
|
|
15522
15457
|
*/
|
|
15523
|
-
patchGuestProfile(body: GuestProfileFormPatch,
|
|
15458
|
+
patchGuestProfile(body: GuestProfileFormPatch, customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
15524
15459
|
/**
|
|
15525
15460
|
*
|
|
15526
15461
|
* @summary Replace or fully update preferences
|
|
@@ -15772,29 +15707,26 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15772
15707
|
/**
|
|
15773
15708
|
*
|
|
15774
15709
|
* @summary Get adviser assigned to guest room
|
|
15775
|
-
* @param {string} orgId
|
|
15776
15710
|
* @param {string} id
|
|
15777
15711
|
* @param {*} [options] Override http request option.
|
|
15778
15712
|
* @throws {RequiredError}
|
|
15779
15713
|
*/
|
|
15780
|
-
getGuestAssignee(
|
|
15714
|
+
getGuestAssignee(id: string, options?: any): Promise<GuestAssignee>;
|
|
15781
15715
|
/**
|
|
15782
15716
|
*
|
|
15783
15717
|
* @summary Get guest profile.
|
|
15784
|
-
* @param {string} orgId
|
|
15785
15718
|
* @param {string} id
|
|
15786
15719
|
* @param {*} [options] Override http request option.
|
|
15787
15720
|
* @throws {RequiredError}
|
|
15788
15721
|
*/
|
|
15789
|
-
getGuestProfile(
|
|
15722
|
+
getGuestProfile(id: string, options?: any): Promise<LeadCtx>;
|
|
15790
15723
|
/**
|
|
15791
15724
|
*
|
|
15792
15725
|
* @summary Get guest profile by apiKey
|
|
15793
|
-
* @param {string} orgId
|
|
15794
15726
|
* @param {*} [options] Override http request option.
|
|
15795
15727
|
* @throws {RequiredError}
|
|
15796
15728
|
*/
|
|
15797
|
-
getGuestProfileByApiKey(
|
|
15729
|
+
getGuestProfileByApiKey(options?: any): Promise<LeadCtx>;
|
|
15798
15730
|
/**
|
|
15799
15731
|
*
|
|
15800
15732
|
* @summary Get limited adviser profile.
|
|
@@ -15806,11 +15738,10 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15806
15738
|
/**
|
|
15807
15739
|
*
|
|
15808
15740
|
* @summary Get limited advisers profiles within org.
|
|
15809
|
-
* @param {string} orgId
|
|
15810
15741
|
* @param {*} [options] Override http request option.
|
|
15811
15742
|
* @throws {RequiredError}
|
|
15812
15743
|
*/
|
|
15813
|
-
getLimitedAgentsProfiles(
|
|
15744
|
+
getLimitedAgentsProfiles(options?: any): Promise<LimitedAgentProfile[]>;
|
|
15814
15745
|
/**
|
|
15815
15746
|
*
|
|
15816
15747
|
* @summary Get own agent context.
|
|
@@ -15853,14 +15784,13 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
|
|
|
15853
15784
|
patchAgentPreferences(body: PreferencesForm, options?: any): Promise<Response>;
|
|
15854
15785
|
/**
|
|
15855
15786
|
*
|
|
15856
|
-
* @summary
|
|
15787
|
+
* @summary Partially update guest profile.
|
|
15857
15788
|
* @param {GuestProfileFormPatch} body
|
|
15858
|
-
* @param {string} orgId
|
|
15859
15789
|
* @param {string} customerId
|
|
15860
15790
|
* @param {*} [options] Override http request option.
|
|
15861
15791
|
* @throws {RequiredError}
|
|
15862
15792
|
*/
|
|
15863
|
-
patchGuestProfile(body: GuestProfileFormPatch,
|
|
15793
|
+
patchGuestProfile(body: GuestProfileFormPatch, customerId: string, options?: any): Promise<Response>;
|
|
15864
15794
|
/**
|
|
15865
15795
|
*
|
|
15866
15796
|
* @summary Replace or fully update preferences
|
|
@@ -16130,32 +16060,29 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16130
16060
|
/**
|
|
16131
16061
|
*
|
|
16132
16062
|
* @summary Get adviser assigned to guest room
|
|
16133
|
-
* @param {string} orgId
|
|
16134
16063
|
* @param {string} id
|
|
16135
16064
|
* @param {*} [options] Override http request option.
|
|
16136
16065
|
* @throws {RequiredError}
|
|
16137
16066
|
* @memberof UsersApi
|
|
16138
16067
|
*/
|
|
16139
|
-
getGuestAssignee(
|
|
16068
|
+
getGuestAssignee(id: string, options?: any): Promise<GuestAssignee>;
|
|
16140
16069
|
/**
|
|
16141
16070
|
*
|
|
16142
16071
|
* @summary Get guest profile.
|
|
16143
|
-
* @param {string} orgId
|
|
16144
16072
|
* @param {string} id
|
|
16145
16073
|
* @param {*} [options] Override http request option.
|
|
16146
16074
|
* @throws {RequiredError}
|
|
16147
16075
|
* @memberof UsersApi
|
|
16148
16076
|
*/
|
|
16149
|
-
getGuestProfile(
|
|
16077
|
+
getGuestProfile(id: string, options?: any): Promise<LeadCtx>;
|
|
16150
16078
|
/**
|
|
16151
16079
|
*
|
|
16152
16080
|
* @summary Get guest profile by apiKey
|
|
16153
|
-
* @param {string} orgId
|
|
16154
16081
|
* @param {*} [options] Override http request option.
|
|
16155
16082
|
* @throws {RequiredError}
|
|
16156
16083
|
* @memberof UsersApi
|
|
16157
16084
|
*/
|
|
16158
|
-
getGuestProfileByApiKey(
|
|
16085
|
+
getGuestProfileByApiKey(options?: any): Promise<LeadCtx>;
|
|
16159
16086
|
/**
|
|
16160
16087
|
*
|
|
16161
16088
|
* @summary Get limited adviser profile.
|
|
@@ -16168,12 +16095,11 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16168
16095
|
/**
|
|
16169
16096
|
*
|
|
16170
16097
|
* @summary Get limited advisers profiles within org.
|
|
16171
|
-
* @param {string} orgId
|
|
16172
16098
|
* @param {*} [options] Override http request option.
|
|
16173
16099
|
* @throws {RequiredError}
|
|
16174
16100
|
* @memberof UsersApi
|
|
16175
16101
|
*/
|
|
16176
|
-
getLimitedAgentsProfiles(
|
|
16102
|
+
getLimitedAgentsProfiles(options?: any): Promise<LimitedAgentProfile[]>;
|
|
16177
16103
|
/**
|
|
16178
16104
|
*
|
|
16179
16105
|
* @summary Get own agent context.
|
|
@@ -16221,15 +16147,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
16221
16147
|
patchAgentPreferences(body: PreferencesForm, options?: any): Promise<Response>;
|
|
16222
16148
|
/**
|
|
16223
16149
|
*
|
|
16224
|
-
* @summary
|
|
16150
|
+
* @summary Partially update guest profile.
|
|
16225
16151
|
* @param {GuestProfileFormPatch} body
|
|
16226
|
-
* @param {string} orgId
|
|
16227
16152
|
* @param {string} customerId
|
|
16228
16153
|
* @param {*} [options] Override http request option.
|
|
16229
16154
|
* @throws {RequiredError}
|
|
16230
16155
|
* @memberof UsersApi
|
|
16231
16156
|
*/
|
|
16232
|
-
patchGuestProfile(body: GuestProfileFormPatch,
|
|
16157
|
+
patchGuestProfile(body: GuestProfileFormPatch, customerId: string, options?: any): Promise<Response>;
|
|
16233
16158
|
/**
|
|
16234
16159
|
*
|
|
16235
16160
|
* @summary Replace or fully update preferences
|
package/dist/api.js
CHANGED
|
@@ -17337,22 +17337,16 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
17337
17337
|
/**
|
|
17338
17338
|
*
|
|
17339
17339
|
* @summary Get adviser assigned to guest room
|
|
17340
|
-
* @param {string} orgId
|
|
17341
17340
|
* @param {string} id
|
|
17342
17341
|
* @param {*} [options] Override http request option.
|
|
17343
17342
|
* @throws {RequiredError}
|
|
17344
17343
|
*/
|
|
17345
|
-
getGuestAssignee(
|
|
17346
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
17347
|
-
if (orgId === null || orgId === undefined) {
|
|
17348
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getGuestAssignee.');
|
|
17349
|
-
}
|
|
17344
|
+
getGuestAssignee(id, options = {}) {
|
|
17350
17345
|
// verify required parameter 'id' is not null or undefined
|
|
17351
17346
|
if (id === null || id === undefined) {
|
|
17352
17347
|
throw new RequiredError('id', 'Required parameter id was null or undefined when calling getGuestAssignee.');
|
|
17353
17348
|
}
|
|
17354
|
-
const localVarPath = `/users/guest/{id}/assignee
|
|
17355
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
17349
|
+
const localVarPath = `/users/guest/{id}/assignee`
|
|
17356
17350
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17357
17351
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17358
17352
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
@@ -17384,22 +17378,16 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
17384
17378
|
/**
|
|
17385
17379
|
*
|
|
17386
17380
|
* @summary Get guest profile.
|
|
17387
|
-
* @param {string} orgId
|
|
17388
17381
|
* @param {string} id
|
|
17389
17382
|
* @param {*} [options] Override http request option.
|
|
17390
17383
|
* @throws {RequiredError}
|
|
17391
17384
|
*/
|
|
17392
|
-
getGuestProfile(
|
|
17393
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
17394
|
-
if (orgId === null || orgId === undefined) {
|
|
17395
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getGuestProfile.');
|
|
17396
|
-
}
|
|
17385
|
+
getGuestProfile(id, options = {}) {
|
|
17397
17386
|
// verify required parameter 'id' is not null or undefined
|
|
17398
17387
|
if (id === null || id === undefined) {
|
|
17399
17388
|
throw new RequiredError('id', 'Required parameter id was null or undefined when calling getGuestProfile.');
|
|
17400
17389
|
}
|
|
17401
|
-
const localVarPath = `/users/guest/{id}
|
|
17402
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
17390
|
+
const localVarPath = `/users/guest/{id}`
|
|
17403
17391
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17404
17392
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17405
17393
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
@@ -17431,17 +17419,11 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
17431
17419
|
/**
|
|
17432
17420
|
*
|
|
17433
17421
|
* @summary Get guest profile by apiKey
|
|
17434
|
-
* @param {string} orgId
|
|
17435
17422
|
* @param {*} [options] Override http request option.
|
|
17436
17423
|
* @throws {RequiredError}
|
|
17437
17424
|
*/
|
|
17438
|
-
getGuestProfileByApiKey(
|
|
17439
|
-
|
|
17440
|
-
if (orgId === null || orgId === undefined) {
|
|
17441
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getGuestProfileByApiKey.');
|
|
17442
|
-
}
|
|
17443
|
-
const localVarPath = `/users/guest/profile/{orgId}`
|
|
17444
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
17425
|
+
getGuestProfileByApiKey(options = {}) {
|
|
17426
|
+
const localVarPath = `/users/guest/profile`;
|
|
17445
17427
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17446
17428
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
17447
17429
|
const localVarHeaderParameter = {};
|
|
@@ -17513,17 +17495,11 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
17513
17495
|
/**
|
|
17514
17496
|
*
|
|
17515
17497
|
* @summary Get limited advisers profiles within org.
|
|
17516
|
-
* @param {string} orgId
|
|
17517
17498
|
* @param {*} [options] Override http request option.
|
|
17518
17499
|
* @throws {RequiredError}
|
|
17519
17500
|
*/
|
|
17520
|
-
getLimitedAgentsProfiles(
|
|
17521
|
-
|
|
17522
|
-
if (orgId === null || orgId === undefined) {
|
|
17523
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling getLimitedAgentsProfiles.');
|
|
17524
|
-
}
|
|
17525
|
-
const localVarPath = `/users/agents/customer/{orgId}`
|
|
17526
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
17501
|
+
getLimitedAgentsProfiles(options = {}) {
|
|
17502
|
+
const localVarPath = `/users/agents/customer`;
|
|
17527
17503
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17528
17504
|
const localVarRequestOptions = Object.assign({ method: 'GET' }, options);
|
|
17529
17505
|
const localVarHeaderParameter = {};
|
|
@@ -17731,28 +17707,22 @@ const UsersApiFetchParamCreator = function (configuration) {
|
|
|
17731
17707
|
},
|
|
17732
17708
|
/**
|
|
17733
17709
|
*
|
|
17734
|
-
* @summary
|
|
17710
|
+
* @summary Partially update guest profile.
|
|
17735
17711
|
* @param {GuestProfileFormPatch} body
|
|
17736
|
-
* @param {string} orgId
|
|
17737
17712
|
* @param {string} customerId
|
|
17738
17713
|
* @param {*} [options] Override http request option.
|
|
17739
17714
|
* @throws {RequiredError}
|
|
17740
17715
|
*/
|
|
17741
|
-
patchGuestProfile(body,
|
|
17716
|
+
patchGuestProfile(body, customerId, options = {}) {
|
|
17742
17717
|
// verify required parameter 'body' is not null or undefined
|
|
17743
17718
|
if (body === null || body === undefined) {
|
|
17744
17719
|
throw new RequiredError('body', 'Required parameter body was null or undefined when calling patchGuestProfile.');
|
|
17745
17720
|
}
|
|
17746
|
-
// verify required parameter 'orgId' is not null or undefined
|
|
17747
|
-
if (orgId === null || orgId === undefined) {
|
|
17748
|
-
throw new RequiredError('orgId', 'Required parameter orgId was null or undefined when calling patchGuestProfile.');
|
|
17749
|
-
}
|
|
17750
17721
|
// verify required parameter 'customerId' is not null or undefined
|
|
17751
17722
|
if (customerId === null || customerId === undefined) {
|
|
17752
17723
|
throw new RequiredError('customerId', 'Required parameter customerId was null or undefined when calling patchGuestProfile.');
|
|
17753
17724
|
}
|
|
17754
|
-
const localVarPath = `/agents/customer/{customerId}
|
|
17755
|
-
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)))
|
|
17725
|
+
const localVarPath = `/agents/customer/{customerId}`
|
|
17756
17726
|
.replace(`{${"customerId"}}`, encodeURIComponent(String(customerId)));
|
|
17757
17727
|
const localVarUrlObj = url.parse(localVarPath, true);
|
|
17758
17728
|
const localVarRequestOptions = Object.assign({ method: 'PATCH' }, options);
|
|
@@ -18672,13 +18642,12 @@ const UsersApiFp = function (configuration) {
|
|
|
18672
18642
|
/**
|
|
18673
18643
|
*
|
|
18674
18644
|
* @summary Get adviser assigned to guest room
|
|
18675
|
-
* @param {string} orgId
|
|
18676
18645
|
* @param {string} id
|
|
18677
18646
|
* @param {*} [options] Override http request option.
|
|
18678
18647
|
* @throws {RequiredError}
|
|
18679
18648
|
*/
|
|
18680
|
-
getGuestAssignee(
|
|
18681
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestAssignee(
|
|
18649
|
+
getGuestAssignee(id, options) {
|
|
18650
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestAssignee(id, options);
|
|
18682
18651
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18683
18652
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18684
18653
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -18693,13 +18662,12 @@ const UsersApiFp = function (configuration) {
|
|
|
18693
18662
|
/**
|
|
18694
18663
|
*
|
|
18695
18664
|
* @summary Get guest profile.
|
|
18696
|
-
* @param {string} orgId
|
|
18697
18665
|
* @param {string} id
|
|
18698
18666
|
* @param {*} [options] Override http request option.
|
|
18699
18667
|
* @throws {RequiredError}
|
|
18700
18668
|
*/
|
|
18701
|
-
getGuestProfile(
|
|
18702
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestProfile(
|
|
18669
|
+
getGuestProfile(id, options) {
|
|
18670
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestProfile(id, options);
|
|
18703
18671
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18704
18672
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18705
18673
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -18714,12 +18682,11 @@ const UsersApiFp = function (configuration) {
|
|
|
18714
18682
|
/**
|
|
18715
18683
|
*
|
|
18716
18684
|
* @summary Get guest profile by apiKey
|
|
18717
|
-
* @param {string} orgId
|
|
18718
18685
|
* @param {*} [options] Override http request option.
|
|
18719
18686
|
* @throws {RequiredError}
|
|
18720
18687
|
*/
|
|
18721
|
-
getGuestProfileByApiKey(
|
|
18722
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestProfileByApiKey(
|
|
18688
|
+
getGuestProfileByApiKey(options) {
|
|
18689
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getGuestProfileByApiKey(options);
|
|
18723
18690
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18724
18691
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18725
18692
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -18754,12 +18721,11 @@ const UsersApiFp = function (configuration) {
|
|
|
18754
18721
|
/**
|
|
18755
18722
|
*
|
|
18756
18723
|
* @summary Get limited advisers profiles within org.
|
|
18757
|
-
* @param {string} orgId
|
|
18758
18724
|
* @param {*} [options] Override http request option.
|
|
18759
18725
|
* @throws {RequiredError}
|
|
18760
18726
|
*/
|
|
18761
|
-
getLimitedAgentsProfiles(
|
|
18762
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getLimitedAgentsProfiles(
|
|
18727
|
+
getLimitedAgentsProfiles(options) {
|
|
18728
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).getLimitedAgentsProfiles(options);
|
|
18763
18729
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18764
18730
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18765
18731
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -18873,15 +18839,14 @@ const UsersApiFp = function (configuration) {
|
|
|
18873
18839
|
},
|
|
18874
18840
|
/**
|
|
18875
18841
|
*
|
|
18876
|
-
* @summary
|
|
18842
|
+
* @summary Partially update guest profile.
|
|
18877
18843
|
* @param {GuestProfileFormPatch} body
|
|
18878
|
-
* @param {string} orgId
|
|
18879
18844
|
* @param {string} customerId
|
|
18880
18845
|
* @param {*} [options] Override http request option.
|
|
18881
18846
|
* @throws {RequiredError}
|
|
18882
18847
|
*/
|
|
18883
|
-
patchGuestProfile(body,
|
|
18884
|
-
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).patchGuestProfile(body,
|
|
18848
|
+
patchGuestProfile(body, customerId, options) {
|
|
18849
|
+
const localVarFetchArgs = (0, exports.UsersApiFetchParamCreator)(configuration).patchGuestProfile(body, customerId, options);
|
|
18885
18850
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
18886
18851
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
18887
18852
|
if (response.status >= 200 && response.status < 300) {
|
|
@@ -19359,34 +19324,31 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19359
19324
|
/**
|
|
19360
19325
|
*
|
|
19361
19326
|
* @summary Get adviser assigned to guest room
|
|
19362
|
-
* @param {string} orgId
|
|
19363
19327
|
* @param {string} id
|
|
19364
19328
|
* @param {*} [options] Override http request option.
|
|
19365
19329
|
* @throws {RequiredError}
|
|
19366
19330
|
*/
|
|
19367
|
-
getGuestAssignee(
|
|
19368
|
-
return (0, exports.UsersApiFp)(configuration).getGuestAssignee(
|
|
19331
|
+
getGuestAssignee(id, options) {
|
|
19332
|
+
return (0, exports.UsersApiFp)(configuration).getGuestAssignee(id, options)(fetch, basePath);
|
|
19369
19333
|
},
|
|
19370
19334
|
/**
|
|
19371
19335
|
*
|
|
19372
19336
|
* @summary Get guest profile.
|
|
19373
|
-
* @param {string} orgId
|
|
19374
19337
|
* @param {string} id
|
|
19375
19338
|
* @param {*} [options] Override http request option.
|
|
19376
19339
|
* @throws {RequiredError}
|
|
19377
19340
|
*/
|
|
19378
|
-
getGuestProfile(
|
|
19379
|
-
return (0, exports.UsersApiFp)(configuration).getGuestProfile(
|
|
19341
|
+
getGuestProfile(id, options) {
|
|
19342
|
+
return (0, exports.UsersApiFp)(configuration).getGuestProfile(id, options)(fetch, basePath);
|
|
19380
19343
|
},
|
|
19381
19344
|
/**
|
|
19382
19345
|
*
|
|
19383
19346
|
* @summary Get guest profile by apiKey
|
|
19384
|
-
* @param {string} orgId
|
|
19385
19347
|
* @param {*} [options] Override http request option.
|
|
19386
19348
|
* @throws {RequiredError}
|
|
19387
19349
|
*/
|
|
19388
|
-
getGuestProfileByApiKey(
|
|
19389
|
-
return (0, exports.UsersApiFp)(configuration).getGuestProfileByApiKey(
|
|
19350
|
+
getGuestProfileByApiKey(options) {
|
|
19351
|
+
return (0, exports.UsersApiFp)(configuration).getGuestProfileByApiKey(options)(fetch, basePath);
|
|
19390
19352
|
},
|
|
19391
19353
|
/**
|
|
19392
19354
|
*
|
|
@@ -19401,12 +19363,11 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19401
19363
|
/**
|
|
19402
19364
|
*
|
|
19403
19365
|
* @summary Get limited advisers profiles within org.
|
|
19404
|
-
* @param {string} orgId
|
|
19405
19366
|
* @param {*} [options] Override http request option.
|
|
19406
19367
|
* @throws {RequiredError}
|
|
19407
19368
|
*/
|
|
19408
|
-
getLimitedAgentsProfiles(
|
|
19409
|
-
return (0, exports.UsersApiFp)(configuration).getLimitedAgentsProfiles(
|
|
19369
|
+
getLimitedAgentsProfiles(options) {
|
|
19370
|
+
return (0, exports.UsersApiFp)(configuration).getLimitedAgentsProfiles(options)(fetch, basePath);
|
|
19410
19371
|
},
|
|
19411
19372
|
/**
|
|
19412
19373
|
*
|
|
@@ -19460,15 +19421,14 @@ const UsersApiFactory = function (configuration, fetch, basePath) {
|
|
|
19460
19421
|
},
|
|
19461
19422
|
/**
|
|
19462
19423
|
*
|
|
19463
|
-
* @summary
|
|
19424
|
+
* @summary Partially update guest profile.
|
|
19464
19425
|
* @param {GuestProfileFormPatch} body
|
|
19465
|
-
* @param {string} orgId
|
|
19466
19426
|
* @param {string} customerId
|
|
19467
19427
|
* @param {*} [options] Override http request option.
|
|
19468
19428
|
* @throws {RequiredError}
|
|
19469
19429
|
*/
|
|
19470
|
-
patchGuestProfile(body,
|
|
19471
|
-
return (0, exports.UsersApiFp)(configuration).patchGuestProfile(body,
|
|
19430
|
+
patchGuestProfile(body, customerId, options) {
|
|
19431
|
+
return (0, exports.UsersApiFp)(configuration).patchGuestProfile(body, customerId, options)(fetch, basePath);
|
|
19472
19432
|
},
|
|
19473
19433
|
/**
|
|
19474
19434
|
*
|
|
@@ -19803,37 +19763,34 @@ class UsersApi extends BaseAPI {
|
|
|
19803
19763
|
/**
|
|
19804
19764
|
*
|
|
19805
19765
|
* @summary Get adviser assigned to guest room
|
|
19806
|
-
* @param {string} orgId
|
|
19807
19766
|
* @param {string} id
|
|
19808
19767
|
* @param {*} [options] Override http request option.
|
|
19809
19768
|
* @throws {RequiredError}
|
|
19810
19769
|
* @memberof UsersApi
|
|
19811
19770
|
*/
|
|
19812
|
-
getGuestAssignee(
|
|
19813
|
-
return (0, exports.UsersApiFp)(this.configuration).getGuestAssignee(
|
|
19771
|
+
getGuestAssignee(id, options) {
|
|
19772
|
+
return (0, exports.UsersApiFp)(this.configuration).getGuestAssignee(id, options)(this.fetch, this.basePath);
|
|
19814
19773
|
}
|
|
19815
19774
|
/**
|
|
19816
19775
|
*
|
|
19817
19776
|
* @summary Get guest profile.
|
|
19818
|
-
* @param {string} orgId
|
|
19819
19777
|
* @param {string} id
|
|
19820
19778
|
* @param {*} [options] Override http request option.
|
|
19821
19779
|
* @throws {RequiredError}
|
|
19822
19780
|
* @memberof UsersApi
|
|
19823
19781
|
*/
|
|
19824
|
-
getGuestProfile(
|
|
19825
|
-
return (0, exports.UsersApiFp)(this.configuration).getGuestProfile(
|
|
19782
|
+
getGuestProfile(id, options) {
|
|
19783
|
+
return (0, exports.UsersApiFp)(this.configuration).getGuestProfile(id, options)(this.fetch, this.basePath);
|
|
19826
19784
|
}
|
|
19827
19785
|
/**
|
|
19828
19786
|
*
|
|
19829
19787
|
* @summary Get guest profile by apiKey
|
|
19830
|
-
* @param {string} orgId
|
|
19831
19788
|
* @param {*} [options] Override http request option.
|
|
19832
19789
|
* @throws {RequiredError}
|
|
19833
19790
|
* @memberof UsersApi
|
|
19834
19791
|
*/
|
|
19835
|
-
getGuestProfileByApiKey(
|
|
19836
|
-
return (0, exports.UsersApiFp)(this.configuration).getGuestProfileByApiKey(
|
|
19792
|
+
getGuestProfileByApiKey(options) {
|
|
19793
|
+
return (0, exports.UsersApiFp)(this.configuration).getGuestProfileByApiKey(options)(this.fetch, this.basePath);
|
|
19837
19794
|
}
|
|
19838
19795
|
/**
|
|
19839
19796
|
*
|
|
@@ -19849,13 +19806,12 @@ class UsersApi extends BaseAPI {
|
|
|
19849
19806
|
/**
|
|
19850
19807
|
*
|
|
19851
19808
|
* @summary Get limited advisers profiles within org.
|
|
19852
|
-
* @param {string} orgId
|
|
19853
19809
|
* @param {*} [options] Override http request option.
|
|
19854
19810
|
* @throws {RequiredError}
|
|
19855
19811
|
* @memberof UsersApi
|
|
19856
19812
|
*/
|
|
19857
|
-
getLimitedAgentsProfiles(
|
|
19858
|
-
return (0, exports.UsersApiFp)(this.configuration).getLimitedAgentsProfiles(
|
|
19813
|
+
getLimitedAgentsProfiles(options) {
|
|
19814
|
+
return (0, exports.UsersApiFp)(this.configuration).getLimitedAgentsProfiles(options)(this.fetch, this.basePath);
|
|
19859
19815
|
}
|
|
19860
19816
|
/**
|
|
19861
19817
|
*
|
|
@@ -19914,16 +19870,15 @@ class UsersApi extends BaseAPI {
|
|
|
19914
19870
|
}
|
|
19915
19871
|
/**
|
|
19916
19872
|
*
|
|
19917
|
-
* @summary
|
|
19873
|
+
* @summary Partially update guest profile.
|
|
19918
19874
|
* @param {GuestProfileFormPatch} body
|
|
19919
|
-
* @param {string} orgId
|
|
19920
19875
|
* @param {string} customerId
|
|
19921
19876
|
* @param {*} [options] Override http request option.
|
|
19922
19877
|
* @throws {RequiredError}
|
|
19923
19878
|
* @memberof UsersApi
|
|
19924
19879
|
*/
|
|
19925
|
-
patchGuestProfile(body,
|
|
19926
|
-
return (0, exports.UsersApiFp)(this.configuration).patchGuestProfile(body,
|
|
19880
|
+
patchGuestProfile(body, customerId, options) {
|
|
19881
|
+
return (0, exports.UsersApiFp)(this.configuration).patchGuestProfile(body, customerId, options)(this.fetch, this.basePath);
|
|
19927
19882
|
}
|
|
19928
19883
|
/**
|
|
19929
19884
|
*
|