Skip to content

Commit 27d3694

Browse files
committed
chore(generation): 0.1.45
1 parent e7ca593 commit 27d3694

74 files changed

Lines changed: 101 additions & 81 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Snapi Types v0.1.44
1+
# Snapi Types v0.1.45
22

33
:warning: **WARNING!!!** :warning:
44
### This repo is auto generated - do not commit directly. Instead make changes to the generator repo.

models/AutocompleteRequestModel.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {

models/AutocompleteRequestModelAllOf.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {

models/AutocompleteRequestModelSearch.d.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {
@@ -58,11 +58,11 @@ export interface AutocompleteRequestModelSearch {
5858
*/
5959
input?: string;
6060
/**
61-
* source of the autocomplete request ("historical", "popular", "suggested" or "typed")
61+
* source of the autocomplete request
6262
* @type {string}
6363
* @memberof AutocompleteRequestModelSearch
6464
*/
65-
source?: string;
65+
source?: AutocompleteRequestModelSearchSourceEnum;
6666
}
6767

6868
/**
@@ -73,4 +73,13 @@ export enum AutocompleteRequestModelSearchRedirectResponseEnum {
7373
Full = 'full',
7474
Minimal = 'minimal',
7575
Direct = 'direct'
76+
}/**
77+
* @export
78+
* @enum {string}
79+
*/
80+
export enum AutocompleteRequestModelSearchSourceEnum {
81+
Historical = 'historical',
82+
Trending = 'trending',
83+
Suggested = 'suggested',
84+
Typed = 'typed'
7685
}

models/AutocompleteRequestModelSearchAllOf.d.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111

@@ -22,9 +22,20 @@ export interface AutocompleteRequestModelSearchAllOf {
2222
*/
2323
input?: string;
2424
/**
25-
* source of the autocomplete request ("historical", "popular", "suggested" or "typed")
25+
* source of the autocomplete request
2626
* @type {string}
2727
* @memberof AutocompleteRequestModelSearchAllOf
2828
*/
29-
source?: string;
29+
source?: AutocompleteRequestModelSearchAllOfSourceEnum;
30+
}
31+
32+
/**
33+
* @export
34+
* @enum {string}
35+
*/
36+
export enum AutocompleteRequestModelSearchAllOfSourceEnum {
37+
Historical = 'historical',
38+
Trending = 'trending',
39+
Suggested = 'suggested',
40+
Typed = 'typed'
3041
}

models/AutocompleteRequestModelSuggestions.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111

models/AutocompleteResponseModel.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {
@@ -82,5 +82,5 @@ export interface AutocompleteResponseModel {
8282
* @type {SearchResponseModelTracking}
8383
* @memberof AutocompleteResponseModel
8484
*/
85-
tracking?: SearchResponseModelTracking;
85+
tracking: SearchResponseModelTracking;
8686
}

models/AutocompleteResponseModelAllOf.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {

models/AutocompleteResponseModelAllOfAutocomplete.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111
import {

models/AutocompleteResponseModelAllOfAutocompleteAlternatives.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* snAPI
66
* Searchspring Snap Search API
77
*
8-
* Built from snAPI spec v0.1.44
8+
* Built from snAPI spec v0.1.45
99
*
1010
*/
1111

0 commit comments

Comments
 (0)