yellowgrid-api-ts 3.2.318 → 3.2.319
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 +1 -0
- package/api.ts +73 -0
- package/dist/api.d.ts +32 -0
- package/dist/api.js +85 -0
- package/dist/models/ReportEnum.d.ts +1 -1
- package/dist/models/ReportEnum.js +1 -1
- package/docs/BillingApi.md +58 -0
- package/models/ReportEnum.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -159,6 +159,7 @@ Class | Method | HTTP request | Description
|
|
|
159
159
|
*BillingApi* | [**postUpdateRecurringCharge**](docs/BillingApi.md#postupdaterecurringcharge) | **POST** /billing/customer/updateRecurringCharges |
|
|
160
160
|
*BillingApi* | [**putAddCallTariffToCallTariffPlan**](docs/BillingApi.md#putaddcalltarifftocalltariffplan) | **PUT** /billing/admin/callTariffPlan/callTariff |
|
|
161
161
|
*BillingApi* | [**putAddServiceToServicePlan**](docs/BillingApi.md#putaddservicetoserviceplan) | **PUT** /billing/admin/servicePlan/service |
|
|
162
|
+
*BillingApi* | [**putChangeParent**](docs/BillingApi.md#putchangeparent) | **PUT** /billing/admin/parent/change |
|
|
162
163
|
*BillingApi* | [**putConnectionSearch**](docs/BillingApi.md#putconnectionsearch) | **PUT** /billing/admin/connections |
|
|
163
164
|
*BillingApi* | [**putConvertChildToParent**](docs/BillingApi.md#putconvertchildtoparent) | **PUT** /billing/customer/makeParent |
|
|
164
165
|
*BillingApi* | [**putDisableBundles**](docs/BillingApi.md#putdisablebundles) | **PUT** /billing/customer/disableBundles |
|
package/api.ts
CHANGED
|
@@ -16957,6 +16957,45 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
16957
16957
|
options: localVarRequestOptions,
|
|
16958
16958
|
};
|
|
16959
16959
|
},
|
|
16960
|
+
/**
|
|
16961
|
+
* Change Parent
|
|
16962
|
+
* @param {number} [parentId] Parent ID
|
|
16963
|
+
* @param {number} [childId] Child ID
|
|
16964
|
+
* @param {*} [options] Override http request option.
|
|
16965
|
+
* @throws {RequiredError}
|
|
16966
|
+
*/
|
|
16967
|
+
putChangeParent: async (parentId?: number, childId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16968
|
+
const localVarPath = `/billing/admin/parent/change`;
|
|
16969
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16970
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16971
|
+
let baseOptions;
|
|
16972
|
+
if (configuration) {
|
|
16973
|
+
baseOptions = configuration.baseOptions;
|
|
16974
|
+
}
|
|
16975
|
+
|
|
16976
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16977
|
+
const localVarHeaderParameter = {} as any;
|
|
16978
|
+
const localVarQueryParameter = {} as any;
|
|
16979
|
+
|
|
16980
|
+
if (parentId !== undefined) {
|
|
16981
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
16982
|
+
}
|
|
16983
|
+
|
|
16984
|
+
if (childId !== undefined) {
|
|
16985
|
+
localVarQueryParameter['childId'] = childId;
|
|
16986
|
+
}
|
|
16987
|
+
|
|
16988
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
16989
|
+
|
|
16990
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16991
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16992
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16993
|
+
|
|
16994
|
+
return {
|
|
16995
|
+
url: toPathString(localVarUrlObj),
|
|
16996
|
+
options: localVarRequestOptions,
|
|
16997
|
+
};
|
|
16998
|
+
},
|
|
16960
16999
|
/**
|
|
16961
17000
|
* Transfer Billing Connection
|
|
16962
17001
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -18048,6 +18087,19 @@ export const BillingApiFp = function(configuration?: Configuration) {
|
|
|
18048
18087
|
const localVarOperationServerBasePath = operationServerMap['BillingApi.putAddServiceToServicePlan']?.[localVarOperationServerIndex]?.url;
|
|
18049
18088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18050
18089
|
},
|
|
18090
|
+
/**
|
|
18091
|
+
* Change Parent
|
|
18092
|
+
* @param {number} [parentId] Parent ID
|
|
18093
|
+
* @param {number} [childId] Child ID
|
|
18094
|
+
* @param {*} [options] Override http request option.
|
|
18095
|
+
* @throws {RequiredError}
|
|
18096
|
+
*/
|
|
18097
|
+
async putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>> {
|
|
18098
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putChangeParent(parentId, childId, options);
|
|
18099
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18100
|
+
const localVarOperationServerBasePath = operationServerMap['BillingApi.putChangeParent']?.[localVarOperationServerIndex]?.url;
|
|
18101
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18102
|
+
},
|
|
18051
18103
|
/**
|
|
18052
18104
|
* Transfer Billing Connection
|
|
18053
18105
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -18710,6 +18762,16 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
|
|
|
18710
18762
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<Service> {
|
|
18711
18763
|
return localVarFp.putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then((request) => request(axios, basePath));
|
|
18712
18764
|
},
|
|
18765
|
+
/**
|
|
18766
|
+
* Change Parent
|
|
18767
|
+
* @param {number} [parentId] Parent ID
|
|
18768
|
+
* @param {number} [childId] Child ID
|
|
18769
|
+
* @param {*} [options] Override http request option.
|
|
18770
|
+
* @throws {RequiredError}
|
|
18771
|
+
*/
|
|
18772
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer> {
|
|
18773
|
+
return localVarFp.putChangeParent(parentId, childId, options).then((request) => request(axios, basePath));
|
|
18774
|
+
},
|
|
18713
18775
|
/**
|
|
18714
18776
|
* Transfer Billing Connection
|
|
18715
18777
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -19397,6 +19459,17 @@ export class BillingApi extends BaseAPI {
|
|
|
19397
19459
|
return BillingApiFp(this.configuration).putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19398
19460
|
}
|
|
19399
19461
|
|
|
19462
|
+
/**
|
|
19463
|
+
* Change Parent
|
|
19464
|
+
* @param {number} [parentId] Parent ID
|
|
19465
|
+
* @param {number} [childId] Child ID
|
|
19466
|
+
* @param {*} [options] Override http request option.
|
|
19467
|
+
* @throws {RequiredError}
|
|
19468
|
+
*/
|
|
19469
|
+
public putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig) {
|
|
19470
|
+
return BillingApiFp(this.configuration).putChangeParent(parentId, childId, options).then((request) => request(this.axios, this.basePath));
|
|
19471
|
+
}
|
|
19472
|
+
|
|
19400
19473
|
/**
|
|
19401
19474
|
* Transfer Billing Connection
|
|
19402
19475
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
package/dist/api.d.ts
CHANGED
|
@@ -13262,6 +13262,14 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
13262
13262
|
* @throws {RequiredError}
|
|
13263
13263
|
*/
|
|
13264
13264
|
putAddServiceToServicePlan: (id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13265
|
+
/**
|
|
13266
|
+
* Change Parent
|
|
13267
|
+
* @param {number} [parentId] Parent ID
|
|
13268
|
+
* @param {number} [childId] Child ID
|
|
13269
|
+
* @param {*} [options] Override http request option.
|
|
13270
|
+
* @throws {RequiredError}
|
|
13271
|
+
*/
|
|
13272
|
+
putChangeParent: (parentId?: number, childId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
13265
13273
|
/**
|
|
13266
13274
|
* Transfer Billing Connection
|
|
13267
13275
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -13760,6 +13768,14 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
13760
13768
|
* @throws {RequiredError}
|
|
13761
13769
|
*/
|
|
13762
13770
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Service>>;
|
|
13771
|
+
/**
|
|
13772
|
+
* Change Parent
|
|
13773
|
+
* @param {number} [parentId] Parent ID
|
|
13774
|
+
* @param {number} [childId] Child ID
|
|
13775
|
+
* @param {*} [options] Override http request option.
|
|
13776
|
+
* @throws {RequiredError}
|
|
13777
|
+
*/
|
|
13778
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
|
|
13763
13779
|
/**
|
|
13764
13780
|
* Transfer Billing Connection
|
|
13765
13781
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -14258,6 +14274,14 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
14258
14274
|
* @throws {RequiredError}
|
|
14259
14275
|
*/
|
|
14260
14276
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<Service>;
|
|
14277
|
+
/**
|
|
14278
|
+
* Change Parent
|
|
14279
|
+
* @param {number} [parentId] Parent ID
|
|
14280
|
+
* @param {number} [childId] Child ID
|
|
14281
|
+
* @param {*} [options] Override http request option.
|
|
14282
|
+
* @throws {RequiredError}
|
|
14283
|
+
*/
|
|
14284
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
|
|
14261
14285
|
/**
|
|
14262
14286
|
* Transfer Billing Connection
|
|
14263
14287
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -14756,6 +14780,14 @@ export declare class BillingApi extends BaseAPI {
|
|
|
14756
14780
|
* @throws {RequiredError}
|
|
14757
14781
|
*/
|
|
14758
14782
|
putAddServiceToServicePlan(id: number, putAddServiceToServicePlanRequest: PutAddServiceToServicePlanRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Service, any, {}>>;
|
|
14783
|
+
/**
|
|
14784
|
+
* Change Parent
|
|
14785
|
+
* @param {number} [parentId] Parent ID
|
|
14786
|
+
* @param {number} [childId] Child ID
|
|
14787
|
+
* @param {*} [options] Override http request option.
|
|
14788
|
+
* @throws {RequiredError}
|
|
14789
|
+
*/
|
|
14790
|
+
putChangeParent(parentId?: number, childId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any, {}>>;
|
|
14759
14791
|
/**
|
|
14760
14792
|
* Transfer Billing Connection
|
|
14761
14793
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
package/dist/api.js
CHANGED
|
@@ -7186,6 +7186,47 @@ var BillingApiAxiosParamCreator = function (configuration) {
|
|
|
7186
7186
|
});
|
|
7187
7187
|
});
|
|
7188
7188
|
},
|
|
7189
|
+
/**
|
|
7190
|
+
* Change Parent
|
|
7191
|
+
* @param {number} [parentId] Parent ID
|
|
7192
|
+
* @param {number} [childId] Child ID
|
|
7193
|
+
* @param {*} [options] Override http request option.
|
|
7194
|
+
* @throws {RequiredError}
|
|
7195
|
+
*/
|
|
7196
|
+
putChangeParent: function (parentId_1, childId_1) {
|
|
7197
|
+
var args_1 = [];
|
|
7198
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7199
|
+
args_1[_i - 2] = arguments[_i];
|
|
7200
|
+
}
|
|
7201
|
+
return __awaiter(_this, __spreadArray([parentId_1, childId_1], args_1, true), void 0, function (parentId, childId, options) {
|
|
7202
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7203
|
+
if (options === void 0) { options = {}; }
|
|
7204
|
+
return __generator(this, function (_a) {
|
|
7205
|
+
localVarPath = "/billing/admin/parent/change";
|
|
7206
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7207
|
+
if (configuration) {
|
|
7208
|
+
baseOptions = configuration.baseOptions;
|
|
7209
|
+
}
|
|
7210
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
7211
|
+
localVarHeaderParameter = {};
|
|
7212
|
+
localVarQueryParameter = {};
|
|
7213
|
+
if (parentId !== undefined) {
|
|
7214
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
7215
|
+
}
|
|
7216
|
+
if (childId !== undefined) {
|
|
7217
|
+
localVarQueryParameter['childId'] = childId;
|
|
7218
|
+
}
|
|
7219
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
7220
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7221
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7222
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7223
|
+
return [2 /*return*/, {
|
|
7224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7225
|
+
options: localVarRequestOptions,
|
|
7226
|
+
}];
|
|
7227
|
+
});
|
|
7228
|
+
});
|
|
7229
|
+
},
|
|
7189
7230
|
/**
|
|
7190
7231
|
* Transfer Billing Connection
|
|
7191
7232
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -8874,6 +8915,29 @@ var BillingApiFp = function (configuration) {
|
|
|
8874
8915
|
});
|
|
8875
8916
|
});
|
|
8876
8917
|
},
|
|
8918
|
+
/**
|
|
8919
|
+
* Change Parent
|
|
8920
|
+
* @param {number} [parentId] Parent ID
|
|
8921
|
+
* @param {number} [childId] Child ID
|
|
8922
|
+
* @param {*} [options] Override http request option.
|
|
8923
|
+
* @throws {RequiredError}
|
|
8924
|
+
*/
|
|
8925
|
+
putChangeParent: function (parentId, childId, options) {
|
|
8926
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8927
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8928
|
+
var _a, _b, _c;
|
|
8929
|
+
return __generator(this, function (_d) {
|
|
8930
|
+
switch (_d.label) {
|
|
8931
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putChangeParent(parentId, childId, options)];
|
|
8932
|
+
case 1:
|
|
8933
|
+
localVarAxiosArgs = _d.sent();
|
|
8934
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8935
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.putChangeParent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8936
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8937
|
+
}
|
|
8938
|
+
});
|
|
8939
|
+
});
|
|
8940
|
+
},
|
|
8877
8941
|
/**
|
|
8878
8942
|
* Transfer Billing Connection
|
|
8879
8943
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -9636,6 +9700,16 @@ var BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
9636
9700
|
putAddServiceToServicePlan: function (id, putAddServiceToServicePlanRequest, options) {
|
|
9637
9701
|
return localVarFp.putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then(function (request) { return request(axios, basePath); });
|
|
9638
9702
|
},
|
|
9703
|
+
/**
|
|
9704
|
+
* Change Parent
|
|
9705
|
+
* @param {number} [parentId] Parent ID
|
|
9706
|
+
* @param {number} [childId] Child ID
|
|
9707
|
+
* @param {*} [options] Override http request option.
|
|
9708
|
+
* @throws {RequiredError}
|
|
9709
|
+
*/
|
|
9710
|
+
putChangeParent: function (parentId, childId, options) {
|
|
9711
|
+
return localVarFp.putChangeParent(parentId, childId, options).then(function (request) { return request(axios, basePath); });
|
|
9712
|
+
},
|
|
9639
9713
|
/**
|
|
9640
9714
|
* Transfer Billing Connection
|
|
9641
9715
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -10327,6 +10401,17 @@ var BillingApi = /** @class */ (function (_super) {
|
|
|
10327
10401
|
var _this = this;
|
|
10328
10402
|
return (0, exports.BillingApiFp)(this.configuration).putAddServiceToServicePlan(id, putAddServiceToServicePlanRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10329
10403
|
};
|
|
10404
|
+
/**
|
|
10405
|
+
* Change Parent
|
|
10406
|
+
* @param {number} [parentId] Parent ID
|
|
10407
|
+
* @param {number} [childId] Child ID
|
|
10408
|
+
* @param {*} [options] Override http request option.
|
|
10409
|
+
* @throws {RequiredError}
|
|
10410
|
+
*/
|
|
10411
|
+
BillingApi.prototype.putChangeParent = function (parentId, childId, options) {
|
|
10412
|
+
var _this = this;
|
|
10413
|
+
return (0, exports.BillingApiFp)(this.configuration).putChangeParent(parentId, childId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10414
|
+
};
|
|
10330
10415
|
/**
|
|
10331
10416
|
* Transfer Billing Connection
|
|
10332
10417
|
* @param {PutConnectionSearchRequest} putConnectionSearchRequest Transfer Request
|
|
@@ -72,7 +72,7 @@ export declare const ReportEnum: {
|
|
|
72
72
|
readonly TCX_NEW_PARTNERS: {
|
|
73
73
|
readonly name: "TCX_NEW_PARTNERS";
|
|
74
74
|
readonly value: 15;
|
|
75
|
-
readonly publicValue: "3CX New
|
|
75
|
+
readonly publicValue: "3CX New Partners";
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
export type ReportEnum = typeof ReportEnum;
|
package/docs/BillingApi.md
CHANGED
|
@@ -61,6 +61,7 @@ All URIs are relative to *https://bitbucket.org*
|
|
|
61
61
|
|[**postUpdateRecurringCharge**](#postupdaterecurringcharge) | **POST** /billing/customer/updateRecurringCharges | |
|
|
62
62
|
|[**putAddCallTariffToCallTariffPlan**](#putaddcalltarifftocalltariffplan) | **PUT** /billing/admin/callTariffPlan/callTariff | |
|
|
63
63
|
|[**putAddServiceToServicePlan**](#putaddservicetoserviceplan) | **PUT** /billing/admin/servicePlan/service | |
|
|
64
|
+
|[**putChangeParent**](#putchangeparent) | **PUT** /billing/admin/parent/change | |
|
|
64
65
|
|[**putConnectionSearch**](#putconnectionsearch) | **PUT** /billing/admin/connections | |
|
|
65
66
|
|[**putConvertChildToParent**](#putconvertchildtoparent) | **PUT** /billing/customer/makeParent | |
|
|
66
67
|
|[**putDisableBundles**](#putdisablebundles) | **PUT** /billing/customer/disableBundles | |
|
|
@@ -3154,6 +3155,63 @@ No authorization required
|
|
|
3154
3155
|
|
|
3155
3156
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3156
3157
|
|
|
3158
|
+
# **putChangeParent**
|
|
3159
|
+
> Customer putChangeParent()
|
|
3160
|
+
|
|
3161
|
+
Change Parent
|
|
3162
|
+
|
|
3163
|
+
### Example
|
|
3164
|
+
|
|
3165
|
+
```typescript
|
|
3166
|
+
import {
|
|
3167
|
+
BillingApi,
|
|
3168
|
+
Configuration
|
|
3169
|
+
} from 'yellowgrid-api-ts';
|
|
3170
|
+
|
|
3171
|
+
const configuration = new Configuration();
|
|
3172
|
+
const apiInstance = new BillingApi(configuration);
|
|
3173
|
+
|
|
3174
|
+
let parentId: number; //Parent ID (optional) (default to undefined)
|
|
3175
|
+
let childId: number; //Child ID (optional) (default to undefined)
|
|
3176
|
+
|
|
3177
|
+
const { status, data } = await apiInstance.putChangeParent(
|
|
3178
|
+
parentId,
|
|
3179
|
+
childId
|
|
3180
|
+
);
|
|
3181
|
+
```
|
|
3182
|
+
|
|
3183
|
+
### Parameters
|
|
3184
|
+
|
|
3185
|
+
|Name | Type | Description | Notes|
|
|
3186
|
+
|------------- | ------------- | ------------- | -------------|
|
|
3187
|
+
| **parentId** | [**number**] | Parent ID | (optional) defaults to undefined|
|
|
3188
|
+
| **childId** | [**number**] | Child ID | (optional) defaults to undefined|
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
### Return type
|
|
3192
|
+
|
|
3193
|
+
**Customer**
|
|
3194
|
+
|
|
3195
|
+
### Authorization
|
|
3196
|
+
|
|
3197
|
+
No authorization required
|
|
3198
|
+
|
|
3199
|
+
### HTTP request headers
|
|
3200
|
+
|
|
3201
|
+
- **Content-Type**: Not defined
|
|
3202
|
+
- **Accept**: application/json
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
### HTTP response details
|
|
3206
|
+
| Status code | Description | Response headers |
|
|
3207
|
+
|-------------|-------------|------------------|
|
|
3208
|
+
|**200** | Customer | - |
|
|
3209
|
+
|**400** | Bad Request | - |
|
|
3210
|
+
|**401** | Unauthorised | - |
|
|
3211
|
+
|**403** | Access Denied | - |
|
|
3212
|
+
|
|
3213
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3214
|
+
|
|
3157
3215
|
# **putConnectionSearch**
|
|
3158
3216
|
> OutboundCli putConnectionSearch(putConnectionSearchRequest)
|
|
3159
3217
|
|
package/models/ReportEnum.ts
CHANGED