@closerplatform/spinner-openapi 0.12.58 → 0.12.61

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +372 -780
  2. package/dist/api.js +240 -1344
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -155,6 +155,55 @@ export interface AdviserApiKeyForm {
155
155
  */
156
156
  apiKey: string;
157
157
  }
158
+ /**
159
+ *
160
+ * @export
161
+ * @interface AdviserBatchPatchForm
162
+ */
163
+ export interface AdviserBatchPatchForm {
164
+ /**
165
+ *
166
+ * @type {string}
167
+ * @memberof AdviserBatchPatchForm
168
+ */
169
+ id: string;
170
+ /**
171
+ *
172
+ * @type {string}
173
+ * @memberof AdviserBatchPatchForm
174
+ */
175
+ roleId?: string;
176
+ /**
177
+ *
178
+ * @type {number}
179
+ * @memberof AdviserBatchPatchForm
180
+ */
181
+ validFrom?: number;
182
+ /**
183
+ *
184
+ * @type {number}
185
+ * @memberof AdviserBatchPatchForm
186
+ */
187
+ validTo?: number;
188
+ /**
189
+ *
190
+ * @type {Array<string>}
191
+ * @memberof AdviserBatchPatchForm
192
+ */
193
+ tagIds?: Array<string>;
194
+ /**
195
+ *
196
+ * @type {Array<string>}
197
+ * @memberof AdviserBatchPatchForm
198
+ */
199
+ tagGroupIds?: Array<string>;
200
+ /**
201
+ *
202
+ * @type {number}
203
+ * @memberof AdviserBatchPatchForm
204
+ */
205
+ autoAssignedLimit?: number;
206
+ }
158
207
  /**
159
208
  *
160
209
  * @export
@@ -168,6 +217,49 @@ export interface AdviserCobrowseJwtResponse {
168
217
  */
169
218
  jwt: string;
170
219
  }
220
+ /**
221
+ *
222
+ * @export
223
+ * @interface AdviserPatchForm
224
+ */
225
+ export interface AdviserPatchForm {
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof AdviserPatchForm
230
+ */
231
+ roleId?: string;
232
+ /**
233
+ *
234
+ * @type {number}
235
+ * @memberof AdviserPatchForm
236
+ */
237
+ validFrom?: number;
238
+ /**
239
+ *
240
+ * @type {number}
241
+ * @memberof AdviserPatchForm
242
+ */
243
+ validTo?: number;
244
+ /**
245
+ *
246
+ * @type {Array<string>}
247
+ * @memberof AdviserPatchForm
248
+ */
249
+ tagIds?: Array<string>;
250
+ /**
251
+ *
252
+ * @type {Array<string>}
253
+ * @memberof AdviserPatchForm
254
+ */
255
+ tagGroupIds?: Array<string>;
256
+ /**
257
+ *
258
+ * @type {number}
259
+ * @memberof AdviserPatchForm
260
+ */
261
+ autoAssignedLimit?: number;
262
+ }
171
263
  /**
172
264
  *
173
265
  * @export
@@ -817,6 +909,7 @@ export declare enum AppPermission {
817
909
  SettingsAdvisersConfiguration = "settings_advisers_configuration",
818
910
  SettingsAgentGroupsConfiguration = "settings_agent_groups_configuration",
819
911
  SettingsAdvisersAssignments = "settings_advisers_assignments",
912
+ SettingsAdvisersAutoAssignedLimit = "settings_advisers_auto_assigned_limit",
820
913
  SettingsAdvisersAvatar = "settings_advisers_avatar",
821
914
  SettingsActionForms = "settings_action_forms",
822
915
  SettingsStatuses = "settings_statuses",
@@ -8419,962 +8512,387 @@ export declare class ConversationsApi extends BaseAPI {
8419
8512
  getCustomConversations(status?: Array<string>, assignee?: string, options?: any): Promise<InboxState>;
8420
8513
  }
8421
8514
  /**
8422
- * CustomersApi - fetch parameter creator
8515
+ * EventActionsApi - fetch parameter creator
8423
8516
  * @export
8424
8517
  */
8425
- export declare const CustomersApiFetchParamCreator: (configuration?: Configuration) => {
8518
+ export declare const EventActionsApiFetchParamCreator: (configuration?: Configuration) => {
8426
8519
  /**
8427
8520
  *
8428
- * @summary Add new address
8429
- * @param {CustomerAddressForm} body
8521
+ * @summary create event action config
8522
+ * @param {CreateEventActionConfigForm} body
8430
8523
  * @param {*} [options] Override http request option.
8431
8524
  * @throws {RequiredError}
8432
8525
  */
8433
- addAddress(body: CustomerAddressForm, options?: any): FetchArgs;
8526
+ createEventActionConfig(body: CreateEventActionConfigForm, options?: any): FetchArgs;
8434
8527
  /**
8435
8528
  *
8436
- * @summary Add uncofirmed login
8437
- * @param {CustomerLoginForm} body
8529
+ * @summary delete event action config
8530
+ * @param {string} eventActionConfigId The ID of the event action config
8438
8531
  * @param {*} [options] Override http request option.
8439
8532
  * @throws {RequiredError}
8440
8533
  */
8441
- addLogin(body: CustomerLoginForm, options?: any): FetchArgs;
8534
+ deleteEventActionConfig(eventActionConfigId: string, options?: any): FetchArgs;
8442
8535
  /**
8443
8536
  *
8444
- * @summary Add or replace pin to Vault
8445
- * @param {PinForm} body
8537
+ * @summary get event action configs
8446
8538
  * @param {*} [options] Override http request option.
8447
8539
  * @throws {RequiredError}
8448
8540
  */
8449
- addPin(body: PinForm, options?: any): FetchArgs;
8541
+ getEventActionConfigs(options?: any): FetchArgs;
8450
8542
  /**
8451
8543
  *
8452
- * @summary Confirm the new login (either email or phone number)
8453
- * @param {CustomerLoginConfirmForm} body
8544
+ * @summary update event action config
8545
+ * @param {UpdateEventActionConfigForm} body
8546
+ * @param {string} eventActionConfigId The ID of the event action config
8454
8547
  * @param {*} [options] Override http request option.
8455
8548
  * @throws {RequiredError}
8456
8549
  */
8457
- confirmLogin(body: CustomerLoginConfirmForm, options?: any): FetchArgs;
8550
+ updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): FetchArgs;
8551
+ };
8552
+ /**
8553
+ * EventActionsApi - functional programming interface
8554
+ * @export
8555
+ */
8556
+ export declare const EventActionsApiFp: (configuration?: Configuration) => {
8458
8557
  /**
8459
8558
  *
8460
- * @summary Confirm an email/number while signing in
8461
- * @param {CustomerSignInConfirm} body
8559
+ * @summary create event action config
8560
+ * @param {CreateEventActionConfigForm} body
8462
8561
  * @param {*} [options] Override http request option.
8463
8562
  * @throws {RequiredError}
8464
8563
  */
8465
- confirmSignIn(body: CustomerSignInConfirm, options?: any): FetchArgs;
8564
+ createEventActionConfig(body: CreateEventActionConfigForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EventActionConfig>;
8466
8565
  /**
8467
8566
  *
8468
- * @summary Confirm an email/number while signing up
8469
- * @param {CustomerSignUpConfirm} body
8567
+ * @summary delete event action config
8568
+ * @param {string} eventActionConfigId The ID of the event action config
8470
8569
  * @param {*} [options] Override http request option.
8471
8570
  * @throws {RequiredError}
8472
8571
  */
8473
- confirmSignUp(body: CustomerSignUpConfirm, options?: any): FetchArgs;
8572
+ deleteEventActionConfig(eventActionConfigId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8474
8573
  /**
8475
8574
  *
8476
- * @summary Create lead for org
8477
- * @param {LeadRequest} body
8575
+ * @summary get event action configs
8478
8576
  * @param {*} [options] Override http request option.
8479
8577
  * @throws {RequiredError}
8480
8578
  */
8481
- createLead(body: LeadRequest, options?: any): FetchArgs;
8579
+ getEventActionConfigs(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<EventActionConfig>>;
8482
8580
  /**
8483
8581
  *
8484
- * @summary Anonymize customer profile
8485
- * @param {string} customerId
8582
+ * @summary update event action config
8583
+ * @param {UpdateEventActionConfigForm} body
8584
+ * @param {string} eventActionConfigId The ID of the event action config
8486
8585
  * @param {*} [options] Override http request option.
8487
8586
  * @throws {RequiredError}
8488
8587
  */
8489
- deleteCustomer(customerId: string, options?: any): FetchArgs;
8588
+ updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EventActionConfig>;
8589
+ };
8590
+ /**
8591
+ * EventActionsApi - factory interface
8592
+ * @export
8593
+ */
8594
+ export declare const EventActionsApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
8490
8595
  /**
8491
8596
  *
8492
- * @summary Get list of customer addresses
8597
+ * @summary create event action config
8598
+ * @param {CreateEventActionConfigForm} body
8493
8599
  * @param {*} [options] Override http request option.
8494
8600
  * @throws {RequiredError}
8495
8601
  */
8496
- getAddresses(options?: any): FetchArgs;
8602
+ createEventActionConfig(body: CreateEventActionConfigForm, options?: any): Promise<EventActionConfig>;
8497
8603
  /**
8498
8604
  *
8499
- * @summary Get customer logins
8605
+ * @summary delete event action config
8606
+ * @param {string} eventActionConfigId The ID of the event action config
8500
8607
  * @param {*} [options] Override http request option.
8501
8608
  * @throws {RequiredError}
8502
8609
  */
8503
- getCustomerLogins(options?: any): FetchArgs;
8610
+ deleteEventActionConfig(eventActionConfigId: string, options?: any): Promise<Response>;
8504
8611
  /**
8505
8612
  *
8506
- * @summary Get customer profile by id
8507
- * @param {string} customerId
8613
+ * @summary get event action configs
8508
8614
  * @param {*} [options] Override http request option.
8509
8615
  * @throws {RequiredError}
8510
8616
  */
8511
- getCustomerProfile(customerId: string, options?: any): FetchArgs;
8617
+ getEventActionConfigs(options?: any): Promise<EventActionConfig[]>;
8512
8618
  /**
8513
8619
  *
8514
- * @summary Get own customer profile
8620
+ * @summary update event action config
8621
+ * @param {UpdateEventActionConfigForm} body
8622
+ * @param {string} eventActionConfigId The ID of the event action config
8515
8623
  * @param {*} [options] Override http request option.
8516
8624
  * @throws {RequiredError}
8517
8625
  */
8518
- getOwnCustomerProfile(options?: any): FetchArgs;
8626
+ updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): Promise<EventActionConfig>;
8627
+ };
8628
+ /**
8629
+ * EventActionsApi - object-oriented interface
8630
+ * @export
8631
+ * @class EventActionsApi
8632
+ * @extends {BaseAPI}
8633
+ */
8634
+ export declare class EventActionsApi extends BaseAPI {
8519
8635
  /**
8520
8636
  *
8521
- * @summary Generate and get vault token
8522
- * @param {PinForm} body
8637
+ * @summary create event action config
8638
+ * @param {CreateEventActionConfigForm} body
8523
8639
  * @param {*} [options] Override http request option.
8524
8640
  * @throws {RequiredError}
8641
+ * @memberof EventActionsApi
8525
8642
  */
8526
- getVaultToken(body: PinForm, options?: any): FetchArgs;
8643
+ createEventActionConfig(body: CreateEventActionConfigForm, options?: any): Promise<EventActionConfig>;
8527
8644
  /**
8528
8645
  *
8529
- * @summary Request confirmation code to sign in
8530
- * @param {CustomerSignInForm} body
8646
+ * @summary delete event action config
8647
+ * @param {string} eventActionConfigId The ID of the event action config
8531
8648
  * @param {*} [options] Override http request option.
8532
8649
  * @throws {RequiredError}
8650
+ * @memberof EventActionsApi
8533
8651
  */
8534
- requestSignIn(body: CustomerSignInForm, options?: any): FetchArgs;
8652
+ deleteEventActionConfig(eventActionConfigId: string, options?: any): Promise<Response>;
8535
8653
  /**
8536
8654
  *
8537
- * @summary Request confirmation code to sign up
8538
- * @param {CustomerSignUpForm} body
8655
+ * @summary get event action configs
8539
8656
  * @param {*} [options] Override http request option.
8540
8657
  * @throws {RequiredError}
8658
+ * @memberof EventActionsApi
8541
8659
  */
8542
- requestSignUp(body: CustomerSignUpForm, options?: any): FetchArgs;
8660
+ getEventActionConfigs(options?: any): Promise<EventActionConfig[]>;
8543
8661
  /**
8544
8662
  *
8545
- * @summary Search customer by login
8546
- * @param {string} query
8663
+ * @summary update event action config
8664
+ * @param {UpdateEventActionConfigForm} body
8665
+ * @param {string} eventActionConfigId The ID of the event action config
8547
8666
  * @param {*} [options] Override http request option.
8548
8667
  * @throws {RequiredError}
8668
+ * @memberof EventActionsApi
8549
8669
  */
8550
- searchCustomer(query: string, options?: any): FetchArgs;
8670
+ updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): Promise<EventActionConfig>;
8671
+ }
8672
+ /**
8673
+ * FilesApi - fetch parameter creator
8674
+ * @export
8675
+ */
8676
+ export declare const FilesApiFetchParamCreator: (configuration?: Configuration) => {
8551
8677
  /**
8552
8678
  *
8553
- * @summary Update customer names
8554
- * @param {CustomerNames} body
8679
+ * @summary Get link for file. File should be uploaded via this link.
8555
8680
  * @param {*} [options] Override http request option.
8556
8681
  * @throws {RequiredError}
8557
8682
  */
8558
- updateCustomerNames(body: CustomerNames, options?: any): FetchArgs;
8683
+ getFileHandle(options?: any): FetchArgs;
8559
8684
  };
8560
8685
  /**
8561
- * CustomersApi - functional programming interface
8686
+ * FilesApi - functional programming interface
8562
8687
  * @export
8563
8688
  */
