Socket
Socket
Sign inDemoInstall

@3wks/sargon-api-node-client

Package Overview
Dependencies
Maintainers
12
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3wks/sargon-api-node-client - npm Package Compare versions

Comparing version 0.0.20 to 0.1.0

258

api.ts

@@ -831,2 +831,40 @@ /// <reference path="./custom.d.ts" />

interface createMemberParams{
/**
*
*/
memberCreate: MemberCreate;
}
interface getMembersParams{
/**
* Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
*/
q?: string;
/**
* Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
*/
date?: string;
/**
* Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
*/
memberNumber?: string;
/**
* Pagination Page Number
*/
p?: number;
/**
* Pagination Page Size (number of entries per page)
*/
i?: number;
/**
* Pagination Starting Offset
*/
o?: number;
}
/**

@@ -841,9 +879,9 @@ * MembersApi - fetch parameter creator

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async createMember(memberCreate: MemberCreate, options: any = {}): Promise<FetchArgs> {
async createMember(params: createMemberParams, options: any = {}): Promise<FetchArgs> {
// verify required parameter 'memberCreate' is not null or undefined
if (memberCreate === null || memberCreate === undefined) {
if (params.memberCreate === null || params.memberCreate === undefined) {
throw new RequiredError('memberCreate','Required parameter memberCreate was null or undefined when calling createMember.');

@@ -872,3 +910,3 @@ }

const needsSerialization = (<any>"MemberCreate" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
localVarRequestOptions.body = needsSerialization ? JSON.stringify(memberCreate || {}) : (memberCreate || "");
localVarRequestOptions.body = needsSerialization ? JSON.stringify(params.memberCreate || {}) : (params.memberCreate || "");

@@ -883,12 +921,7 @@ return {

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options: any = {}): Promise<FetchArgs> {
async getMembers(params: getMembersParams, options: any = {}): Promise<FetchArgs> {
const localVarPath = `/members`;

@@ -909,24 +942,24 @@ const localVarUrlObj = url.parse(localVarPath, true);

if (q !== undefined) {
localVarQueryParameter['q'] = q;
if (params.q !== undefined) {
localVarQueryParameter['q'] = params.q;
}
if (date !== undefined) {
localVarQueryParameter['date'] = date;
if (params.date !== undefined) {
localVarQueryParameter['date'] = params.date;
}
if (memberNumber !== undefined) {
localVarQueryParameter['memberNumber'] = memberNumber;
if (params.memberNumber !== undefined) {
localVarQueryParameter['memberNumber'] = params.memberNumber;
}
if (p !== undefined) {
localVarQueryParameter['p'] = p;
if (params.p !== undefined) {
localVarQueryParameter['p'] = params.p;
}
if (i !== undefined) {
localVarQueryParameter['i'] = i;
if (params.i !== undefined) {
localVarQueryParameter['i'] = params.i;
}
if (o !== undefined) {
localVarQueryParameter['o'] = o;
if (params.o !== undefined) {
localVarQueryParameter['o'] = params.o;
}

@@ -956,9 +989,8 @@

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate: MemberCreate, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardCreate> {
createMember(params: createMemberParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardCreate> {
return async (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
const localVarFetchArgs = await MembersApiFetchParamCreator(configuration).createMember(memberCreate, options);
const localVarFetchArgs = await MembersApiFetchParamCreator(configuration).createMember(params, options);

@@ -977,14 +1009,8 @@ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<MemberSummary>> {
getMembers(params: getMembersParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Array<MemberSummary>> {
return async (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
const localVarFetchArgs = await MembersApiFetchParamCreator(configuration).getMembers(q, date, memberNumber, p, i, o, options);
const localVarFetchArgs = await MembersApiFetchParamCreator(configuration).getMembers(params, options);

@@ -1012,8 +1038,8 @@ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate: MemberCreate, options?: any) {
return MembersApiFp(configuration).createMember(memberCreate, options)(fetch, basePath);
createMember(params: createMemberParams, options?: any) {
return MembersApiFp(configuration).createMember(params, options)(fetch, basePath);
},

@@ -1023,13 +1049,8 @@ /**

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any) {
return MembersApiFp(configuration).getMembers(q, date, memberNumber, p, i, o, options)(fetch, basePath);
getMembers(params: getMembersParams, options?: any) {
return MembersApiFp(configuration).getMembers(params, options)(fetch, basePath);
},

@@ -1050,3 +1071,3 @@ };

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -1056,4 +1077,4 @@ * @throws {RequiredError}

*/
public async createMember(memberCreate: MemberCreate, options?: any) {
return MembersApiFp(this.configuration).createMember(memberCreate, options)(this.fetch, this.basePath);
public async createMember(params: createMemberParams, options?: any) {
return MembersApiFp(this.configuration).createMember(params, options)(this.fetch, this.basePath);
}

@@ -1064,8 +1085,3 @@

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -1075,4 +1091,4 @@ * @throws {RequiredError}

*/
public async getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any) {
return MembersApiFp(this.configuration).getMembers(q, date, memberNumber, p, i, o, options)(this.fetch, this.basePath);
public async getMembers(params: getMembersParams, options?: any) {
return MembersApiFp(this.configuration).getMembers(params, options)(this.fetch, this.basePath);
}

@@ -1082,2 +1098,24 @@

interface getBalanceParams{
/**
* Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
*/
date?: string;
/**
* Pagination Page Number
*/
p?: number;
/**
* Pagination Page Size (number of entries per page)
*/
i?: number;
/**
* Pagination Starting Offset
*/
o?: number;
}
/**

@@ -1092,10 +1130,7 @@ * ReportsApi - fetch parameter creator

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getBalance(date?: string, p?: number, i?: number, o?: number, options: any = {}): Promise<FetchArgs> {
async getBalance(params: getBalanceParams, options: any = {}): Promise<FetchArgs> {
const localVarPath = `/reports/balance`;

@@ -1116,16 +1151,16 @@ const localVarUrlObj = url.parse(localVarPath, true);

if (date !== undefined) {
localVarQueryParameter['date'] = date;
if (params.date !== undefined) {
localVarQueryParameter['date'] = params.date;
}
if (p !== undefined) {
localVarQueryParameter['p'] = p;
if (params.p !== undefined) {
localVarQueryParameter['p'] = params.p;
}
if (i !== undefined) {
localVarQueryParameter['i'] = i;
if (params.i !== undefined) {
localVarQueryParameter['i'] = params.i;
}
if (o !== undefined) {
localVarQueryParameter['o'] = o;
if (params.o !== undefined) {
localVarQueryParameter['o'] = params.o;
}

@@ -1155,12 +1190,8 @@

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InlineResponse200> {
getBalance(params: getBalanceParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InlineResponse200> {
return async (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
const localVarFetchArgs = await ReportsApiFetchParamCreator(configuration).getBalance(date, p, i, o, options);
const localVarFetchArgs = await ReportsApiFetchParamCreator(configuration).getBalance(params, options);

@@ -1188,11 +1219,8 @@ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any) {
return ReportsApiFp(configuration).getBalance(date, p, i, o, options)(fetch, basePath);
getBalance(params: getBalanceParams, options?: any) {
return ReportsApiFp(configuration).getBalance(params, options)(fetch, basePath);
},

@@ -1213,6 +1241,3 @@ };

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -1222,4 +1247,4 @@ * @throws {RequiredError}

*/
public async getBalance(date?: string, p?: number, i?: number, o?: number, options?: any) {
return ReportsApiFp(this.configuration).getBalance(date, p, i, o, options)(this.fetch, this.basePath);
public async getBalance(params: getBalanceParams, options?: any) {
return ReportsApiFp(this.configuration).getBalance(params, options)(this.fetch, this.basePath);
}

@@ -1229,2 +1254,20 @@

interface consentToRolloverParams{
/**
* Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
*/
member: string;
/**
* Unique UUID of the Super Search Result
*/
searchresult: string;
/**
*
*/
terms?: any;
}
/**

@@ -1239,20 +1282,18 @@ * SuperSearchRolloverApi - fetch parameter creator

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async consentToRollover(member: string, searchresult: string, terms?: any, options: any = {}): Promise<FetchArgs> {
async consentToRollover(params: consentToRolloverParams, options: any = {}): Promise<FetchArgs> {
// verify required parameter 'member' is not null or undefined
if (member === null || member === undefined) {
if (params.member === null || params.member === undefined) {
throw new RequiredError('member','Required parameter member was null or undefined when calling consentToRollover.');
}
// verify required parameter 'searchresult' is not null or undefined
if (searchresult === null || searchresult === undefined) {
if (params.searchresult === null || params.searchresult === undefined) {
throw new RequiredError('searchresult','Required parameter searchresult was null or undefined when calling consentToRollover.');
}
const localVarPath = `/member/{member}/supersearch/{searchresult}/consent`
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
.replace(`{${"searchresult"}}`, encodeURIComponent(String(searchresult)));
.replace(`{${"member"}}`, encodeURIComponent(String(params.member)))
.replace(`{${"searchresult"}}`, encodeURIComponent(String(params.searchresult)));
const localVarUrlObj = url.parse(localVarPath, true);

@@ -1273,4 +1314,4 @@ const localVarRequestOptions = Object.assign({ method: 'POST' }, options);

if (terms !== undefined) {
localVarFormParams.add('terms', terms);
if (params.terms !== undefined) {
localVarFormParams.add('terms', params.terms);
}

@@ -1301,11 +1342,8 @@ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardMeta> {
consentToRollover(params: consentToRolloverParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardMeta> {
return async (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
const localVarFetchArgs = await SuperSearchRolloverApiFetchParamCreator(configuration).consentToRollover(member, searchresult, terms, options);
const localVarFetchArgs = await SuperSearchRolloverApiFetchParamCreator(configuration).consentToRollover(params, options);

@@ -1333,10 +1371,8 @@ return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any) {
return SuperSearchRolloverApiFp(configuration).consentToRollover(member, searchresult, terms, options)(fetch, basePath);
consentToRollover(params: consentToRolloverParams, options?: any) {
return SuperSearchRolloverApiFp(configuration).consentToRollover(params, options)(fetch, basePath);
},

@@ -1357,5 +1393,3 @@ };

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -1365,4 +1399,4 @@ * @throws {RequiredError}

*/
public async consentToRollover(member: string, searchresult: string, terms?: any, options?: any) {
return SuperSearchRolloverApiFp(this.configuration).consentToRollover(member, searchresult, terms, options)(this.fetch, this.basePath);
public async consentToRollover(params: consentToRolloverParams, options?: any) {
return SuperSearchRolloverApiFp(this.configuration).consentToRollover(params, options)(this.fetch, this.basePath);
}

@@ -1369,0 +1403,0 @@

@@ -746,2 +746,34 @@ /**

}
interface createMemberParams {
/**
*
*/
memberCreate: MemberCreate;
}
interface getMembersParams {
/**
* Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
*/
q?: string;
/**
* Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
*/
date?: string;
/**
* Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
*/
memberNumber?: string;
/**
* Pagination Page Number
*/
p?: number;
/**
* Pagination Page Size (number of entries per page)
*/
i?: number;
/**
* Pagination Starting Offset
*/
o?: number;
}
/**

@@ -755,20 +787,15 @@ * MembersApi - fetch parameter creator

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate: MemberCreate, options?: any): Promise<FetchArgs>;
createMember(params: createMemberParams, options?: any): Promise<FetchArgs>;
/**
* Returns a paginated collection of accessible members. The API may be configured to limit the resulting Members Collection to ensure that only minimal relevant data is exposed and only when required. The Members Collection resource is subject to various limits and controls, these include: * Request Rate Limiting * Result Limiting * Minimum Query Length The date search feature searches on the member joinedDate attribute.
* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any): Promise<FetchArgs>;
getMembers(params: getMembersParams, options?: any): Promise<FetchArgs>;
};

@@ -783,20 +810,13 @@ /**

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate: MemberCreate, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardCreate>;
createMember(params: createMemberParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardCreate>;
/**
* Returns a paginated collection of accessible members. The API may be configured to limit the resulting Members Collection to ensure that only minimal relevant data is exposed and only when required. The Members Collection resource is subject to various limits and controls, these include: * Request Rate Limiting * Result Limiting * Minimum Query Length The date search feature searches on the member joinedDate attribute.
* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<MemberSummary[]>;
getMembers(params: getMembersParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<MemberSummary[]>;
};

@@ -811,20 +831,15 @@ /**

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate: MemberCreate, options?: any): Promise<StandardCreate>;
createMember(params: createMemberParams, options?: any): Promise<StandardCreate>;
/**
* Returns a paginated collection of accessible members. The API may be configured to limit the resulting Members Collection to ensure that only minimal relevant data is exposed and only when required. The Members Collection resource is subject to various limits and controls, these include: * Request Rate Limiting * Result Limiting * Minimum Query Length The date search feature searches on the member joinedDate attribute.
* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any): Promise<MemberSummary[]>;
getMembers(params: getMembersParams, options?: any): Promise<MemberSummary[]>;
};

@@ -841,3 +856,3 @@ /**

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -847,12 +862,7 @@ * @throws {RequiredError}

*/
createMember(memberCreate: MemberCreate, options?: any): Promise<StandardCreate>;
createMember(params: createMemberParams, options?: any): Promise<StandardCreate>;
/**
* Returns a paginated collection of accessible members. The API may be configured to limit the resulting Members Collection to ensure that only minimal relevant data is exposed and only when required. The Members Collection resource is subject to various limits and controls, these include: * Request Rate Limiting * Result Limiting * Minimum Query Length The date search feature searches on the member joinedDate attribute.
* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -862,4 +872,22 @@ * @throws {RequiredError}

*/
getMembers(q?: string, date?: string, memberNumber?: string, p?: number, i?: number, o?: number, options?: any): Promise<MemberSummary[]>;
getMembers(params: getMembersParams, options?: any): Promise<MemberSummary[]>;
}
interface getBalanceParams {
/**
* Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
*/
date?: string;
/**
* Pagination Page Number
*/
p?: number;
/**
* Pagination Page Size (number of entries per page)
*/
i?: number;
/**
* Pagination Starting Offset
*/
o?: number;
}
/**

@@ -873,10 +901,7 @@ * ReportsApi - fetch parameter creator

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any): Promise<FetchArgs>;
getBalance(params: getBalanceParams, options?: any): Promise<FetchArgs>;
};

@@ -891,10 +916,6 @@ /**

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InlineResponse200>;
getBalance(params: getBalanceParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<InlineResponse200>;
};

@@ -909,10 +930,7 @@ /**

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any): Promise<InlineResponse200>;
getBalance(params: getBalanceParams, options?: any): Promise<InlineResponse200>;
};

@@ -929,6 +947,3 @@ /**

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -938,4 +953,18 @@ * @throws {RequiredError}

*/
getBalance(date?: string, p?: number, i?: number, o?: number, options?: any): Promise<InlineResponse200>;
getBalance(params: getBalanceParams, options?: any): Promise<InlineResponse200>;
}
interface consentToRolloverParams {
/**
* Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
*/
member: string;
/**
* Unique UUID of the Super Search Result
*/
searchresult: string;
/**
*
*/
terms?: any;
}
/**

@@ -949,9 +978,7 @@ * SuperSearchRolloverApi - fetch parameter creator

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any): Promise<FetchArgs>;
consentToRollover(params: consentToRolloverParams, options?: any): Promise<FetchArgs>;
};

@@ -966,9 +993,6 @@ /**

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardMeta>;
consentToRollover(params: consentToRolloverParams, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<StandardMeta>;
};

@@ -983,9 +1007,7 @@ /**

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any): Promise<StandardMeta>;
consentToRollover(params: consentToRolloverParams, options?: any): Promise<StandardMeta>;
};

@@ -1002,5 +1024,3 @@ /**

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -1010,3 +1030,4 @@ * @throws {RequiredError}

*/
consentToRollover(member: string, searchresult: string, terms?: any, options?: any): Promise<StandardMeta>;
consentToRollover(params: consentToRolloverParams, options?: any): Promise<StandardMeta>;
}
export {};

