@connectedxm/admin-sdk 10.13.0 → 10.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +23 -10
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +15 -7
- package/dist/api.js +15 -10
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +15 -7
- package/dist/esm/api.js +15 -10
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/AccountsApi.md +4 -1
- package/docs/BasePaymentLineItem.md +2 -0
- package/docs/PaymentLineItem.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@10.
|
|
1
|
+
## @connectedxm/admin-sdk@10.15.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@10.
|
|
39
|
+
npm install @connectedxm/admin-sdk@10.15.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2216,6 +2216,7 @@ export interface BasePaymentLineItem {
|
|
|
2216
2216
|
'discount': number;
|
|
2217
2217
|
'deferred': number;
|
|
2218
2218
|
'salesTax': number;
|
|
2219
|
+
'taxRate': number | null;
|
|
2219
2220
|
'refundedSalesTax': number;
|
|
2220
2221
|
'paymentId': number;
|
|
2221
2222
|
'taxCode': string | null;
|
|
@@ -12376,6 +12377,7 @@ export interface PaymentLineItem {
|
|
|
12376
12377
|
'discount': number;
|
|
12377
12378
|
'deferred': number;
|
|
12378
12379
|
'salesTax': number;
|
|
12380
|
+
'taxRate': number | null;
|
|
12379
12381
|
'refundedSalesTax': number;
|
|
12380
12382
|
'paymentId': number;
|
|
12381
12383
|
'taxCode': string | null;
|
|
@@ -15932,10 +15934,11 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15932
15934
|
};
|
|
15933
15935
|
},
|
|
15934
15936
|
/**
|
|
15935
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
15937
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
15936
15938
|
* @summary List accounts in the organization
|
|
15937
15939
|
* @param {boolean} [verified] Filter by verified
|
|
15938
15940
|
* @param {boolean} [online] Filter by online
|
|
15941
|
+
* @param {boolean} [featured] Filter by featured
|
|
15939
15942
|
* @param {number} [page] Page number
|
|
15940
15943
|
* @param {number} [pageSize] Number of items per page
|
|
15941
15944
|
* @param {string} [orderBy] Field to order by
|
|
@@ -15943,7 +15946,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15943
15946
|
* @param {*} [options] Override http request option.
|
|
15944
15947
|
* @throws {RequiredError}
|
|
15945
15948
|
*/
|
|
15946
|
-
getAccounts: async (verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15949
|
+
getAccounts: async (verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15947
15950
|
const localVarPath = `/accounts`;
|
|
15948
15951
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15949
15952
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15970,6 +15973,10 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15970
15973
|
localVarQueryParameter['online'] = online;
|
|
15971
15974
|
}
|
|
15972
15975
|
|
|
15976
|
+
if (featured !== undefined) {
|
|
15977
|
+
localVarQueryParameter['featured'] = featured;
|
|
15978
|
+
}
|
|
15979
|
+
|
|
15973
15980
|
if (page !== undefined) {
|
|
15974
15981
|
localVarQueryParameter['page'] = page;
|
|
15975
15982
|
}
|
|
@@ -16423,10 +16430,11 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
16423
16430
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16424
16431
|
},
|
|
16425
16432
|
/**
|
|
16426
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
16433
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
16427
16434
|
* @summary List accounts in the organization
|
|
16428
16435
|
* @param {boolean} [verified] Filter by verified
|
|
16429
16436
|
* @param {boolean} [online] Filter by online
|
|
16437
|
+
* @param {boolean} [featured] Filter by featured
|
|
16430
16438
|
* @param {number} [page] Page number
|
|
16431
16439
|
* @param {number} [pageSize] Number of items per page
|
|
16432
16440
|
* @param {string} [orderBy] Field to order by
|
|
@@ -16434,8 +16442,8 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
16434
16442
|
* @param {*} [options] Override http request option.
|
|
16435
16443
|
* @throws {RequiredError}
|
|
16436
16444
|
*/
|
|
16437
|
-
async getAccounts(verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
|
|
16438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccounts(verified, online, page, pageSize, orderBy, search, options);
|
|
16445
|
+
async getAccounts(verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>> {
|
|
16446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccounts(verified, online, featured, page, pageSize, orderBy, search, options);
|
|
16439
16447
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16440
16448
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccounts']?.[localVarOperationServerIndex]?.url;
|
|
16441
16449
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16662,14 +16670,14 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16662
16670
|
return localVarFp.getAccountThreads(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
16663
16671
|
},
|
|
16664
16672
|
/**
|
|
16665
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
16673
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
16666
16674
|
* @summary List accounts in the organization
|
|
16667
16675
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
16668
16676
|
* @param {*} [options] Override http request option.
|
|
16669
16677
|
* @throws {RequiredError}
|
|
16670
16678
|
*/
|
|
16671
16679
|
getAccounts(requestParameters: AccountsApiGetAccountsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAccounts200Response> {
|
|
16672
|
-
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
16680
|
+
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
16673
16681
|
},
|
|
16674
16682
|
/**
|
|
16675
16683
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
@@ -17119,6 +17127,11 @@ export interface AccountsApiGetAccountsRequest {
|
|
|
17119
17127
|
*/
|
|
17120
17128
|
readonly online?: boolean
|
|
17121
17129
|
|
|
17130
|
+
/**
|
|
17131
|
+
* Filter by featured
|
|
17132
|
+
*/
|
|
17133
|
+
readonly featured?: boolean
|
|
17134
|
+
|
|
17122
17135
|
/**
|
|
17123
17136
|
* Page number
|
|
17124
17137
|
*/
|
|
@@ -17353,14 +17366,14 @@ export class AccountsApi extends BaseAPI {
|
|
|
17353
17366
|
}
|
|
17354
17367
|
|
|
17355
17368
|
/**
|
|
17356
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
17369
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
17357
17370
|
* @summary List accounts in the organization
|
|
17358
17371
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
17359
17372
|
* @param {*} [options] Override http request option.
|
|
17360
17373
|
* @throws {RequiredError}
|
|
17361
17374
|
*/
|
|
17362
17375
|
public getAccounts(requestParameters: AccountsApiGetAccountsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
17363
|
-
return AccountsApiFp(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
17376
|
+
return AccountsApiFp(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
17364
17377
|
}
|
|
17365
17378
|
|
|
17366
17379
|
/**
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 10.
|
|
6
|
+
* The version of the OpenAPI document: 10.15.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2050,6 +2050,7 @@ export interface BasePaymentLineItem {
|
|
|
2050
2050
|
'discount': number;
|
|
2051
2051
|
'deferred': number;
|
|
2052
2052
|
'salesTax': number;
|
|
2053
|
+
'taxRate': number | null;
|
|
2053
2054
|
'refundedSalesTax': number;
|
|
2054
2055
|
'paymentId': number;
|
|
2055
2056
|
'taxCode': string | null;
|
|
@@ -11000,6 +11001,7 @@ export interface PaymentLineItem {
|
|
|
11000
11001
|
'discount': number;
|
|
11001
11002
|
'deferred': number;
|
|
11002
11003
|
'salesTax': number;
|
|
11004
|
+
'taxRate': number | null;
|
|
11003
11005
|
'refundedSalesTax': number;
|
|
11004
11006
|
'paymentId': number;
|
|
11005
11007
|
'taxCode': string | null;
|
|
@@ -13603,10 +13605,11 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13603
13605
|
*/
|
|
13604
13606
|
getAccountThreads: (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13605
13607
|
/**
|
|
13606
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
13608
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
13607
13609
|
* @summary List accounts in the organization
|
|
13608
13610
|
* @param {boolean} [verified] Filter by verified
|
|
13609
13611
|
* @param {boolean} [online] Filter by online
|
|
13612
|
+
* @param {boolean} [featured] Filter by featured
|
|
13610
13613
|
* @param {number} [page] Page number
|
|
13611
13614
|
* @param {number} [pageSize] Number of items per page
|
|
13612
13615
|
* @param {string} [orderBy] Field to order by
|
|
@@ -13614,7 +13617,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13614
13617
|
* @param {*} [options] Override http request option.
|
|
13615
13618
|
* @throws {RequiredError}
|
|
13616
13619
|
*/
|
|
13617
|
-
getAccounts: (verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13620
|
+
getAccounts: (verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13618
13621
|
/**
|
|
13619
13622
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
13620
13623
|
* @summary Find accounts by internal reference ID
|
|
@@ -13828,10 +13831,11 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
13828
13831
|
*/
|
|
13829
13832
|
getAccountThreads(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>>;
|
|
13830
13833
|
/**
|
|
13831
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
13834
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
13832
13835
|
* @summary List accounts in the organization
|
|
13833
13836
|
* @param {boolean} [verified] Filter by verified
|
|
13834
13837
|
* @param {boolean} [online] Filter by online
|
|
13838
|
+
* @param {boolean} [featured] Filter by featured
|
|
13835
13839
|
* @param {number} [page] Page number
|
|
13836
13840
|
* @param {number} [pageSize] Number of items per page
|
|
13837
13841
|
* @param {string} [orderBy] Field to order by
|
|
@@ -13839,7 +13843,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
13839
13843
|
* @param {*} [options] Override http request option.
|
|
13840
13844
|
* @throws {RequiredError}
|
|
13841
13845
|
*/
|
|
13842
|
-
getAccounts(verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>>;
|
|
13846
|
+
getAccounts(verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>>;
|
|
13843
13847
|
/**
|
|
13844
13848
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
13845
13849
|
* @summary Find accounts by internal reference ID
|
|
@@ -14006,7 +14010,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
14006
14010
|
*/
|
|
14007
14011
|
getAccountThreads(requestParameters: AccountsApiGetAccountThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response>;
|
|
14008
14012
|
/**
|
|
14009
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
14013
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
14010
14014
|
* @summary List accounts in the organization
|
|
14011
14015
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
14012
14016
|
* @param {*} [options] Override http request option.
|
|
@@ -14386,6 +14390,10 @@ export interface AccountsApiGetAccountsRequest {
|
|
|
14386
14390
|
* Filter by online
|
|
14387
14391
|
*/
|
|
14388
14392
|
readonly online?: boolean;
|
|
14393
|
+
/**
|
|
14394
|
+
* Filter by featured
|
|
14395
|
+
*/
|
|
14396
|
+
readonly featured?: boolean;
|
|
14389
14397
|
/**
|
|
14390
14398
|
* Page number
|
|
14391
14399
|
*/
|
|
@@ -14564,7 +14572,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
14564
14572
|
*/
|
|
14565
14573
|
getAccountThreads(requestParameters: AccountsApiGetAccountThreadsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountThreads200Response, any, {}>>;
|
|
14566
14574
|
/**
|
|
14567
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
14575
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
14568
14576
|
* @summary List accounts in the organization
|
|
14569
14577
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
14570
14578
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 10.
|
|
8
|
+
* The version of the OpenAPI document: 10.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3570,10 +3570,11 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3570
3570
|
};
|
|
3571
3571
|
}),
|
|
3572
3572
|
/**
|
|
3573
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
3573
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
3574
3574
|
* @summary List accounts in the organization
|
|
3575
3575
|
* @param {boolean} [verified] Filter by verified
|
|
3576
3576
|
* @param {boolean} [online] Filter by online
|
|
3577
|
+
* @param {boolean} [featured] Filter by featured
|
|
3577
3578
|
* @param {number} [page] Page number
|
|
3578
3579
|
* @param {number} [pageSize] Number of items per page
|
|
3579
3580
|
* @param {string} [orderBy] Field to order by
|
|
@@ -3581,7 +3582,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3581
3582
|
* @param {*} [options] Override http request option.
|
|
3582
3583
|
* @throws {RequiredError}
|
|
3583
3584
|
*/
|
|
3584
|
-
getAccounts: (verified_1, online_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [verified_1, online_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (verified, online, page, pageSize, orderBy, search, options = {}) {
|
|
3585
|
+
getAccounts: (verified_1, online_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [verified_1, online_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (verified, online, featured, page, pageSize, orderBy, search, options = {}) {
|
|
3585
3586
|
const localVarPath = `/accounts`;
|
|
3586
3587
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3587
3588
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -3602,6 +3603,9 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3602
3603
|
if (online !== undefined) {
|
|
3603
3604
|
localVarQueryParameter['online'] = online;
|
|
3604
3605
|
}
|
|
3606
|
+
if (featured !== undefined) {
|
|
3607
|
+
localVarQueryParameter['featured'] = featured;
|
|
3608
|
+
}
|
|
3605
3609
|
if (page !== undefined) {
|
|
3606
3610
|
localVarQueryParameter['page'] = page;
|
|
3607
3611
|
}
|
|
@@ -4073,10 +4077,11 @@ const AccountsApiFp = function (configuration) {
|
|
|
4073
4077
|
});
|
|
4074
4078
|
},
|
|
4075
4079
|
/**
|
|
4076
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4080
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4077
4081
|
* @summary List accounts in the organization
|
|
4078
4082
|
* @param {boolean} [verified] Filter by verified
|
|
4079
4083
|
* @param {boolean} [online] Filter by online
|
|
4084
|
+
* @param {boolean} [featured] Filter by featured
|
|
4080
4085
|
* @param {number} [page] Page number
|
|
4081
4086
|
* @param {number} [pageSize] Number of items per page
|
|
4082
4087
|
* @param {string} [orderBy] Field to order by
|
|
@@ -4084,10 +4089,10 @@ const AccountsApiFp = function (configuration) {
|
|
|
4084
4089
|
* @param {*} [options] Override http request option.
|
|
4085
4090
|
* @throws {RequiredError}
|
|
4086
4091
|
*/
|
|
4087
|
-
getAccounts(verified, online, page, pageSize, orderBy, search, options) {
|
|
4092
|
+
getAccounts(verified, online, featured, page, pageSize, orderBy, search, options) {
|
|
4088
4093
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4089
4094
|
var _a, _b, _c;
|
|
4090
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccounts(verified, online, page, pageSize, orderBy, search, options);
|
|
4095
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccounts(verified, online, featured, page, pageSize, orderBy, search, options);
|
|
4091
4096
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4092
4097
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4093
4098
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4327,14 +4332,14 @@ const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
4327
4332
|
return localVarFp.getAccountThreads(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4328
4333
|
},
|
|
4329
4334
|
/**
|
|
4330
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4335
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4331
4336
|
* @summary List accounts in the organization
|
|
4332
4337
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
4333
4338
|
* @param {*} [options] Override http request option.
|
|
4334
4339
|
* @throws {RequiredError}
|
|
4335
4340
|
*/
|
|
4336
4341
|
getAccounts(requestParameters = {}, options) {
|
|
4337
|
-
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4342
|
+
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4338
4343
|
},
|
|
4339
4344
|
/**
|
|
4340
4345
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
@@ -4543,14 +4548,14 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
4543
4548
|
return (0, exports.AccountsApiFp)(this.configuration).getAccountThreads(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4544
4549
|
}
|
|
4545
4550
|
/**
|
|
4546
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4551
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4547
4552
|
* @summary List accounts in the organization
|
|
4548
4553
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
4549
4554
|
* @param {*} [options] Override http request option.
|
|
4550
4555
|
* @throws {RequiredError}
|
|
4551
4556
|
*/
|
|
4552
4557
|
getAccounts(requestParameters = {}, options) {
|
|
4553
|
-
return (0, exports.AccountsApiFp)(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4558
|
+
return (0, exports.AccountsApiFp)(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4554
4559
|
}
|
|
4555
4560
|
/**
|
|
4556
4561
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 10.
|
|
8
|
+
* The version of the OpenAPI document: 10.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 10.
|
|
8
|
+
* The version of the OpenAPI document: 10.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2050,6 +2050,7 @@ export interface BasePaymentLineItem {
|
|
|
2050
2050
|
'discount': number;
|
|
2051
2051
|
'deferred': number;
|
|
2052
2052
|
'salesTax': number;
|
|
2053
|
+
'taxRate': number | null;
|
|
2053
2054
|
'refundedSalesTax': number;
|
|
2054
2055
|
'paymentId': number;
|
|
2055
2056
|
'taxCode': string | null;
|
|
@@ -11000,6 +11001,7 @@ export interface PaymentLineItem {
|
|
|
11000
11001
|
'discount': number;
|
|
11001
11002
|
'deferred': number;
|
|
11002
11003
|
'salesTax': number;
|
|
11004
|
+
'taxRate': number | null;
|
|
11003
11005
|
'refundedSalesTax': number;
|
|
11004
11006
|
'paymentId': number;
|
|
11005
11007
|
'taxCode': string | null;
|
|
@@ -13603,10 +13605,11 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13603
13605
|
*/
|
|
13604
13606
|
getAccountThreads: (accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13605
13607
|
/**
|
|
13606
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
13608
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
13607
13609
|
* @summary List accounts in the organization
|
|
13608
13610
|
* @param {boolean} [verified] Filter by verified
|
|
13609
13611
|
* @param {boolean} [online] Filter by online
|
|
13612
|
+
* @param {boolean} [featured] Filter by featured
|
|
13610
13613
|
* @param {number} [page] Page number
|
|
13611
13614
|
* @param {number} [pageSize] Number of items per page
|
|
13612
13615
|
* @param {string} [orderBy] Field to order by
|
|
@@ -13614,7 +13617,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
13614
13617
|
* @param {*} [options] Override http request option.
|
|
13615
13618
|
* @throws {RequiredError}
|
|
13616
13619
|
*/
|
|
13617
|
-
getAccounts: (verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13620
|
+
getAccounts: (verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13618
13621
|
/**
|
|
13619
13622
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
13620
13623
|
* @summary Find accounts by internal reference ID
|
|
@@ -13828,10 +13831,11 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
13828
13831
|
*/
|
|
13829
13832
|
getAccountThreads(accountId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountThreads200Response>>;
|
|
13830
13833
|
/**
|
|
13831
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
13834
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
13832
13835
|
* @summary List accounts in the organization
|
|
13833
13836
|
* @param {boolean} [verified] Filter by verified
|
|
13834
13837
|
* @param {boolean} [online] Filter by online
|
|
13838
|
+
* @param {boolean} [featured] Filter by featured
|
|
13835
13839
|
* @param {number} [page] Page number
|
|
13836
13840
|
* @param {number} [pageSize] Number of items per page
|
|
13837
13841
|
* @param {string} [orderBy] Field to order by
|
|
@@ -13839,7 +13843,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
13839
13843
|
* @param {*} [options] Override http request option.
|
|
13840
13844
|
* @throws {RequiredError}
|
|
13841
13845
|
*/
|
|
13842
|
-
getAccounts(verified?: boolean, online?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>>;
|
|
13846
|
+
getAccounts(verified?: boolean, online?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccounts200Response>>;
|
|
13843
13847
|
/**
|
|
13844
13848
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
13845
13849
|
* @summary Find accounts by internal reference ID
|
|
@@ -14006,7 +14010,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
14006
14010
|
*/
|
|
14007
14011
|
getAccountThreads(requestParameters: AccountsApiGetAccountThreadsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountThreads200Response>;
|
|
14008
14012
|
/**
|
|
14009
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
14013
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
14010
14014
|
* @summary List accounts in the organization
|
|
14011
14015
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
14012
14016
|
* @param {*} [options] Override http request option.
|
|
@@ -14386,6 +14390,10 @@ export interface AccountsApiGetAccountsRequest {
|
|
|
14386
14390
|
* Filter by online
|
|
14387
14391
|
*/
|
|
14388
14392
|
readonly online?: boolean;
|
|
14393
|
+
/**
|
|
14394
|
+
* Filter by featured
|
|
14395
|
+
*/
|
|
14396
|
+
readonly featured?: boolean;
|
|
14389
14397
|
/**
|
|
14390
14398
|
* Page number
|
|
14391
14399
|
*/
|
|
@@ -14564,7 +14572,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
14564
14572
|
*/
|
|
14565
14573
|
getAccountThreads(requestParameters: AccountsApiGetAccountThreadsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountThreads200Response, any, {}>>;
|
|
14566
14574
|
/**
|
|
14567
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
14575
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
14568
14576
|
* @summary List accounts in the organization
|
|
14569
14577
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
14570
14578
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3540,10 +3540,11 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3540
3540
|
};
|
|
3541
3541
|
}),
|
|
3542
3542
|
/**
|
|
3543
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
3543
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
3544
3544
|
* @summary List accounts in the organization
|
|
3545
3545
|
* @param {boolean} [verified] Filter by verified
|
|
3546
3546
|
* @param {boolean} [online] Filter by online
|
|
3547
|
+
* @param {boolean} [featured] Filter by featured
|
|
3547
3548
|
* @param {number} [page] Page number
|
|
3548
3549
|
* @param {number} [pageSize] Number of items per page
|
|
3549
3550
|
* @param {string} [orderBy] Field to order by
|
|
@@ -3551,7 +3552,7 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3551
3552
|
* @param {*} [options] Override http request option.
|
|
3552
3553
|
* @throws {RequiredError}
|
|
3553
3554
|
*/
|
|
3554
|
-
getAccounts: (verified_1, online_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [verified_1, online_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (verified, online, page, pageSize, orderBy, search, options = {}) {
|
|
3555
|
+
getAccounts: (verified_1, online_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [verified_1, online_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (verified, online, featured, page, pageSize, orderBy, search, options = {}) {
|
|
3555
3556
|
const localVarPath = `/accounts`;
|
|
3556
3557
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3557
3558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3572,6 +3573,9 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3572
3573
|
if (online !== undefined) {
|
|
3573
3574
|
localVarQueryParameter['online'] = online;
|
|
3574
3575
|
}
|
|
3576
|
+
if (featured !== undefined) {
|
|
3577
|
+
localVarQueryParameter['featured'] = featured;
|
|
3578
|
+
}
|
|
3575
3579
|
if (page !== undefined) {
|
|
3576
3580
|
localVarQueryParameter['page'] = page;
|
|
3577
3581
|
}
|
|
@@ -4042,10 +4046,11 @@ export const AccountsApiFp = function (configuration) {
|
|
|
4042
4046
|
});
|
|
4043
4047
|
},
|
|
4044
4048
|
/**
|
|
4045
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4049
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4046
4050
|
* @summary List accounts in the organization
|
|
4047
4051
|
* @param {boolean} [verified] Filter by verified
|
|
4048
4052
|
* @param {boolean} [online] Filter by online
|
|
4053
|
+
* @param {boolean} [featured] Filter by featured
|
|
4049
4054
|
* @param {number} [page] Page number
|
|
4050
4055
|
* @param {number} [pageSize] Number of items per page
|
|
4051
4056
|
* @param {string} [orderBy] Field to order by
|
|
@@ -4053,10 +4058,10 @@ export const AccountsApiFp = function (configuration) {
|
|
|
4053
4058
|
* @param {*} [options] Override http request option.
|
|
4054
4059
|
* @throws {RequiredError}
|
|
4055
4060
|
*/
|
|
4056
|
-
getAccounts(verified, online, page, pageSize, orderBy, search, options) {
|
|
4061
|
+
getAccounts(verified, online, featured, page, pageSize, orderBy, search, options) {
|
|
4057
4062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4058
4063
|
var _a, _b, _c;
|
|
4059
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccounts(verified, online, page, pageSize, orderBy, search, options);
|
|
4064
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccounts(verified, online, featured, page, pageSize, orderBy, search, options);
|
|
4060
4065
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4061
4066
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountsApi.getAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4062
4067
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4295,14 +4300,14 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
4295
4300
|
return localVarFp.getAccountThreads(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4296
4301
|
},
|
|
4297
4302
|
/**
|
|
4298
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4303
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4299
4304
|
* @summary List accounts in the organization
|
|
4300
4305
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
4301
4306
|
* @param {*} [options] Override http request option.
|
|
4302
4307
|
* @throws {RequiredError}
|
|
4303
4308
|
*/
|
|
4304
4309
|
getAccounts(requestParameters = {}, options) {
|
|
4305
|
-
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4310
|
+
return localVarFp.getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
4306
4311
|
},
|
|
4307
4312
|
/**
|
|
4308
4313
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
|
@@ -4510,14 +4515,14 @@ export class AccountsApi extends BaseAPI {
|
|
|
4510
4515
|
return AccountsApiFp(this.configuration).getAccountThreads(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4511
4516
|
}
|
|
4512
4517
|
/**
|
|
4513
|
-
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
4518
|
+
* Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
4514
4519
|
* @summary List accounts in the organization
|
|
4515
4520
|
* @param {AccountsApiGetAccountsRequest} requestParameters Request parameters.
|
|
4516
4521
|
* @param {*} [options] Override http request option.
|
|
4517
4522
|
* @throws {RequiredError}
|
|
4518
4523
|
*/
|
|
4519
4524
|
getAccounts(requestParameters = {}, options) {
|
|
4520
|
-
return AccountsApiFp(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4525
|
+
return AccountsApiFp(this.configuration).getAccounts(requestParameters.verified, requestParameters.online, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
4521
4526
|
}
|
|
4522
4527
|
/**
|
|
4523
4528
|
* Returns all accounts in the organization whose `internalRefId` matches the given value, ordered by creation date descending; requires the `read accounts` permission.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.15.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 10.
|
|
6
|
+
* The version of the OpenAPI document: 10.15.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/AccountsApi.md
CHANGED
|
@@ -987,7 +987,7 @@ const { status, data } = await apiInstance.getAccountThreads(
|
|
|
987
987
|
# **getAccounts**
|
|
988
988
|
> GetAccounts200Response getAccounts()
|
|
989
989
|
|
|
990
|
-
Returns a paginated list of accounts for the organization, filterable by verified status, online status, and a search term; requires the `read accounts` permission.
|
|
990
|
+
Returns a paginated list of accounts for the organization, filterable by verified status, online status, featured status, and a search term; requires the `read accounts` permission.
|
|
991
991
|
|
|
992
992
|
### Example
|
|
993
993
|
|
|
@@ -1002,6 +1002,7 @@ const apiInstance = new AccountsApi(configuration);
|
|
|
1002
1002
|
|
|
1003
1003
|
let verified: boolean; //Filter by verified (optional) (default to undefined)
|
|
1004
1004
|
let online: boolean; //Filter by online (optional) (default to undefined)
|
|
1005
|
+
let featured: boolean; //Filter by featured (optional) (default to undefined)
|
|
1005
1006
|
let page: number; //Page number (optional) (default to 1)
|
|
1006
1007
|
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
1007
1008
|
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
@@ -1010,6 +1011,7 @@ let search: string; //Search query (optional) (default to undefined)
|
|
|
1010
1011
|
const { status, data } = await apiInstance.getAccounts(
|
|
1011
1012
|
verified,
|
|
1012
1013
|
online,
|
|
1014
|
+
featured,
|
|
1013
1015
|
page,
|
|
1014
1016
|
pageSize,
|
|
1015
1017
|
orderBy,
|
|
@@ -1023,6 +1025,7 @@ const { status, data } = await apiInstance.getAccounts(
|
|
|
1023
1025
|
|------------- | ------------- | ------------- | -------------|
|
|
1024
1026
|
| **verified** | [**boolean**] | Filter by verified | (optional) defaults to undefined|
|
|
1025
1027
|
| **online** | [**boolean**] | Filter by online | (optional) defaults to undefined|
|
|
1028
|
+
| **featured** | [**boolean**] | Filter by featured | (optional) defaults to undefined|
|
|
1026
1029
|
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
1027
1030
|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
1028
1031
|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**discount** | **number** | | [default to undefined]
|
|
17
17
|
**deferred** | **number** | | [default to undefined]
|
|
18
18
|
**salesTax** | **number** | | [default to undefined]
|
|
19
|
+
**taxRate** | **number** | | [default to undefined]
|
|
19
20
|
**refundedSalesTax** | **number** | | [default to undefined]
|
|
20
21
|
**paymentId** | **number** | | [default to undefined]
|
|
21
22
|
**taxCode** | **string** | | [default to undefined]
|
|
@@ -45,6 +46,7 @@ const instance: BasePaymentLineItem = {
|
|
|
45
46
|
discount,
|
|
46
47
|
deferred,
|
|
47
48
|
salesTax,
|
|
49
|
+
taxRate,
|
|
48
50
|
refundedSalesTax,
|
|
49
51
|
paymentId,
|
|
50
52
|
taxCode,
|
package/docs/PaymentLineItem.md
CHANGED
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**discount** | **number** | | [default to undefined]
|
|
17
17
|
**deferred** | **number** | | [default to undefined]
|
|
18
18
|
**salesTax** | **number** | | [default to undefined]
|
|
19
|
+
**taxRate** | **number** | | [default to undefined]
|
|
19
20
|
**refundedSalesTax** | **number** | | [default to undefined]
|
|
20
21
|
**paymentId** | **number** | | [default to undefined]
|
|
21
22
|
**taxCode** | **string** | | [default to undefined]
|
|
@@ -54,6 +55,7 @@ const instance: PaymentLineItem = {
|
|
|
54
55
|
discount,
|
|
55
56
|
deferred,
|
|
56
57
|
salesTax,
|
|
58
|
+
taxRate,
|
|
57
59
|
refundedSalesTax,
|
|
58
60
|
paymentId,
|
|
59
61
|
taxCode,
|