8564
- export declare const CustomersApiFp: (configuration?: Configuration) => {
8689
+ export declare const FilesApiFp: (configuration?: Configuration) => {
8565
8690
  /**
8566
8691
  *
8567
- * @summary Add new address
8568
- * @param {CustomerAddressForm} body
8692
+ * @summary Get link for file. File should be uploaded via this link.
8569
8693
  * @param {*} [options] Override http request option.
8570
8694
  * @throws {RequiredError}
8571
8695
  */
8572
- addAddress(body: CustomerAddressForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8696
+ getFileHandle(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FileHandle>;
8697
+ };
8698
+ /**
8699
+ * FilesApi - factory interface
8700
+ * @export
8701
+ */
8702
+ export declare const FilesApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
8573
8703
  /**
8574
8704
  *
8575
- * @summary Add uncofirmed login
8576
- * @param {CustomerLoginForm} body
8705
+ * @summary Get link for file. File should be uploaded via this link.
8577
8706
  * @param {*} [options] Override http request option.
8578
8707
  * @throws {RequiredError}
8579
8708
  */
8580
- addLogin(body: CustomerLoginForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8709
+ getFileHandle(options?: any): Promise<FileHandle>;
8710
+ };
8711
+ /**
8712
+ * FilesApi - object-oriented interface
8713
+ * @export
8714
+ * @class FilesApi
8715
+ * @extends {BaseAPI}
8716
+ */
8717
+ export declare class FilesApi extends BaseAPI {
8581
8718
  /**
8582
8719
  *
8583
- * @summary Add or replace pin to Vault
8584
- * @param {PinForm} body
8720
+ * @summary Get link for file. File should be uploaded via this link.
8585
8721
  * @param {*} [options] Override http request option.
8586
8722
  * @throws {RequiredError}
8723
+ * @memberof FilesApi
8587
8724
  */
8588
- addPin(body: PinForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8725
+ getFileHandle(options?: any): Promise<FileHandle>;
8726
+ }
8727
+ /**
8728
+ * InviteesApi - fetch parameter creator
8729
+ * @export
8730
+ */
8731
+ export declare const InviteesApiFetchParamCreator: (configuration?: Configuration) => {
8589
8732
  /**
8590
8733
  *
8591
- * @summary Confirm the new login (either email or phone number)
8592
- * @param {CustomerLoginConfirmForm} body
8734
+ * @summary Create adviser account from invitation
8735
+ * @param {AcceptInvitationForm} body
8736
+ * @param {string} token
8593
8737
  * @param {*} [options] Override http request option.
8594
8738
  * @throws {RequiredError}
8595
8739
  */
8596
- confirmLogin(body: CustomerLoginConfirmForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8740
+ acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): FetchArgs;
8597
8741
  /**
8598
8742
  *
8599
- * @summary Confirm an email/number while signing in
8600
- * @param {CustomerSignInConfirm} body
8743
+ * @summary Get pending invited advisers
8601
8744
  * @param {*} [options] Override http request option.
8602
8745
  * @throws {RequiredError}
8603
8746
  */
8604
- confirmSignIn(body: CustomerSignInConfirm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomerCtx>;
8747
+ getInviteesByOrg(options?: any): FetchArgs;
8605
8748
  /**
8606
8749
  *
8607
- * @summary Confirm an email/number while signing up
8608
- * @param {CustomerSignUpConfirm} body
8750
+ * @summary Check if token is valid and get names set by admin
8751
+ * @param {string} token
8609
8752
  * @param {*} [options] Override http request option.
8610
8753
  * @throws {RequiredError}
8611
8754
  */
8612
- confirmSignUp(body: CustomerSignUpConfirm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomerCtx>;
8755
+ getTokenValidity(token: string, options?: any): FetchArgs;
8613
8756
  /**
8614
8757
  *
8615
- * @summary Create lead for org
8616
- * @param {LeadRequest} body
8758
+ * @summary Invite adviser to Closer
8759
+ * @param {InviteeForm} body
8617
8760
  * @param {*} [options] Override http request option.
8618
8761
  * @throws {RequiredError}
8619
8762
  */
8620
- createLead(body: LeadRequest, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
8763
+ inviteAdviser(body: InviteeForm, options?: any): FetchArgs;
8621
8764
  /**
8622
8765
  *
8623
- * @summary Anonymize customer profile
8624
- * @param {string} customerId
8766
+ * @summary Invite advisers to Closer
8767
+ * @param {InviteManyAdvisersForm} body
8625
8768
  * @param {*} [options] Override http request option.
8626
8769
  * @throws {RequiredError}
8627
8770
  */
8628
- deleteCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8771
+ inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): FetchArgs;
8629
8772
  /**
8630
8773
  *
8631
- * @summary Get list of customer addresses
8774
+ * @summary Resend adviser invitation to Closer
8775
+ * @param {ResendInvitationForm} body
8632
8776
  * @param {*} [options] Override http request option.
8633
8777
  * @throws {RequiredError}
8634
8778
  */
8635
- getAddresses(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<CustomerAddress>>;
8779
+ resendInvitation(body: ResendInvitationForm, options?: any): FetchArgs;
8636
8780
  /**
8637
8781
  *
8638
- * @summary Get customer logins
8782
+ * @summary Revoke adviser invitation
8783
+ * @param {RevokeInvitationForm} body
8639
8784
  * @param {*} [options] Override http request option.
8640
8785
  * @throws {RequiredError}
8641
8786
  */
8642
- getCustomerLogins(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<CustomerLogin>>;
8787
+ revokeInvitation(body: RevokeInvitationForm, options?: any): FetchArgs;
8788
+ };
8789
+ /**
8790
+ * InviteesApi - functional programming interface
8791
+ * @export
8792
+ */
8793
+ export declare const InviteesApiFp: (configuration?: Configuration) => {
8643
8794
  /**
8644
8795
  *
8645
- * @summary Get customer profile by id
8646
- * @param {string} customerId
8796
+ * @summary Create adviser account from invitation
8797
+ * @param {AcceptInvitationForm} body
8798
+ * @param {string} token
8647
8799
  * @param {*} [options] Override http request option.
8648
8800
  * @throws {RequiredError}
8649
8801
  */
8650
- getCustomerProfile(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomerProfile>;
8802
+ acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AgentCtx>;
8651
8803
  /**
8652
8804
  *
8653
- * @summary Get own customer profile
8805
+ * @summary Get pending invited advisers
8654
8806
  * @param {*} [options] Override http request option.
8655
8807
  * @throws {RequiredError}
8656
8808
  */
8657
- getOwnCustomerProfile(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomerCtx>;
8809
+ getInviteesByOrg(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<Invitee>>;
8658
8810
  /**
8659
8811
  *
8660
- * @summary Generate and get vault token
8661
- * @param {PinForm} body
8812
+ * @summary Check if token is valid and get names set by admin
8813
+ * @param {string} token
8662
8814
  * @param {*} [options] Override http request option.
8663
8815
  * @throws {RequiredError}
8664
8816
  */
8665
- getVaultToken(body: PinForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<XVaultToken>;
8817
+ getTokenValidity(token: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AdminSetNames>;
8666
8818
  /**
8667
8819
  *
8668
- * @summary Request confirmation code to sign in
8669
- * @param {CustomerSignInForm} body
8820
+ * @summary Invite adviser to Closer
8821
+ * @param {InviteeForm} body
8670
8822
  * @param {*} [options] Override http request option.
8671
8823
  * @throws {RequiredError}
8672
8824
  */
8673
- requestSignIn(body: CustomerSignInForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8825
+ inviteAdviser(body: InviteeForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8674
8826
  /**
8675
8827
  *
8676
- * @summary Request confirmation code to sign up
8677
- * @param {CustomerSignUpForm} body
8828
+ * @summary Invite advisers to Closer
8829
+ * @param {InviteManyAdvisersForm} body
8678
8830
  * @param {*} [options] Override http request option.
8679
8831
  * @throws {RequiredError}
8680
8832
  */
8681
- requestSignUp(body: CustomerSignUpForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8833
+ inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8682
8834
  /**
8683
8835
  *
8684
- * @summary Search customer by login
8685
- * @param {string} query
8836
+ * @summary Resend adviser invitation to Closer
8837
+ * @param {ResendInvitationForm} body
8686
8838
  * @param {*} [options] Override http request option.
8687
8839
  * @throws {RequiredError}
8688
8840
  */
8689
- searchCustomer(query: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<CustomerProfile>;
8841
+ resendInvitation(body: ResendInvitationForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8690
8842
  /**
8691
8843
  *
8692
- * @summary Update customer names
8693
- * @param {CustomerNames} body
8844
+ * @summary Revoke adviser invitation
8845
+ * @param {RevokeInvitationForm} body
8694
8846
  * @param {*} [options] Override http request option.
8695
8847
  * @throws {RequiredError}
8696
8848
  */
8697
- updateCustomerNames(body: CustomerNames, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8849
+ revokeInvitation(body: RevokeInvitationForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
8698
8850
  };
8699
8851
  /**
8700
- * CustomersApi - factory interface
8852
+ * InviteesApi - factory interface
8701
8853
  * @export
8702
8854
  */
8703
- export declare const CustomersApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
8855
+ export declare const InviteesApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
8704
8856
  /**
8705
8857
  *
8706
- * @summary Add new address
8707
- * @param {CustomerAddressForm} body
8858
+ * @summary Create adviser account from invitation
8859
+ * @param {AcceptInvitationForm} body
8860
+ * @param {string} token
8708
8861
  * @param {*} [options] Override http request option.
8709
8862
  * @throws {RequiredError}
8710
8863
  */
8711
- addAddress(body: CustomerAddressForm, options?: any): Promise<Response>;
8864
+ acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): Promise<AgentCtx>;
8712
8865
  /**
8713
8866
  *
8714
- * @summary Add uncofirmed login
8715
- * @param {CustomerLoginForm} body
8867
+ * @summary Get pending invited advisers
8716
8868
  * @param {*} [options] Override http request option.
8717
8869
  * @throws {RequiredError}
8718
8870
  */
8719
- addLogin(body: CustomerLoginForm, options?: any): Promise<Response>;
8871
+ getInviteesByOrg(options?: any): Promise<Invitee[]>;
8720
8872
  /**
8721
8873
  *
8722
- * @summary Add or replace pin to Vault
8723
- * @param {PinForm} body
8874
+ * @summary Check if token is valid and get names set by admin
8875
+ * @param {string} token
8724
8876
  * @param {*} [options] Override http request option.
8725
8877
  * @throws {RequiredError}
8726
8878
  */
8727
- addPin(body: PinForm, options?: any): Promise<Response>;
8879
+ getTokenValidity(token: string, options?: any): Promise<AdminSetNames>;
8728
8880
  /**
8729
8881
  *
8730
- * @summary Confirm the new login (either email or phone number)
8731
- * @param {CustomerLoginConfirmForm} body
8882
+ * @summary Invite adviser to Closer
8883
+ * @param {InviteeForm} body
8732
8884
  * @param {*} [options] Override http request option.
8733
8885
  * @throws {RequiredError}
8734
8886
  */
8735
- confirmLogin(body: CustomerLoginConfirmForm, options?: any): Promise<Response>;
8887
+ inviteAdviser(body: InviteeForm, options?: any): Promise<Response>;
8736
8888
  /**
8737
8889
  *
8738
- * @summary Confirm an email/number while signing in
8739
- * @param {CustomerSignInConfirm} body
8890
+ * @summary Invite advisers to Closer
8891
+ * @param {InviteManyAdvisersForm} body
8740
8892
  * @param {*} [options] Override http request option.
8741
8893
  * @throws {RequiredError}
8742
8894
  */
8743
- confirmSignIn(body: CustomerSignInConfirm, options?: any): Promise<CustomerCtx>;
8744
- /**
8745
- *
8746
- * @summary Confirm an email/number while signing up
8747
- * @param {CustomerSignUpConfirm} body
8748
- * @param {*} [options] Override http request option.
8749
- * @throws {RequiredError}
8750
- */
8751
- confirmSignUp(body: CustomerSignUpConfirm, options?: any): Promise<CustomerCtx>;
8752
- /**
8753
- *
8754
- * @summary Create lead for org
8755
- * @param {LeadRequest} body
8756
- * @param {*} [options] Override http request option.
8757
- * @throws {RequiredError}
8758
- */
8759
- createLead(body: LeadRequest, options?: any): Promise<LeadCtx>;
8760
- /**
8761
- *
8762
- * @summary Anonymize customer profile
8763
- * @param {string} customerId
8764
- * @param {*} [options] Override http request option.
8765
- * @throws {RequiredError}
8766
- */
8767
- deleteCustomer(customerId: string, options?: any): Promise<Response>;
8768
- /**
8769
- *
8770
- * @summary Get list of customer addresses
8771
- * @param {*} [options] Override http request option.
8772
- * @throws {RequiredError}
8773
- */
8774
- getAddresses(options?: any): Promise<CustomerAddress[]>;
8775
- /**
8776
- *
8777
- * @summary Get customer logins
8778
- * @param {*} [options] Override http request option.
8779
- * @throws {RequiredError}
8780
- */
8781
- getCustomerLogins(options?: any): Promise<CustomerLogin[]>;
8782
- /**
8783
- *
8784
- * @summary Get customer profile by id
8785
- * @param {string} customerId
8786
- * @param {*} [options] Override http request option.
8787
- * @throws {RequiredError}
8788
- */
8789
- getCustomerProfile(customerId: string, options?: any): Promise<CustomerProfile>;
8790
- /**
8791
- *
8792
- * @summary Get own customer profile
8793
- * @param {*} [options] Override http request option.
8794
- * @throws {RequiredError}
8795
- */
8796
- getOwnCustomerProfile(options?: any): Promise<CustomerCtx>;
8797
- /**
8798
- *
8799
- * @summary Generate and get vault token
8800
- * @param {PinForm} body
8801
- * @param {*} [options] Override http request option.
8802
- * @throws {RequiredError}
8803
- */
8804
- getVaultToken(body: PinForm, options?: any): Promise<XVaultToken>;
8805
- /**
8806
- *
8807
- * @summary Request confirmation code to sign in
8808
- * @param {CustomerSignInForm} body
8809
- * @param {*} [options] Override http request option.
8810
- * @throws {RequiredError}
8811
- */
8812
- requestSignIn(body: CustomerSignInForm, options?: any): Promise<Response>;
8813
- /**
8814
- *
8815
- * @summary Request confirmation code to sign up
8816
- * @param {CustomerSignUpForm} body
8817
- * @param {*} [options] Override http request option.
8818
- * @throws {RequiredError}
8819
- */
8820
- requestSignUp(body: CustomerSignUpForm, options?: any): Promise<Response>;
8821
- /**
8822
- *
8823
- * @summary Search customer by login
8824
- * @param {string} query
8825
- * @param {*} [options] Override http request option.
8826
- * @throws {RequiredError}
8827
- */
8828
- searchCustomer(query: string, options?: any): Promise<CustomerProfile>;
8829
- /**
8830
- *
8831
- * @summary Update customer names
8832
- * @param {CustomerNames} body
8833
- * @param {*} [options] Override http request option.
8834
- * @throws {RequiredError}
8835
- */
8836
- updateCustomerNames(body: CustomerNames, options?: any): Promise<Response>;
8837
- };
8838
- /**
8839
- * CustomersApi - object-oriented interface
8840
- * @export
8841
- * @class CustomersApi
8842
- * @extends {BaseAPI}
8843
- */
8844
- export declare class CustomersApi extends BaseAPI {
8845
- /**
8846
- *
8847
- * @summary Add new address
8848
- * @param {CustomerAddressForm} body
8849
- * @param {*} [options] Override http request option.
8850
- * @throws {RequiredError}
8851
- * @memberof CustomersApi
8852
- */
8853
- addAddress(body: CustomerAddressForm, options?: any): Promise<Response>;
8854
- /**
8855
- *
8856
- * @summary Add uncofirmed login
8857
- * @param {CustomerLoginForm} body
8858
- * @param {*} [options] Override http request option.
8859
- * @throws {RequiredError}
8860
- * @memberof CustomersApi
8861
- */
8862
- addLogin(body: CustomerLoginForm, options?: any): Promise<Response>;
8863
- /**
8864
- *
8865
- * @summary Add or replace pin to Vault
8866
- * @param {PinForm} body
8867
- * @param {*} [options] Override http request option.
8868
- * @throws {RequiredError}
8869
- * @memberof CustomersApi
8870
- */
8871
- addPin(body: PinForm, options?: any): Promise<Response>;
8872
- /**
8873
- *
8874
- * @summary Confirm the new login (either email or phone number)
8875
- * @param {CustomerLoginConfirmForm} body
8876
- * @param {*} [options] Override http request option.
8877
- * @throws {RequiredError}
8878
- * @memberof CustomersApi
8879
- */
8880
- confirmLogin(body: CustomerLoginConfirmForm, options?: any): Promise<Response>;
8881
- /**
8882
- *
8883
- * @summary Confirm an email/number while signing in
8884
- * @param {CustomerSignInConfirm} body
8885
- * @param {*} [options] Override http request option.
8886
- * @throws {RequiredError}
8887
- * @memberof CustomersApi
8888
- */
8889
- confirmSignIn(body: CustomerSignInConfirm, options?: any): Promise<CustomerCtx>;
8890
- /**
8891
- *
8892
- * @summary Confirm an email/number while signing up
8893
- * @param {CustomerSignUpConfirm} body
8894
- * @param {*} [options] Override http request option.
8895
- * @throws {RequiredError}
8896
- * @memberof CustomersApi
8897
- */
8898
- confirmSignUp(body: CustomerSignUpConfirm, options?: any): Promise<CustomerCtx>;
8899
- /**
8900
- *
8901
- * @summary Create lead for org
8902
- * @param {LeadRequest} body
8903
- * @param {*} [options] Override http request option.
8904
- * @throws {RequiredError}
8905
- * @memberof CustomersApi
8906
- */
8907
- createLead(body: LeadRequest, options?: any): Promise<LeadCtx>;
8908
- /**
8909
- *
8910
- * @summary Anonymize customer profile
8911
- * @param {string} customerId
8912
- * @param {*} [options] Override http request option.
8913
- * @throws {RequiredError}
8914
- * @memberof CustomersApi
8915
- */
8916
- deleteCustomer(customerId: string, options?: any): Promise<Response>;
8917
- /**
8918
- *
8919
- * @summary Get list of customer addresses
8920
- * @param {*} [options] Override http request option.
8921
- * @throws {RequiredError}
8922
- * @memberof CustomersApi
8923
- */
8924
- getAddresses(options?: any): Promise<CustomerAddress[]>;
8925
- /**
8926
- *
8927
- * @summary Get customer logins
8928
- * @param {*} [options] Override http request option.
8929
- * @throws {RequiredError}
8930
- * @memberof CustomersApi
8931
- */
8932
- getCustomerLogins(options?: any): Promise<CustomerLogin[]>;
8933
- /**
8934
- *
8935
- * @summary Get customer profile by id
8936
- * @param {string} customerId
8937
- * @param {*} [options] Override http request option.
8938
- * @throws {RequiredError}
8939
- * @memberof CustomersApi
8940
- */
8941
- getCustomerProfile(customerId: string, options?: any): Promise<CustomerProfile>;
8942
- /**
8943
- *
8944
- * @summary Get own customer profile
8945
- * @param {*} [options] Override http request option.
8946
- * @throws {RequiredError}
8947
- * @memberof CustomersApi
8948
- */
8949
- getOwnCustomerProfile(options?: any): Promise<CustomerCtx>;
8950
- /**
8951
- *
8952
- * @summary Generate and get vault token
8953
- * @param {PinForm} body
8954
- * @param {*} [options] Override http request option.
8955
- * @throws {RequiredError}
8956
- * @memberof CustomersApi
8957
- */
8958
- getVaultToken(body: PinForm, options?: any): Promise<XVaultToken>;
8959
- /**
8960
- *
8961
- * @summary Request confirmation code to sign in
8962
- * @param {CustomerSignInForm} body
8963
- * @param {*} [options] Override http request option.
8964
- * @throws {RequiredError}
8965
- * @memberof CustomersApi
8966
- */
8967
- requestSignIn(body: CustomerSignInForm, options?: any): Promise<Response>;
8968
- /**
8969
- *
8970
- * @summary Request confirmation code to sign up
8971
- * @param {CustomerSignUpForm} body
8972
- * @param {*} [options] Override http request option.
8973
- * @throws {RequiredError}
8974
- * @memberof CustomersApi
8975
- */
8976
- requestSignUp(body: CustomerSignUpForm, options?: any): Promise<Response>;
8977
- /**
8978
- *
8979
- * @summary Search customer by login
8980
- * @param {string} query
8981
- * @param {*} [options] Override http request option.
8982
- * @throws {RequiredError}
8983
- * @memberof CustomersApi
8984
- */
8985
- searchCustomer(query: string, options?: any): Promise<CustomerProfile>;
8986
- /**
8987
- *
8988
- * @summary Update customer names
8989
- * @param {CustomerNames} body
8990
- * @param {*} [options] Override http request option.
8991
- * @throws {RequiredError}
8992
- * @memberof CustomersApi
8993
- */
8994
- updateCustomerNames(body: CustomerNames, options?: any): Promise<Response>;
8995
- }
8996
- /**
8997
- * EventActionsApi - fetch parameter creator
8998
- * @export
8999
- */
9000
- export declare const EventActionsApiFetchParamCreator: (configuration?: Configuration) => {
9001
- /**
9002
- *
9003
- * @summary create event action config
9004
- * @param {CreateEventActionConfigForm} body
9005
- * @param {*} [options] Override http request option.
9006
- * @throws {RequiredError}
9007
- */
9008
- createEventActionConfig(body: CreateEventActionConfigForm, options?: any): FetchArgs;
9009
- /**
9010
- *
9011
- * @summary delete event action config
9012
- * @param {string} eventActionConfigId The ID of the event action config
9013
- * @param {*} [options] Override http request option.
9014
- * @throws {RequiredError}
9015
- */
9016
- deleteEventActionConfig(eventActionConfigId: string, options?: any): FetchArgs;
9017
- /**
9018
- *
9019
- * @summary get event action configs
9020
- * @param {*} [options] Override http request option.
9021
- * @throws {RequiredError}
9022
- */
9023
- getEventActionConfigs(options?: any): FetchArgs;
9024
- /**
9025
- *
9026
- * @summary update event action config
9027
- * @param {UpdateEventActionConfigForm} body
9028
- * @param {string} eventActionConfigId The ID of the event action config
9029
- * @param {*} [options] Override http request option.
9030
- * @throws {RequiredError}
9031
- */
9032
- updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): FetchArgs;
9033
- };
9034
- /**
9035
- * EventActionsApi - functional programming interface
9036
- * @export
9037
- */
9038
- export declare const EventActionsApiFp: (configuration?: Configuration) => {
9039
- /**
9040
- *
9041
- * @summary create event action config
9042
- * @param {CreateEventActionConfigForm} body
9043
- * @param {*} [options] Override http request option.
9044
- * @throws {RequiredError}
9045
- */
9046
- createEventActionConfig(body: CreateEventActionConfigForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EventActionConfig>;
9047
- /**
9048
- *
9049
- * @summary delete event action config
9050
- * @param {string} eventActionConfigId The ID of the event action config
9051
- * @param {*} [options] Override http request option.
9052
- * @throws {RequiredError}
9053
- */
9054
- deleteEventActionConfig(eventActionConfigId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
9055
- /**
9056
- *
9057
- * @summary get event action configs
9058
- * @param {*} [options] Override http request option.
9059
- * @throws {RequiredError}
9060
- */
9061
- getEventActionConfigs(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<EventActionConfig>>;
9062
- /**
9063
- *
9064
- * @summary update event action config
9065
- * @param {UpdateEventActionConfigForm} body
9066
- * @param {string} eventActionConfigId The ID of the event action config
9067
- * @param {*} [options] Override http request option.
9068
- * @throws {RequiredError}
9069
- */
9070
- updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EventActionConfig>;
9071
- };
9072
- /**
9073
- * EventActionsApi - factory interface
9074
- * @export
9075
- */
9076
- export declare const EventActionsApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
9077
- /**
9078
- *
9079
- * @summary create event action config
9080
- * @param {CreateEventActionConfigForm} body
9081
- * @param {*} [options] Override http request option.
9082
- * @throws {RequiredError}
9083
- */
9084
- createEventActionConfig(body: CreateEventActionConfigForm, options?: any): Promise<EventActionConfig>;
9085
- /**
9086
- *
9087
- * @summary delete event action config
9088
- * @param {string} eventActionConfigId The ID of the event action config
9089
- * @param {*} [options] Override http request option.
9090
- * @throws {RequiredError}
9091
- */
9092
- deleteEventActionConfig(eventActionConfigId: string, options?: any): Promise<Response>;
9093
- /**
9094
- *
9095
- * @summary get event action configs
9096
- * @param {*} [options] Override http request option.
9097
- * @throws {RequiredError}
9098
- */
9099
- getEventActionConfigs(options?: any): Promise<EventActionConfig[]>;
9100
- /**
9101
- *
9102
- * @summary update event action config
9103
- * @param {UpdateEventActionConfigForm} body
9104
- * @param {string} eventActionConfigId The ID of the event action config
9105
- * @param {*} [options] Override http request option.
9106
- * @throws {RequiredError}
9107
- */
9108
- updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): Promise<EventActionConfig>;
9109
- };
9110
- /**
9111
- * EventActionsApi - object-oriented interface
9112
- * @export
9113
- * @class EventActionsApi
9114
- * @extends {BaseAPI}
9115
- */
9116
- export declare class EventActionsApi extends BaseAPI {
9117
- /**
9118
- *
9119
- * @summary create event action config
9120
- * @param {CreateEventActionConfigForm} body
9121
- * @param {*} [options] Override http request option.
9122
- * @throws {RequiredError}
9123
- * @memberof EventActionsApi
9124
- */
9125
- createEventActionConfig(body: CreateEventActionConfigForm, options?: any): Promise<EventActionConfig>;
9126
- /**
9127
- *
9128
- * @summary delete event action config
9129
- * @param {string} eventActionConfigId The ID of the event action config
9130
- * @param {*} [options] Override http request option.
9131
- * @throws {RequiredError}
9132
- * @memberof EventActionsApi
9133
- */
9134
- deleteEventActionConfig(eventActionConfigId: string, options?: any): Promise<Response>;
9135
- /**
9136
- *
9137
- * @summary get event action configs
9138
- * @param {*} [options] Override http request option.
9139
- * @throws {RequiredError}
9140
- * @memberof EventActionsApi
9141
- */
9142
- getEventActionConfigs(options?: any): Promise<EventActionConfig[]>;
9143
- /**
9144
- *
9145
- * @summary update event action config
9146
- * @param {UpdateEventActionConfigForm} body
9147
- * @param {string} eventActionConfigId The ID of the event action config
9148
- * @param {*} [options] Override http request option.
9149
- * @throws {RequiredError}
9150
- * @memberof EventActionsApi
9151
- */
9152
- updateEventActionConfig(body: UpdateEventActionConfigForm, eventActionConfigId: string, options?: any): Promise<EventActionConfig>;
9153
- }
9154
- /**
9155
- * FilesApi - fetch parameter creator
9156
- * @export
9157
- */
9158
- export declare const FilesApiFetchParamCreator: (configuration?: Configuration) => {
9159
- /**
9160
- *
9161
- * @summary Get link for file. File should be uploaded via this link.
9162
- * @param {*} [options] Override http request option.
9163
- * @throws {RequiredError}
9164
- */
9165
- getFileHandle(options?: any): FetchArgs;
9166
- };
9167
- /**
9168
- * FilesApi - functional programming interface
9169
- * @export
9170
- */
9171
- export declare const FilesApiFp: (configuration?: Configuration) => {
9172
- /**
9173
- *
9174
- * @summary Get link for file. File should be uploaded via this link.
9175
- * @param {*} [options] Override http request option.
9176
- * @throws {RequiredError}
9177
- */
9178
- getFileHandle(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FileHandle>;
9179
- };
9180
- /**
9181
- * FilesApi - factory interface
9182
- * @export
9183
- */
9184
- export declare const FilesApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
9185
- /**
9186
- *
9187
- * @summary Get link for file. File should be uploaded via this link.
9188
- * @param {*} [options] Override http request option.
9189
- * @throws {RequiredError}
9190
- */
9191
- getFileHandle(options?: any): Promise<FileHandle>;
9192
- };
9193
- /**
9194
- * FilesApi - object-oriented interface
9195
- * @export
9196
- * @class FilesApi
9197
- * @extends {BaseAPI}
9198
- */
9199
- export declare class FilesApi extends BaseAPI {
9200
- /**
9201
- *
9202
- * @summary Get link for file. File should be uploaded via this link.
9203
- * @param {*} [options] Override http request option.
9204
- * @throws {RequiredError}
9205
- * @memberof FilesApi
9206
- */
9207
- getFileHandle(options?: any): Promise<FileHandle>;
9208
- }
9209
- /**
9210
- * InviteesApi - fetch parameter creator
9211
- * @export
9212
- */
9213
- export declare const InviteesApiFetchParamCreator: (configuration?: Configuration) => {
9214
- /**
9215
- *
9216
- * @summary Create adviser account from invitation
9217
- * @param {AcceptInvitationForm} body
9218
- * @param {string} token
9219
- * @param {*} [options] Override http request option.
9220
- * @throws {RequiredError}
9221
- */
9222
- acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): FetchArgs;
9223
- /**
9224
- *
9225
- * @summary Get pending invited advisers
9226
- * @param {*} [options] Override http request option.
9227
- * @throws {RequiredError}
9228
- */
9229
- getInviteesByOrg(options?: any): FetchArgs;
9230
- /**
9231
- *
9232
- * @summary Check if token is valid and get names set by admin
9233
- * @param {string} token
9234
- * @param {*} [options] Override http request option.
9235
- * @throws {RequiredError}
9236
- */
9237
- getTokenValidity(token: string, options?: any): FetchArgs;
9238
- /**
9239
- *
9240
- * @summary Invite adviser to Closer
9241
- * @param {InviteeForm} body
9242
- * @param {*} [options] Override http request option.
9243
- * @throws {RequiredError}
9244
- */
9245
- inviteAdviser(body: InviteeForm, options?: any): FetchArgs;
9246
- /**
9247
- *
9248
- * @summary Invite advisers to Closer
9249
- * @param {InviteManyAdvisersForm} body
9250
- * @param {*} [options] Override http request option.
9251
- * @throws {RequiredError}
9252
- */
9253
- inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): FetchArgs;
9254
- /**
9255
- *
9256
- * @summary Resend adviser invitation to Closer
9257
- * @param {ResendInvitationForm} body
9258
- * @param {*} [options] Override http request option.
9259
- * @throws {RequiredError}
9260
- */
9261
- resendInvitation(body: ResendInvitationForm, options?: any): FetchArgs;
9262
- /**
9263
- *
9264
- * @summary Revoke adviser invitation
9265
- * @param {RevokeInvitationForm} body
9266
- * @param {*} [options] Override http request option.
9267
- * @throws {RequiredError}
9268
- */
9269
- revokeInvitation(body: RevokeInvitationForm, options?: any): FetchArgs;
9270
- };
9271
- /**
9272
- * InviteesApi - functional programming interface
9273
- * @export
9274
- */
9275
- export declare const InviteesApiFp: (configuration?: Configuration) => {
9276
- /**
9277
- *
9278
- * @summary Create adviser account from invitation
9279
- * @param {AcceptInvitationForm} body
9280
- * @param {string} token
9281
- * @param {*} [options] Override http request option.
9282
- * @throws {RequiredError}
9283
- */
9284
- acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AgentCtx>;
9285
- /**
9286
- *
9287
- * @summary Get pending invited advisers
9288
- * @param {*} [options] Override http request option.
9289
- * @throws {RequiredError}
9290
- */
9291
- getInviteesByOrg(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<Invitee>>;
9292
- /**
9293
- *
9294
- * @summary Check if token is valid and get names set by admin
9295
- * @param {string} token
9296
- * @param {*} [options] Override http request option.
9297
- * @throws {RequiredError}
9298
- */
9299
- getTokenValidity(token: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AdminSetNames>;
9300
- /**
9301
- *
9302
- * @summary Invite adviser to Closer
9303
- * @param {InviteeForm} body
9304
- * @param {*} [options] Override http request option.
9305
- * @throws {RequiredError}
9306
- */
9307
- inviteAdviser(body: InviteeForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
9308
- /**
9309
- *
9310
- * @summary Invite advisers to Closer
9311
- * @param {InviteManyAdvisersForm} body
9312
- * @param {*} [options] Override http request option.
9313
- * @throws {RequiredError}
9314
- */
9315
- inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
9316
- /**
9317
- *
9318
- * @summary Resend adviser invitation to Closer
9319
- * @param {ResendInvitationForm} body
9320
- * @param {*} [options] Override http request option.
9321
- * @throws {RequiredError}
9322
- */
9323
- resendInvitation(body: ResendInvitationForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
9324
- /**
9325
- *
9326
- * @summary Revoke adviser invitation
9327
- * @param {RevokeInvitationForm} body
9328
- * @param {*} [options] Override http request option.
9329
- * @throws {RequiredError}
9330
- */
9331
- revokeInvitation(body: RevokeInvitationForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
9332
- };
9333
- /**
9334
- * InviteesApi - factory interface
9335
- * @export
9336
- */
9337
- export declare const InviteesApiFactory: (configuration?: Configuration, fetch?: FetchAPI, basePath?: string) => {
9338
- /**
9339
- *
9340
- * @summary Create adviser account from invitation
9341
- * @param {AcceptInvitationForm} body
9342
- * @param {string} token
9343
- * @param {*} [options] Override http request option.
9344
- * @throws {RequiredError}
9345
- */
9346
- acceptInvitation(body: AcceptInvitationForm, token: string, options?: any): Promise<AgentCtx>;
9347
- /**
9348
- *
9349
- * @summary Get pending invited advisers
9350
- * @param {*} [options] Override http request option.
9351
- * @throws {RequiredError}
9352
- */
9353
- getInviteesByOrg(options?: any): Promise<Invitee[]>;
9354
- /**
9355
- *
9356
- * @summary Check if token is valid and get names set by admin
9357
- * @param {string} token
9358
- * @param {*} [options] Override http request option.
9359
- * @throws {RequiredError}
9360
- */
9361
- getTokenValidity(token: string, options?: any): Promise<AdminSetNames>;
9362
- /**
9363
- *
9364
- * @summary Invite adviser to Closer
9365
- * @param {InviteeForm} body
9366
- * @param {*} [options] Override http request option.
9367
- * @throws {RequiredError}
9368
- */
9369
- inviteAdviser(body: InviteeForm, options?: any): Promise<Response>;
9370
- /**
9371
- *
9372
- * @summary Invite advisers to Closer
9373
- * @param {InviteManyAdvisersForm} body
9374
- * @param {*} [options] Override http request option.
9375
- * @throws {RequiredError}
9376
- */
9377
- inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): Promise<Response>;
8895
+ inviteManyAdvisers(body: InviteManyAdvisersForm, options?: any): Promise<Response>;
9378
8896
  /**
9379
8897
  *
9380
8898
  * @summary Resend adviser invitation to Closer
@@ -11309,13 +10827,6 @@ export declare const OrgsApiFetchParamCreator: (configuration?: Configuration) =
11309
10827
  * @throws {RequiredError}
11310
10828
  */
11311
10829
  getOrganizationConfig(id: string, options?: any): FetchArgs;
11312
- /**
11313
- *
11314
- * @summary Retrieve data of all orgs
11315
- * @param {*} [options] Override http request option.
11316
- * @throws {RequiredError}
11317
- */
11318
- getOrgs(options?: any): FetchArgs;
11319
10830
  /**
11320
10831
  *
11321
10832
  * @summary Get maxCharacters limit for messages handled by autoresponder
@@ -11535,13 +11046,6 @@ export declare const OrgsApiFp: (configuration?: Configuration) => {
11535
11046
  * @throws {RequiredError}
11536
11047
  */
11537
11048
  getOrganizationConfig(id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<OrgConfig>;
11538
- /**
11539
- *
11540
- * @summary Retrieve data of all orgs
11541
- * @param {*} [options] Override http request option.
11542
- * @throws {RequiredError}
11543
- */
11544
- getOrgs(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<OrganizationSummary>>;
11545
11049
  /**
11546
11050
  *
11547
11051
  * @summary Get maxCharacters limit for messages handled by autoresponder
@@ -11761,13 +11265,6 @@ export declare const OrgsApiFactory: (configuration?: Configuration, fetch?: Fet
11761
11265
  * @throws {RequiredError}
11762
11266
  */
11763
11267
  getOrganizationConfig(id: string, options?: any): Promise<OrgConfig>;
11764
- /**
11765
- *
11766
- * @summary Retrieve data of all orgs
11767
- * @param {*} [options] Override http request option.
11768
- * @throws {RequiredError}
11769
- */
11770
- getOrgs(options?: any): Promise<OrganizationSummary[]>;
11771
11268
  /**
11772
11269
  *
11773
11270
  * @summary Get maxCharacters limit for messages handled by autoresponder
@@ -12010,14 +11507,6 @@ export declare class OrgsApi extends BaseAPI {
12010
11507
  * @memberof OrgsApi
12011
11508
  */
12012
11509
  getOrganizationConfig(id: string, options?: any): Promise<OrgConfig>;
12013
- /**
12014
- *
12015
- * @summary Retrieve data of all orgs
12016
- * @param {*} [options] Override http request option.
12017
- * @throws {RequiredError}
12018
- * @memberof OrgsApi
12019
- */
12020
- getOrgs(options?: any): Promise<OrganizationSummary[]>;
12021
11510
  /**
12022
11511
  *
12023
11512
  * @summary Get maxCharacters limit for messages handled by autoresponder
@@ -14442,6 +13931,14 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14442
13931
  * @throws {RequiredError}
14443
13932
  */
14444
13933
  deleteAgentAvatar(options?: any): FetchArgs;
13934
+ /**
13935
+ *
13936
+ * @summary Anonymize customer profile
13937
+ * @param {string} customerId
13938
+ * @param {*} [options] Override http request option.
13939
+ * @throws {RequiredError}
13940
+ */
13941
+ deleteCustomer(customerId: string, options?: any): FetchArgs;
14445
13942
  /**
14446
13943
  *
14447
13944
  * @summary Generate avatar upload URL.
@@ -14558,6 +14055,23 @@ export declare const UsersApiFetchParamCreator: (configuration?: Configuration)
14558
14055
  * @throws {RequiredError}
14559
14056
  */
14560
14057
  joinMeeting(body: GuestMeetingToken, options?: any): FetchArgs;
14058
+ /**
14059
+ *
14060
+ * @summary update adviser
14061
+ * @param {AdviserPatchForm} body
14062
+ * @param {string} id
14063
+ * @param {*} [options] Override http request option.
14064
+ * @throws {RequiredError}
14065
+ */
14066
+ patchAdviser(body: AdviserPatchForm, id: string, options?: any): FetchArgs;
14067
+ /**
14068
+ *
14069
+ * @summary Batch update advisers
14070
+ * @param {Array<AdviserBatchPatchForm>} body
14071
+ * @param {*} [options] Override http request option.
14072
+ * @throws {RequiredError}
14073
+ */
14074
+ patchAdvisers(body: Array<AdviserBatchPatchForm>, options?: any): FetchArgs;
14561
14075
  /**
14562
14076
  *
14563
14077
  * @summary Partially update the preferences
@@ -14834,6 +14348,14 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14834
14348
  * @throws {RequiredError}
14835
14349
  */
14836
14350
  deleteAgentAvatar(options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14351
+ /**
14352
+ *
14353
+ * @summary Anonymize customer profile
14354
+ * @param {string} customerId
14355
+ * @param {*} [options] Override http request option.
14356
+ * @throws {RequiredError}
14357
+ */
14358
+ deleteCustomer(customerId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
14837
14359
  /**
14838
14360
  *
14839
14361
  * @summary Generate avatar upload URL.
@@ -14950,6 +14472,23 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
14950
14472
  * @throws {RequiredError}
14951
14473
  */
14952
14474
  joinMeeting(body: GuestMeetingToken, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<LeadCtx>;
14475
+ /**
14476
+ *
14477
+ * @summary update adviser
14478
+ * @param {AdviserPatchForm} body
14479
+ * @param {string} id
14480
+ * @param {*} [options] Override http request option.
14481
+ * @throws {RequiredError}
14482
+ */
14483
+ patchAdviser(body: AdviserPatchForm, id: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<AgentProfile>;
14484
+ /**
14485
+ *
14486
+ * @summary Batch update advisers
14487
+ * @param {Array<AdviserBatchPatchForm>} body
14488
+ * @param {*} [options] Override http request option.
14489
+ * @throws {RequiredError}
14490
+ */
14491
+ patchAdvisers(body: Array<AdviserBatchPatchForm>, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<AgentProfile>>;
14953
14492
  /**
14954
14493
  *
14955
14494
  * @summary Partially update the preferences
@@ -15226,6 +14765,14 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15226
14765
  * @throws {RequiredError}
15227
14766
  */
15228
14767
  deleteAgentAvatar(options?: any): Promise<Response>;
14768
+ /**
14769
+ *
14770
+ * @summary Anonymize customer profile
14771
+ * @param {string} customerId
14772
+ * @param {*} [options] Override http request option.
14773
+ * @throws {RequiredError}
14774
+ */
14775
+ deleteCustomer(customerId: string, options?: any): Promise<Response>;
15229
14776
  /**
15230
14777
  *
15231
14778
  * @summary Generate avatar upload URL.
@@ -15342,6 +14889,23 @@ export declare const UsersApiFactory: (configuration?: Configuration, fetch?: Fe
15342
14889
  * @throws {RequiredError}
15343
14890
  */
15344
14891
  joinMeeting(body: GuestMeetingToken, options?: any): Promise<LeadCtx>;
14892
+ /**
14893
+ *
14894
+ * @summary update adviser
14895
+ * @param {AdviserPatchForm} body
14896
+ * @param {string} id
14897
+ * @param {*} [options] Override http request option.
14898
+ * @throws {RequiredError}
14899
+ */
14900
+ patchAdviser(body: AdviserPatchForm, id: string, options?: any): Promise<AgentProfile>;
14901
+ /**
14902
+ *
14903
+ * @summary Batch update advisers
14904
+ * @param {Array<AdviserBatchPatchForm>} body
14905
+ * @param {*} [options] Override http request option.
14906
+ * @throws {RequiredError}
14907
+ */
14908
+ patchAdvisers(body: Array<AdviserBatchPatchForm>, options?: any): Promise<AgentProfile[]>;
15345
14909
  /**
15346
14910
  *
15347
14911
  * @summary Partially update the preferences
@@ -15630,6 +15194,15 @@ export declare class UsersApi extends BaseAPI {
15630
15194
  * @memberof UsersApi
15631
15195
  */
15632
15196
  deleteAgentAvatar(options?: any): Promise<Response>;
15197
+ /**
15198
+ *
15199
+ * @summary Anonymize customer profile
15200
+ * @param {string} customerId
15201
+ * @param {*} [options] Override http request option.
15202
+ * @throws {RequiredError}
15203
+ * @memberof UsersApi
15204
+ */
15205
+ deleteCustomer(customerId: string, options?: any): Promise<Response>;
15633
15206
  /**
15634
15207
  *
15635
15208
  * @summary Generate avatar upload URL.
@@ -15761,6 +15334,25 @@ export declare class UsersApi extends BaseAPI {
15761
15334
  * @memberof UsersApi
15762
15335
  */
15763
15336
  joinMeeting(body: GuestMeetingToken, options?: any): Promise<LeadCtx>;
15337
+ /**
15338
+ *
15339
+ * @summary update adviser
15340
+ * @param {AdviserPatchForm} body
15341
+ * @param {string} id
15342
+ * @param {*} [options] Override http request option.
15343
+ * @throws {RequiredError}
15344
+ * @memberof UsersApi
15345
+ */
15346
+ patchAdviser(body: AdviserPatchForm, id: string, options?: any): Promise<AgentProfile>;
15347
+ /**
15348
+ *
15349
+ * @summary Batch update advisers
15350
+ * @param {Array<AdviserBatchPatchForm>} body
15351
+ * @param {*} [options] Override http request option.
15352
+ * @throws {RequiredError}
15353
+ * @memberof UsersApi
15354
+ */
15355
+ patchAdvisers(body: Array<AdviserBatchPatchForm>, options?: any): Promise<AgentProfile[]>;
15764
15356
  /**
15765
15357
  *
15766
15358
  * @summary Partially update the preferences