Skip to content

Commit 18ac283

Browse files
Update model names
Generates the libraries after adding model names to our OpenAPI spec here: mxenabled/openapi#43
1 parent 7297f74 commit 18ac283

4 files changed

Lines changed: 58 additions & 58 deletions

File tree

api.ts

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -681,10 +681,10 @@ export interface ChallengeResponse {
681681
image_data?: string;
682682
/**
683683
*
684-
* @type {Array<ChallengeResponseImageOptions>}
684+
* @type {Array<ImageOptionResponse>}
685685
* @memberof ChallengeResponse
686686
*/
687-
image_options?: Array<ChallengeResponseImageOptions>;
687+
image_options?: Array<ImageOptionResponse>;
688688
/**
689689
*
690690
* @type {string}
@@ -693,61 +693,17 @@ export interface ChallengeResponse {
693693
label?: string;
694694
/**
695695
*
696-
* @type {Array<ChallengeResponseOptions>}
696+
* @type {Array<OptionResponse>}
697697
* @memberof ChallengeResponse
698698
*/
699-
options?: Array<ChallengeResponseOptions>;
699+
options?: Array<OptionResponse>;
700700
/**
701701
*
702702
* @type {string}
703703
* @memberof ChallengeResponse
704704
*/
705705
type?: string;
706706
}
707-
/**
708-
*
709-
* @export
710-
* @interface ChallengeResponseImageOptions
711-
*/
712-
export interface ChallengeResponseImageOptions {
713-
/**
714-
*
715-
* @type {string}
716-
* @memberof ChallengeResponseImageOptions
717-
*/
718-
data_uri?: string;
719-
/**
720-
*
721-
* @type {string}
722-
* @memberof ChallengeResponseImageOptions
723-
*/
724-
label?: string;
725-
/**
726-
*
727-
* @type {string}
728-
* @memberof ChallengeResponseImageOptions
729-
*/
730-
value?: string;
731-
}
732-
/**
733-
*
734-
* @export
735-
* @interface ChallengeResponseOptions
736-
*/
737-
export interface ChallengeResponseOptions {
738-
/**
739-
*
740-
* @type {string}
741-
* @memberof ChallengeResponseOptions
742-
*/
743-
label?: string;
744-
/**
745-
*
746-
* @type {string}
747-
* @memberof ChallengeResponseOptions
748-
*/
749-
value?: string;
750-
}
751707
/**
752708
*
753709
* @export
@@ -1273,6 +1229,31 @@ export interface HoldingsResponseBody {
12731229
*/
12741230
pagination?: PaginationResponse;
12751231
}
1232+
/**
1233+
*
1234+
* @export
1235+
* @interface ImageOptionResponse
1236+
*/
1237+
export interface ImageOptionResponse {
1238+
/**
1239+
*
1240+
* @type {string}
1241+
* @memberof ImageOptionResponse
1242+
*/
1243+
data_uri?: string;
1244+
/**
1245+
*
1246+
* @type {string}
1247+
* @memberof ImageOptionResponse
1248+
*/
1249+
label?: string;
1250+
/**
1251+
*
1252+
* @type {string}
1253+
* @memberof ImageOptionResponse
1254+
*/
1255+
value?: string;
1256+
}
12761257
/**
12771258
*
12781259
* @export
@@ -1814,6 +1795,25 @@ export interface OAuthWindowResponseBody {
18141795
*/
18151796
member?: OAuthWindowResponse;
18161797
}
1798+
/**
1799+
*
1800+
* @export
1801+
* @interface OptionResponse
1802+
*/
1803+
export interface OptionResponse {
1804+
/**
1805+
*
1806+
* @type {string}
1807+
* @memberof OptionResponse
1808+
*/
1809+
label?: string;
1810+
/**
1811+
*
1812+
* @type {string}
1813+
* @memberof OptionResponse
1814+
*/
1815+
value?: string;
1816+
}
18171817
/**
18181818
*
18191819
* @export

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
npmName: "mx-platform-node"
2-
npmVersion: 0.1.0
2+
npmVersion: 0.2.0
33
supportsES6: true

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mx-platform-node",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "A Node library for the MX Platform API.",
55
"author": "MX",
66
"keywords": [

0 commit comments

Comments
 (0)