@seekora-ai/admin-api 1.1.70 → 1.1.71
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/README.md +6 -2
- package/api.ts +391 -7
- package/dist/api.d.ts +285 -4
- package/dist/api.js +204 -15
- package/dist/esm/api.d.ts +285 -4
- package/dist/esm/api.js +196 -7
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.71.tgz +0 -0
- package/seekora-ai-admin-api-1.1.70.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
1
|
+
## @seekora-ai/admin-api@1.1.71
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.1.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.1.71 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -351,6 +351,7 @@ Class | Method | HTTP request | Description
|
|
|
351
351
|
*PluralsDeclensionsApi* | [**adminStoresXStoreIDPluralsDeclensionsUploadJsonPost**](docs/PluralsDeclensionsApi.md#adminstoresxstoreidpluralsdeclensionsuploadjsonpost) | **POST** /admin/Stores/{xStoreID}/plurals-declensions/upload-json | Upload plural/declension groups from JSON file
|
|
352
352
|
*QuerySuggestionsApi* | [**v1SuggestionsConfigGet**](docs/QuerySuggestionsApi.md#v1suggestionsconfigget) | **GET** /v1/suggestions/config | Get Query Suggestions Configuration
|
|
353
353
|
*QuerySuggestionsApi* | [**v1SuggestionsQueriesGet**](docs/QuerySuggestionsApi.md#v1suggestionsqueriesget) | **GET** /v1/suggestions/queries | Get Query Suggestions
|
|
354
|
+
*QuerySuggestionsApi* | [**v1SuggestionsQueriesPost**](docs/QuerySuggestionsApi.md#v1suggestionsqueriespost) | **POST** /v1/suggestions/queries | Post Query Suggestions
|
|
354
355
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsMigrateAllPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsmigrateallpost) | **POST** /admin/v1/query-suggestions/migrate-all | Migrate All Stores Data
|
|
355
356
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDApplyFiltersPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidapplyfilterspost) | **POST** /admin/v1/query-suggestions/{xStoreID}/apply-filters | Apply Suggestion Filters
|
|
356
357
|
*QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDBannedExpressionsExpressionIDDelete**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidbannedexpressionsexpressioniddelete) | **DELETE** /admin/v1/query-suggestions/{xStoreID}/banned-expressions/{expressionID} | Delete Banned Expression
|
|
@@ -496,6 +497,7 @@ Class | Method | HTTP request | Description
|
|
|
496
497
|
*TeamApi* | [**v1InvitationsInvitationIdPermissionsRolePut**](docs/TeamApi.md#v1invitationsinvitationidpermissionsroleput) | **PUT** /v1/invitations/{invitationId}/permissions/role | Update invitation role permissions
|
|
497
498
|
*TeamApi* | [**v1InvitationsInvitationIdResendPost**](docs/TeamApi.md#v1invitationsinvitationidresendpost) | **POST** /v1/invitations/{invitationId}/resend | Resend invitation email
|
|
498
499
|
*TeamApi* | [**v1InvitationsTokenAcceptPost**](docs/TeamApi.md#v1invitationstokenacceptpost) | **POST** /v1/invitations/{token}/accept | Accept invitation
|
|
500
|
+
*TeamApi* | [**v1InvitationsTokenAcceptWithOauthPost**](docs/TeamApi.md#v1invitationstokenacceptwithoauthpost) | **POST** /v1/invitations/{token}/accept-with-oauth | Accept invitation with OAuth (onboarding)
|
|
499
501
|
*TeamApi* | [**v1InvitationsTokenAcceptWithPasswordPost**](docs/TeamApi.md#v1invitationstokenacceptwithpasswordpost) | **POST** /v1/invitations/{token}/accept-with-password | Accept invitation and set password (onboarding)
|
|
500
502
|
*TeamApi* | [**v1InvitationsTokenGet**](docs/TeamApi.md#v1invitationstokenget) | **GET** /v1/invitations/{token} | Get invitation details by token
|
|
501
503
|
*TeamApi* | [**v1InvitationsTokenResendPost**](docs/TeamApi.md#v1invitationstokenresendpost) | **POST** /v1/invitations/{token}/resend | Resend invitation email by token (public)
|
|
@@ -655,6 +657,7 @@ Class | Method | HTTP request | Description
|
|
|
655
657
|
- [DataTypesAPICallRequestDto](docs/DataTypesAPICallRequestDto.md)
|
|
656
658
|
- [DataTypesAPICallResponse](docs/DataTypesAPICallResponse.md)
|
|
657
659
|
- [DataTypesAPICallsListResponse](docs/DataTypesAPICallsListResponse.md)
|
|
660
|
+
- [DataTypesAcceptInvitationWithOAuthRequest](docs/DataTypesAcceptInvitationWithOAuthRequest.md)
|
|
658
661
|
- [DataTypesAcceptInvitationWithPasswordRequest](docs/DataTypesAcceptInvitationWithPasswordRequest.md)
|
|
659
662
|
- [DataTypesAddWordsToCustomListRequest](docs/DataTypesAddWordsToCustomListRequest.md)
|
|
660
663
|
- [DataTypesAddWordsToLanguageListRequest](docs/DataTypesAddWordsToLanguageListRequest.md)
|
|
@@ -1093,6 +1096,7 @@ Class | Method | HTTP request | Description
|
|
|
1093
1096
|
- [QuerySuggestionsServiceQuerySuggestionStatus](docs/QuerySuggestionsServiceQuerySuggestionStatus.md)
|
|
1094
1097
|
- [QuerySuggestionsServiceQuerySuggestionsAPIResponse](docs/QuerySuggestionsServiceQuerySuggestionsAPIResponse.md)
|
|
1095
1098
|
- [QuerySuggestionsServiceQuerySuggestionsConfig](docs/QuerySuggestionsServiceQuerySuggestionsConfig.md)
|
|
1099
|
+
- [QuerySuggestionsServiceQuerySuggestionsRequest](docs/QuerySuggestionsServiceQuerySuggestionsRequest.md)
|
|
1096
1100
|
- [QuerySuggestionsServiceQuerySuggestionsResponse](docs/QuerySuggestionsServiceQuerySuggestionsResponse.md)
|
|
1097
1101
|
- [QuerySuggestionsServiceRuleAction](docs/QuerySuggestionsServiceRuleAction.md)
|
|
1098
1102
|
- [QuerySuggestionsServiceRuleCondition](docs/QuerySuggestionsServiceRuleCondition.md)
|
package/api.ts
CHANGED
|
@@ -6729,6 +6729,51 @@ export interface DataTypesAPICallsListResponse {
|
|
|
6729
6729
|
*/
|
|
6730
6730
|
'status'?: number;
|
|
6731
6731
|
}
|
|
6732
|
+
/**
|
|
6733
|
+
*
|
|
6734
|
+
* @export
|
|
6735
|
+
* @interface DataTypesAcceptInvitationWithOAuthRequest
|
|
6736
|
+
*/
|
|
6737
|
+
export interface DataTypesAcceptInvitationWithOAuthRequest {
|
|
6738
|
+
/**
|
|
6739
|
+
* Optional: override from OAuth profile
|
|
6740
|
+
* @type {string}
|
|
6741
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6742
|
+
*/
|
|
6743
|
+
'first_name'?: string;
|
|
6744
|
+
/**
|
|
6745
|
+
* Optional: override from OAuth profile
|
|
6746
|
+
* @type {string}
|
|
6747
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6748
|
+
*/
|
|
6749
|
+
'last_name'?: string;
|
|
6750
|
+
/**
|
|
6751
|
+
* OAuth access token (GitHub) or ID token (Google)
|
|
6752
|
+
* @type {string}
|
|
6753
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6754
|
+
*/
|
|
6755
|
+
'oauth_token': string;
|
|
6756
|
+
/**
|
|
6757
|
+
* Invitation token
|
|
6758
|
+
* @type {string}
|
|
6759
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6760
|
+
*/
|
|
6761
|
+
'token': string;
|
|
6762
|
+
/**
|
|
6763
|
+
* OAuth provider type: \"google\" or \"github\"
|
|
6764
|
+
* @type {string}
|
|
6765
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6766
|
+
*/
|
|
6767
|
+
'type': DataTypesAcceptInvitationWithOAuthRequestTypeEnum;
|
|
6768
|
+
}
|
|
6769
|
+
|
|
6770
|
+
export const DataTypesAcceptInvitationWithOAuthRequestTypeEnum = {
|
|
6771
|
+
Google: 'google',
|
|
6772
|
+
Github: 'github'
|
|
6773
|
+
} as const;
|
|
6774
|
+
|
|
6775
|
+
export type DataTypesAcceptInvitationWithOAuthRequestTypeEnum = typeof DataTypesAcceptInvitationWithOAuthRequestTypeEnum[keyof typeof DataTypesAcceptInvitationWithOAuthRequestTypeEnum];
|
|
6776
|
+
|
|
6732
6777
|
/**
|
|
6733
6778
|
*
|
|
6734
6779
|
* @export
|
|
@@ -10449,12 +10494,24 @@ export interface DataTypesDropdownRecommendationsConfig {
|
|
|
10449
10494
|
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10450
10495
|
*/
|
|
10451
10496
|
'dynamic_tabs_priority'?: number;
|
|
10497
|
+
/**
|
|
10498
|
+
* Max suggestions for empty queries (default: uses hitsPerPage)
|
|
10499
|
+
* @type {number}
|
|
10500
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10501
|
+
*/
|
|
10502
|
+
'empty_query_recommendations_limit'?: number;
|
|
10452
10503
|
/**
|
|
10453
10504
|
* Dynamic tabs configuration (auto-generated tabs based on query and facets)
|
|
10454
10505
|
* @type {boolean}
|
|
10455
10506
|
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10456
10507
|
*/
|
|
10457
10508
|
'enable_dynamic_tabs'?: boolean;
|
|
10509
|
+
/**
|
|
10510
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered
|
|
10511
|
+
* @type {boolean}
|
|
10512
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10513
|
+
*/
|
|
10514
|
+
'enable_empty_query_recommendations'?: boolean;
|
|
10458
10515
|
/**
|
|
10459
10516
|
* Filtered tabs configuration (for tabbed product recommendations)
|
|
10460
10517
|
* @type {boolean}
|
|
@@ -15703,6 +15760,12 @@ export interface DataTypesNotificationListData {
|
|
|
15703
15760
|
* @memberof DataTypesNotificationListData
|
|
15704
15761
|
*/
|
|
15705
15762
|
'pagination'?: DataTypesNotificationPaginationInfo;
|
|
15763
|
+
/**
|
|
15764
|
+
*
|
|
15765
|
+
* @type {number}
|
|
15766
|
+
* @memberof DataTypesNotificationListData
|
|
15767
|
+
*/
|
|
15768
|
+
'unread_count'?: number;
|
|
15706
15769
|
}
|
|
15707
15770
|
/**
|
|
15708
15771
|
*
|
|
@@ -26682,6 +26745,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
|
|
|
26682
26745
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26683
26746
|
*/
|
|
26684
26747
|
'category_counts'?: boolean;
|
|
26748
|
+
/**
|
|
26749
|
+
* Max suggestions for empty queries (default: uses HitsPerPage)
|
|
26750
|
+
* @type {number}
|
|
26751
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26752
|
+
*/
|
|
26753
|
+
'empty_query_recommendations_limit'?: number;
|
|
26685
26754
|
/**
|
|
26686
26755
|
* Whether auto query suggestions management feature is enabled (controls UI visibility)
|
|
26687
26756
|
* @type {boolean}
|
|
@@ -26694,6 +26763,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
|
|
|
26694
26763
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26695
26764
|
*/
|
|
26696
26765
|
'enable_category_suggestions'?: boolean;
|
|
26766
|
+
/**
|
|
26767
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered
|
|
26768
|
+
* @type {boolean}
|
|
26769
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26770
|
+
*/
|
|
26771
|
+
'enable_empty_query_recommendations'?: boolean;
|
|
26697
26772
|
/**
|
|
26698
26773
|
* Whether to include facet-based suggestions
|
|
26699
26774
|
* @type {boolean}
|
|
@@ -27272,6 +27347,121 @@ export interface QuerySuggestionsServiceQuerySuggestionsConfig {
|
|
|
27272
27347
|
*/
|
|
27273
27348
|
'supported_time_ranges'?: Array<string>;
|
|
27274
27349
|
}
|
|
27350
|
+
/**
|
|
27351
|
+
*
|
|
27352
|
+
* @export
|
|
27353
|
+
* @interface QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27354
|
+
*/
|
|
27355
|
+
export interface QuerySuggestionsServiceQuerySuggestionsRequest {
|
|
27356
|
+
/**
|
|
27357
|
+
* Filter suggestions by analytics tags
|
|
27358
|
+
* @type {Array<string>}
|
|
27359
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27360
|
+
*/
|
|
27361
|
+
'analytics_tags'?: Array<string>;
|
|
27362
|
+
/**
|
|
27363
|
+
* Anonymous/cookie ID for personalization
|
|
27364
|
+
* @type {string}
|
|
27365
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27366
|
+
*/
|
|
27367
|
+
'anon_id'?: string;
|
|
27368
|
+
/**
|
|
27369
|
+
* Disable fuzzy matching
|
|
27370
|
+
* @type {boolean}
|
|
27371
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27372
|
+
*/
|
|
27373
|
+
'disable_typo_tolerance'?: boolean;
|
|
27374
|
+
/**
|
|
27375
|
+
* Filtered tabs (optional, overrides config if provided)
|
|
27376
|
+
* @type {Array<DataTypesFilteredTabConfig>}
|
|
27377
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27378
|
+
*/
|
|
27379
|
+
'filtered_tabs'?: Array<DataTypesFilteredTabConfig>;
|
|
27380
|
+
/**
|
|
27381
|
+
* Number of suggestions to return (default: 5)
|
|
27382
|
+
* @type {number}
|
|
27383
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27384
|
+
*/
|
|
27385
|
+
'hitsPerPage'?: number;
|
|
27386
|
+
/**
|
|
27387
|
+
* Include category information
|
|
27388
|
+
* @type {boolean}
|
|
27389
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27390
|
+
*/
|
|
27391
|
+
'include_categories'?: boolean;
|
|
27392
|
+
/**
|
|
27393
|
+
* Rich dropdown recommendations (optional, data-agnostic)
|
|
27394
|
+
* @type {boolean}
|
|
27395
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27396
|
+
*/
|
|
27397
|
+
'include_dropdown_recommendations'?: boolean;
|
|
27398
|
+
/**
|
|
27399
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered When true and query is empty, returns popular/trending suggestions instead of an empty array
|
|
27400
|
+
* @type {boolean}
|
|
27401
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27402
|
+
*/
|
|
27403
|
+
'include_empty_query_recommendations'?: boolean;
|
|
27404
|
+
/**
|
|
27405
|
+
* Include facet information
|
|
27406
|
+
* @type {boolean}
|
|
27407
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27408
|
+
*/
|
|
27409
|
+
'include_facets'?: boolean;
|
|
27410
|
+
/**
|
|
27411
|
+
* Max categories per suggestion (default: 3)
|
|
27412
|
+
* @type {number}
|
|
27413
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27414
|
+
*/
|
|
27415
|
+
'max_categories'?: number;
|
|
27416
|
+
/**
|
|
27417
|
+
* Max facets per suggestion (default: 5)
|
|
27418
|
+
* @type {number}
|
|
27419
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27420
|
+
*/
|
|
27421
|
+
'max_facets'?: number;
|
|
27422
|
+
/**
|
|
27423
|
+
* Minimum popularity threshold
|
|
27424
|
+
* @type {number}
|
|
27425
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27426
|
+
*/
|
|
27427
|
+
'min_popularity'?: number;
|
|
27428
|
+
/**
|
|
27429
|
+
* Page number for pagination (default: 0)
|
|
27430
|
+
* @type {number}
|
|
27431
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27432
|
+
*/
|
|
27433
|
+
'page'?: number;
|
|
27434
|
+
/**
|
|
27435
|
+
* Partial query to get suggestions for
|
|
27436
|
+
* @type {string}
|
|
27437
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27438
|
+
*/
|
|
27439
|
+
'query'?: string;
|
|
27440
|
+
/**
|
|
27441
|
+
* Session ID for session-based personalization
|
|
27442
|
+
* @type {string}
|
|
27443
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27444
|
+
*/
|
|
27445
|
+
'session_id'?: string;
|
|
27446
|
+
/**
|
|
27447
|
+
* \"any\" or \"all\" for analytics tags
|
|
27448
|
+
* @type {string}
|
|
27449
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27450
|
+
*/
|
|
27451
|
+
'tags_match_mode'?: string;
|
|
27452
|
+
/**
|
|
27453
|
+
* \"7d\", \"30d\", \"90d\" (default: \"30d\")
|
|
27454
|
+
* @type {string}
|
|
27455
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27456
|
+
*/
|
|
27457
|
+
'time_range'?: string;
|
|
27458
|
+
/**
|
|
27459
|
+
* Personalization fields (optional, backward compatible)
|
|
27460
|
+
* @type {string}
|
|
27461
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27462
|
+
*/
|
|
27463
|
+
'user_id'?: string;
|
|
27464
|
+
}
|
|
27275
27465
|
/**
|
|
27276
27466
|
*
|
|
27277
27467
|
* @export
|
|
@@ -52203,10 +52393,11 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
52203
52393
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52204
52394
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52205
52395
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52396
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created at or after this time (e.g. 2025-01-30T10:00:00Z)
|
|
52206
52397
|
* @param {*} [options] Override http request option.
|
|
52207
52398
|
* @throws {RequiredError}
|
|
52208
52399
|
*/
|
|
52209
|
-
v1NotificationsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52400
|
+
v1NotificationsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52210
52401
|
const localVarPath = `/v1/notifications`;
|
|
52211
52402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52212
52403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -52262,6 +52453,10 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
52262
52453
|
localVarQueryParameter['sort_order'] = sortOrder;
|
|
52263
52454
|
}
|
|
52264
52455
|
|
|
52456
|
+
if (since !== undefined) {
|
|
52457
|
+
localVarQueryParameter['since'] = since;
|
|
52458
|
+
}
|
|
52459
|
+
|
|
52265
52460
|
|
|
52266
52461
|
|
|
52267
52462
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -52527,11 +52722,12 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
52527
52722
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52528
52723
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52529
52724
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52725
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created at or after this time (e.g. 2025-01-30T10:00:00Z)
|
|
52530
52726
|
* @param {*} [options] Override http request option.
|
|
52531
52727
|
* @throws {RequiredError}
|
|
52532
52728
|
*/
|
|
52533
|
-
async v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationListResponse>> {
|
|
52534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options);
|
|
52729
|
+
async v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationListResponse>> {
|
|
52730
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options);
|
|
52535
52731
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
52536
52732
|
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.v1NotificationsGet']?.[localVarOperationServerIndex]?.url;
|
|
52537
52733
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -52646,11 +52842,12 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
52646
52842
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52647
52843
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52648
52844
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52845
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created at or after this time (e.g. 2025-01-30T10:00:00Z)
|
|
52649
52846
|
* @param {*} [options] Override http request option.
|
|
52650
52847
|
* @throws {RequiredError}
|
|
52651
52848
|
*/
|
|
52652
|
-
v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationListResponse> {
|
|
52653
|
-
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
52849
|
+
v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationListResponse> {
|
|
52850
|
+
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(axios, basePath));
|
|
52654
52851
|
},
|
|
52655
52852
|
/**
|
|
52656
52853
|
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
@@ -52746,12 +52943,13 @@ export class NotificationsApi extends BaseAPI {
|
|
|
52746
52943
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52747
52944
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52748
52945
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52946
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created at or after this time (e.g. 2025-01-30T10:00:00Z)
|
|
52749
52947
|
* @param {*} [options] Override http request option.
|
|
52750
52948
|
* @throws {RequiredError}
|
|
52751
52949
|
* @memberof NotificationsApi
|
|
52752
52950
|
*/
|
|
52753
|
-
public v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig) {
|
|
52754
|
-
return NotificationsApiFp(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
52951
|
+
public v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig) {
|
|
52952
|
+
return NotificationsApiFp(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(this.axios, this.basePath));
|
|
52755
52953
|
}
|
|
52756
52954
|
|
|
52757
52955
|
/**
|
|
@@ -57769,6 +57967,64 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
57769
57967
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57770
57968
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57771
57969
|
|
|
57970
|
+
return {
|
|
57971
|
+
url: toPathString(localVarUrlObj),
|
|
57972
|
+
options: localVarRequestOptions,
|
|
57973
|
+
};
|
|
57974
|
+
},
|
|
57975
|
+
/**
|
|
57976
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
57977
|
+
* @summary Post Query Suggestions
|
|
57978
|
+
* @param {string} xStoreid Store ID
|
|
57979
|
+
* @param {string} xStoresecret Store Secret
|
|
57980
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
57981
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
57982
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
57983
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
57984
|
+
* @param {*} [options] Override http request option.
|
|
57985
|
+
* @throws {RequiredError}
|
|
57986
|
+
*/
|
|
57987
|
+
v1SuggestionsQueriesPost: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57988
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
57989
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoreid', xStoreid)
|
|
57990
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
57991
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoresecret', xStoresecret)
|
|
57992
|
+
const localVarPath = `/v1/suggestions/queries`;
|
|
57993
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57994
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57995
|
+
let baseOptions;
|
|
57996
|
+
if (configuration) {
|
|
57997
|
+
baseOptions = configuration.baseOptions;
|
|
57998
|
+
}
|
|
57999
|
+
|
|
58000
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
58001
|
+
const localVarHeaderParameter = {} as any;
|
|
58002
|
+
const localVarQueryParameter = {} as any;
|
|
58003
|
+
|
|
58004
|
+
|
|
58005
|
+
|
|
58006
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
58007
|
+
|
|
58008
|
+
if (xStoreid != null) {
|
|
58009
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
58010
|
+
}
|
|
58011
|
+
if (xStoresecret != null) {
|
|
58012
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
58013
|
+
}
|
|
58014
|
+
if (xUserId != null) {
|
|
58015
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
58016
|
+
}
|
|
58017
|
+
if (xAnonId != null) {
|
|
58018
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
58019
|
+
}
|
|
58020
|
+
if (xSessionId != null) {
|
|
58021
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
58022
|
+
}
|
|
58023
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58024
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58025
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58026
|
+
localVarRequestOptions.data = serializeDataIfNeeded(querySuggestionsServiceQuerySuggestionsRequest, localVarRequestOptions, configuration)
|
|
58027
|
+
|
|
57772
58028
|
return {
|
|
57773
58029
|
url: toPathString(localVarUrlObj),
|
|
57774
58030
|
options: localVarRequestOptions,
|
|
@@ -57827,6 +58083,24 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
57827
58083
|
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
|
|
57828
58084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57829
58085
|
},
|
|
58086
|
+
/**
|
|
58087
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58088
|
+
* @summary Post Query Suggestions
|
|
58089
|
+
* @param {string} xStoreid Store ID
|
|
58090
|
+
* @param {string} xStoresecret Store Secret
|
|
58091
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58092
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58093
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58094
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58095
|
+
* @param {*} [options] Override http request option.
|
|
58096
|
+
* @throws {RequiredError}
|
|
58097
|
+
*/
|
|
58098
|
+
async v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>> {
|
|
58099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options);
|
|
58100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58101
|
+
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesPost']?.[localVarOperationServerIndex]?.url;
|
|
58102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58103
|
+
},
|
|
57830
58104
|
}
|
|
57831
58105
|
};
|
|
57832
58106
|
|
|
@@ -57874,6 +58148,21 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
57874
58148
|
v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
57875
58149
|
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
57876
58150
|
},
|
|
58151
|
+
/**
|
|
58152
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58153
|
+
* @summary Post Query Suggestions
|
|
58154
|
+
* @param {string} xStoreid Store ID
|
|
58155
|
+
* @param {string} xStoresecret Store Secret
|
|
58156
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58157
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58158
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58159
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58160
|
+
* @param {*} [options] Override http request option.
|
|
58161
|
+
* @throws {RequiredError}
|
|
58162
|
+
*/
|
|
58163
|
+
v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
58164
|
+
return localVarFp.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
58165
|
+
},
|
|
57877
58166
|
};
|
|
57878
58167
|
};
|
|
57879
58168
|
|
|
@@ -57924,6 +58213,23 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
57924
58213
|
public v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig) {
|
|
57925
58214
|
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(this.axios, this.basePath));
|
|
57926
58215
|
}
|
|
58216
|
+
|
|
58217
|
+
/**
|
|
58218
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58219
|
+
* @summary Post Query Suggestions
|
|
58220
|
+
* @param {string} xStoreid Store ID
|
|
58221
|
+
* @param {string} xStoresecret Store Secret
|
|
58222
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58223
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58224
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58225
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58226
|
+
* @param {*} [options] Override http request option.
|
|
58227
|
+
* @throws {RequiredError}
|
|
58228
|
+
* @memberof QuerySuggestionsApi
|
|
58229
|
+
*/
|
|
58230
|
+
public v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig) {
|
|
58231
|
+
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
58232
|
+
}
|
|
57927
58233
|
}
|
|
57928
58234
|
|
|
57929
58235
|
/**
|
|
@@ -70001,6 +70307,46 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
70001
70307
|
options: localVarRequestOptions,
|
|
70002
70308
|
};
|
|
70003
70309
|
},
|
|
70310
|
+
/**
|
|
70311
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
70312
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
70313
|
+
* @param {string} token Invitation Token
|
|
70314
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
70315
|
+
* @param {*} [options] Override http request option.
|
|
70316
|
+
* @throws {RequiredError}
|
|
70317
|
+
*/
|
|
70318
|
+
v1InvitationsTokenAcceptWithOauthPost: async (token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70319
|
+
// verify required parameter 'token' is not null or undefined
|
|
70320
|
+
assertParamExists('v1InvitationsTokenAcceptWithOauthPost', 'token', token)
|
|
70321
|
+
// verify required parameter 'dataTypesAcceptInvitationWithOAuthRequest' is not null or undefined
|
|
70322
|
+
assertParamExists('v1InvitationsTokenAcceptWithOauthPost', 'dataTypesAcceptInvitationWithOAuthRequest', dataTypesAcceptInvitationWithOAuthRequest)
|
|
70323
|
+
const localVarPath = `/v1/invitations/{token}/accept-with-oauth`
|
|
70324
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
70325
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70327
|
+
let baseOptions;
|
|
70328
|
+
if (configuration) {
|
|
70329
|
+
baseOptions = configuration.baseOptions;
|
|
70330
|
+
}
|
|
70331
|
+
|
|
70332
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
70333
|
+
const localVarHeaderParameter = {} as any;
|
|
70334
|
+
const localVarQueryParameter = {} as any;
|
|
70335
|
+
|
|
70336
|
+
|
|
70337
|
+
|
|
70338
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70339
|
+
|
|
70340
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70341
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70342
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70343
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAcceptInvitationWithOAuthRequest, localVarRequestOptions, configuration)
|
|
70344
|
+
|
|
70345
|
+
return {
|
|
70346
|
+
url: toPathString(localVarUrlObj),
|
|
70347
|
+
options: localVarRequestOptions,
|
|
70348
|
+
};
|
|
70349
|
+
},
|
|
70004
70350
|
/**
|
|
70005
70351
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70006
70352
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -70589,6 +70935,20 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
70589
70935
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenAcceptPost']?.[localVarOperationServerIndex]?.url;
|
|
70590
70936
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70591
70937
|
},
|
|
70938
|
+
/**
|
|
70939
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
70940
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
70941
|
+
* @param {string} token Invitation Token
|
|
70942
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
70943
|
+
* @param {*} [options] Override http request option.
|
|
70944
|
+
* @throws {RequiredError}
|
|
70945
|
+
*/
|
|
70946
|
+
async v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesLoginResponseWrapper>> {
|
|
70947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options);
|
|
70948
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70949
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenAcceptWithOauthPost']?.[localVarOperationServerIndex]?.url;
|
|
70950
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70951
|
+
},
|
|
70592
70952
|
/**
|
|
70593
70953
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70594
70954
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -70834,6 +71194,17 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
70834
71194
|
v1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
70835
71195
|
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
70836
71196
|
},
|
|
71197
|
+
/**
|
|
71198
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
71199
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
71200
|
+
* @param {string} token Invitation Token
|
|
71201
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
71202
|
+
* @param {*} [options] Override http request option.
|
|
71203
|
+
* @throws {RequiredError}
|
|
71204
|
+
*/
|
|
71205
|
+
v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesLoginResponseWrapper> {
|
|
71206
|
+
return localVarFp.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(axios, basePath));
|
|
71207
|
+
},
|
|
70837
71208
|
/**
|
|
70838
71209
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70839
71210
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -71052,6 +71423,19 @@ export class TeamApi extends BaseAPI {
|
|
|
71052
71423
|
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
71053
71424
|
}
|
|
71054
71425
|
|
|
71426
|
+
/**
|
|
71427
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
71428
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
71429
|
+
* @param {string} token Invitation Token
|
|
71430
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
71431
|
+
* @param {*} [options] Override http request option.
|
|
71432
|
+
* @throws {RequiredError}
|
|
71433
|
+
* @memberof TeamApi
|
|
71434
|
+
*/
|
|
71435
|
+
public v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig) {
|
|
71436
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(this.axios, this.basePath));
|
|
71437
|
+
}
|
|
71438
|
+
|
|
71055
71439
|
/**
|
|
71056
71440
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
71057
71441
|
* @summary Accept invitation and set password (onboarding)
|