@@ -161,10 +161,10 @@ "use strict";

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate, options = {}) {
createMember(params, options = {}) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// verify required parameter 'memberCreate' is not null or undefined
if (memberCreate === null || memberCreate === undefined) {
if (params.memberCreate === null || params.memberCreate === undefined) {
throw new RequiredError('memberCreate', 'Required parameter memberCreate was null or undefined when calling createMember.');

@@ -191,3 +191,3 @@ }

const needsSerialization = ("MemberCreate" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
localVarRequestOptions.body = needsSerialization ? JSON.stringify(memberCreate || {}) : (memberCreate || "");
localVarRequestOptions.body = needsSerialization ? JSON.stringify(params.memberCreate || {}) : (params.memberCreate || "");
return {

@@ -202,12 +202,7 @@ url: url_1.default.format(localVarUrlObj),

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q, date, memberNumber, p, i, o, options = {}) {
getMembers(params, options = {}) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {

@@ -227,19 +222,19 @@ const localVarPath = `/members`;

}
if (q !== undefined) {
localVarQueryParameter['q'] = q;
if (params.q !== undefined) {
localVarQueryParameter['q'] = params.q;
}
if (date !== undefined) {
localVarQueryParameter['date'] = date;
if (params.date !== undefined) {
localVarQueryParameter['date'] = params.date;
}
if (memberNumber !== undefined) {
localVarQueryParameter['memberNumber'] = memberNumber;
if (params.memberNumber !== undefined) {
localVarQueryParameter['memberNumber'] = params.memberNumber;
}
if (p !== undefined) {
localVarQueryParameter['p'] = p;
if (params.p !== undefined) {
localVarQueryParameter['p'] = params.p;
}
if (i !== undefined) {
localVarQueryParameter['i'] = i;
if (params.i !== undefined) {
localVarQueryParameter['i'] = params.i;
}
if (o !== undefined) {
localVarQueryParameter['o'] = o;
if (params.o !== undefined) {
localVarQueryParameter['o'] = params.o;
}

@@ -267,9 +262,8 @@ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate, options) {
createMember(params, options) {
return (fetch = portable_fetch_1.default, basePath = BASE_PATH) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const localVarFetchArgs = yield exports.MembersApiFetchParamCreator(configuration).createMember(memberCreate, options);
const localVarFetchArgs = yield exports.MembersApiFetchParamCreator(configuration).createMember(params, options);
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

@@ -288,14 +282,8 @@ if (response.status >= 200 && response.status < 300) {

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q, date, memberNumber, p, i, o, options) {
getMembers(params, options) {
return (fetch = portable_fetch_1.default, basePath = BASE_PATH) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const localVarFetchArgs = yield exports.MembersApiFetchParamCreator(configuration).getMembers(q, date, memberNumber, p, i, o, options);
const localVarFetchArgs = yield exports.MembersApiFetchParamCreator(configuration).getMembers(params, options);
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

@@ -322,8 +310,8 @@ if (response.status >= 200 && response.status < 300) {

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createMember(memberCreate, options) {
return exports.MembersApiFp(configuration).createMember(memberCreate, options)(fetch, basePath);
createMember(params, options) {
return exports.MembersApiFp(configuration).createMember(params, options)(fetch, basePath);
},

@@ -333,13 +321,8 @@ /**

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getMembers(q, date, memberNumber, p, i, o, options) {
return exports.MembersApiFp(configuration).getMembers(q, date, memberNumber, p, i, o, options)(fetch, basePath);
getMembers(params, options) {
return exports.MembersApiFp(configuration).getMembers(params, options)(fetch, basePath);
},

@@ -358,3 +341,3 @@ };

* @summary Create New Member
* @param {MemberCreate} memberCreate
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -364,5 +347,5 @@ * @throws {RequiredError}

*/
createMember(memberCreate, options) {
createMember(params, options) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return exports.MembersApiFp(this.configuration).createMember(memberCreate, options)(this.fetch, this.basePath);
return exports.MembersApiFp(this.configuration).createMember(params, options)(this.fetch, this.basePath);
});

@@ -373,8 +356,3 @@ }

* @summary List Members
* @param {string} [q] Collection Quick Search String. \&quot;Quick Search\&quot; provides an easy to utilise multiple-attribute search mechanism. The fields searched by quick search vary depending upon the resource type. A quick search on Members MAY query the givenName, alternativeName, familyName and email attributes. A quick search on Funds MAY query the fund name, ABN, USI and product names.
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {string} [memberNumber] Member Number or Range of Member Numbers to search A Range can be specified separated by a comma in the form of memberNumber&#x3D;min,max If only one member number is specified that member will be searched for. If min is empty the API will search for all members up to and including max. If max is empty the API will search for all members from and including min and up. Examples: * &#x60;30120020&#x60; - A single member number * &#x60;30120020,30120040&#x60; - A range of member numbers * &#x60;,30120040&#x60; - All member numbers up to and including 30120040 * &#x60;30120040,&#x60; - All member numbers from 30120040 and up, inclusive.
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -384,5 +362,5 @@ * @throws {RequiredError}

*/
getMembers(q, date, memberNumber, p, i, o, options) {
getMembers(params, options) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return exports.MembersApiFp(this.configuration).getMembers(q, date, memberNumber, p, i, o, options)(this.fetch, this.basePath);
return exports.MembersApiFp(this.configuration).getMembers(params, options)(this.fetch, this.basePath);
});

@@ -401,10 +379,7 @@ }

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date, p, i, o, options = {}) {
getBalance(params, options = {}) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {

@@ -424,13 +399,13 @@ const localVarPath = `/reports/balance`;

}
if (date !== undefined) {
localVarQueryParameter['date'] = date;
if (params.date !== undefined) {
localVarQueryParameter['date'] = params.date;
}
if (p !== undefined) {
localVarQueryParameter['p'] = p;
if (params.p !== undefined) {
localVarQueryParameter['p'] = params.p;
}
if (i !== undefined) {
localVarQueryParameter['i'] = i;
if (params.i !== undefined) {
localVarQueryParameter['i'] = params.i;
}
if (o !== undefined) {
localVarQueryParameter['o'] = o;
if (params.o !== undefined) {
localVarQueryParameter['o'] = params.o;
}

@@ -458,12 +433,8 @@ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date, p, i, o, options) {
getBalance(params, options) {
return (fetch = portable_fetch_1.default, basePath = BASE_PATH) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const localVarFetchArgs = yield exports.ReportsApiFetchParamCreator(configuration).getBalance(date, p, i, o, options);
const localVarFetchArgs = yield exports.ReportsApiFetchParamCreator(configuration).getBalance(params, options);
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

@@ -490,11 +461,8 @@ if (response.status >= 200 && response.status < 300) {

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getBalance(date, p, i, o, options) {
return exports.ReportsApiFp(configuration).getBalance(date, p, i, o, options)(fetch, basePath);
getBalance(params, options) {
return exports.ReportsApiFp(configuration).getBalance(params, options)(fetch, basePath);
},

@@ -513,6 +481,3 @@ };

* @summary Get Balance
* @param {string} [date] Return results for the specified date (or date range). Date must be provided in ISO 8601 date format (YYYY-MM-DD) with optional times. A Range can be specified separated by a comma in the form of date&#x3D;start_date,end_date If only one date is specified the API will return results for only the specified date. If start date is empty the API will search for all dates up to and including the end date. If end date is empty the API will search for all dates including and after the start date. If the specified dates do not include a time the API will default the start dates time to 00:00 and the end dates time to 23:59:59 Examples: * &#x60;2016-01-01&#x60; - Single day date range covering the date 2016-01-01 only * &#x60;2016-01-01,&#x60; - All dates from 2016-01-01, including 2016-01-01 * &#x60;,2016-01-01&#x60; - All dates up to and including 2016-01-01 * &#x60;2016-01-01,2016-02-28&#x60; - All dates from 2016-01-01 to 2016-02-28 inclusive * &#x60;,today&#x60; - All dates up to and including todays date * &#x60;today,&#x60; - All dates from and including todays date
* @param {number} [p] Pagination Page Number
* @param {number} [i] Pagination Page Size (number of entries per page)
* @param {number} [o] Pagination Starting Offset
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -522,5 +487,5 @@ * @throws {RequiredError}

*/
getBalance(date, p, i, o, options) {
getBalance(params, options) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return exports.ReportsApiFp(this.configuration).getBalance(date, p, i, o, options)(this.fetch, this.basePath);
return exports.ReportsApiFp(this.configuration).getBalance(params, options)(this.fetch, this.basePath);
});

@@ -539,21 +504,19 @@ }

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member, searchresult, terms, options = {}) {
consentToRollover(params, options = {}) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// verify required parameter 'member' is not null or undefined
if (member === null || member === undefined) {
if (params.member === null || params.member === undefined) {
throw new RequiredError('member', 'Required parameter member was null or undefined when calling consentToRollover.');
}
// verify required parameter 'searchresult' is not null or undefined
if (searchresult === null || searchresult === undefined) {
if (params.searchresult === null || params.searchresult === undefined) {
throw new RequiredError('searchresult', 'Required parameter searchresult was null or undefined when calling consentToRollover.');
}
const localVarPath = `/member/{member}/supersearch/{searchresult}/consent`
.replace(`{${"member"}}`, encodeURIComponent(String(member)))
.replace(`{${"searchresult"}}`, encodeURIComponent(String(searchresult)));
.replace(`{${"member"}}`, encodeURIComponent(String(params.member)))
.replace(`{${"searchresult"}}`, encodeURIComponent(String(params.searchresult)));
const localVarUrlObj = url_1.default.parse(localVarPath, true);

@@ -572,4 +535,4 @@ const localVarRequestOptions = Object.assign({ method: 'POST' }, options);

}
if (terms !== undefined) {
localVarFormParams.add('terms', terms);
if (params.terms !== undefined) {
localVarFormParams.add('terms', params.terms);
}

@@ -599,11 +562,8 @@ localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member, searchresult, terms, options) {
consentToRollover(params, options) {
return (fetch = portable_fetch_1.default, basePath = BASE_PATH) => tslib_1.__awaiter(this, void 0, void 0, function* () {
const localVarFetchArgs = yield exports.SuperSearchRolloverApiFetchParamCreator(configuration).consentToRollover(member, searchresult, terms, options);
const localVarFetchArgs = yield exports.SuperSearchRolloverApiFetchParamCreator(configuration).consentToRollover(params, options);
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {

@@ -630,10 +590,8 @@ if (response.status >= 200 && response.status < 300) {

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] request parameters
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
consentToRollover(member, searchresult, terms, options) {
return exports.SuperSearchRolloverApiFp(configuration).consentToRollover(member, searchresult, terms, options)(fetch, basePath);
consentToRollover(params, options) {
return exports.SuperSearchRolloverApiFp(configuration).consentToRollover(params, options)(fetch, basePath);
},

@@ -652,5 +610,3 @@ };

* @summary Consent to SuperSearch Rollover
* @param {string} member Unqiue UUID of the Member. A value of \&quot;me\&quot; can be provided instead of a literal UUID. \&quot;me\&quot; will be expanded to represent the currently authenticated member, if any.
* @param {string} searchresult Unique UUID of the Super Search Result
* @param {any} [terms]
* @param [params] Parameters for this method
* @param {*} [options] Override http request option.

@@ -660,5 +616,5 @@ * @throws {RequiredError}

*/
consentToRollover(member, searchresult, terms, options) {
consentToRollover(params, options) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return exports.SuperSearchRolloverApiFp(this.configuration).consentToRollover(member, searchresult, terms, options)(this.fetch, this.basePath);
return exports.SuperSearchRolloverApiFp(this.configuration).consentToRollover(params, options)(this.fetch, this.basePath);
});

@@ -665,0 +621,0 @@ }

{
"name": "@3wks/sargon-api-node-client",
"version": "0.0.20",
"version": "0.1.0",
"description": "OpenAPI client for @3wks/sargon-api-node-client",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors",

@@ -1,2 +0,2 @@

## @3wks/sargon-api-node-client@0.0.20
## @3wks/sargon-api-node-client@0.1.0

@@ -39,3 +39,3 @@ This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

```
npm install @3wks/sargon-api-node-client@0.0.20 --save
npm install @3wks/sargon-api-node-client@0.1.0 --save
```

@@ -42,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc