yellowgrid-api-ts 3.2.5-dev.0 → 3.2.7-dev.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/dist/api.js CHANGED
@@ -740,7 +740,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
740
740
  },
741
741
  /**
742
742
  * Create new customer account
743
- * @summary Create new customer account
743
+ * @summary Create a new customer account
744
744
  * @param {AccountRequestModel} [accountRequestModel] New account request
745
745
  * @param {*} [options] Override http request option.
746
746
  * @throws {RequiredError}
@@ -1291,7 +1291,7 @@ var AccountsApiFp = function (configuration) {
1291
1291
  },
1292
1292
  /**
1293
1293
  * Create new customer account
1294
- * @summary Create new customer account
1294
+ * @summary Create a new customer account
1295
1295
  * @param {AccountRequestModel} [accountRequestModel] New account request
1296
1296
  * @param {*} [options] Override http request option.
1297
1297
  * @throws {RequiredError}
@@ -1583,7 +1583,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1583
1583
  },
1584
1584
  /**
1585
1585
  * Create new customer account
1586
- * @summary Create new customer account
1586
+ * @summary Create a new customer account
1587
1587
  * @param {AccountRequestModel} [accountRequestModel] New account request
1588
1588
  * @param {*} [options] Override http request option.
1589
1589
  * @throws {RequiredError}
@@ -1798,7 +1798,7 @@ var AccountsApi = /** @class */ (function (_super) {
1798
1798
  };
1799
1799
  /**
1800
1800
  * Create new customer account
1801
- * @summary Create new customer account
1801
+ * @summary Create a new customer account
1802
1802
  * @param {AccountRequestModel} [accountRequestModel] New account request
1803
1803
  * @param {*} [options] Override http request option.
1804
1804
  * @throws {RequiredError}
@@ -7349,23 +7349,22 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7349
7349
  },
7350
7350
  /**
7351
7351
  *
7352
- * @param {number} id Number Port ID
7352
+ * @param {number} [pageSize] Number Of Results
7353
+ * @param {number} [page] Page Number
7354
+ * @param {string} [search] Search
7353
7355
  * @param {*} [options] Override http request option.
7354
7356
  * @throws {RequiredError}
7355
7357
  */
7356
- getGetAdminNumberPort: function (id_1) {
7358
+ getCreateNumberPort: function (pageSize_1, page_1, search_1) {
7357
7359
  var args_1 = [];
7358
- for (var _i = 1; _i < arguments.length; _i++) {
7359
- args_1[_i - 1] = arguments[_i];
7360
+ for (var _i = 3; _i < arguments.length; _i++) {
7361
+ args_1[_i - 3] = arguments[_i];
7360
7362
  }
7361
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7363
+ return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
7362
7364
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7363
7365
  if (options === void 0) { options = {}; }
7364
7366
  return __generator(this, function (_a) {
7365
- // verify required parameter 'id' is not null or undefined
7366
- (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
7367
- localVarPath = "/admin/sip/numbers/ports/{id}"
7368
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7367
+ localVarPath = "/sip/numbers/ports";
7369
7368
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7370
7369
  if (configuration) {
7371
7370
  baseOptions = configuration.baseOptions;
@@ -7373,6 +7372,15 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7373
7372
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7374
7373
  localVarHeaderParameter = {};
7375
7374
  localVarQueryParameter = {};
7375
+ if (pageSize !== undefined) {
7376
+ localVarQueryParameter['pageSize'] = pageSize;
7377
+ }
7378
+ if (page !== undefined) {
7379
+ localVarQueryParameter['page'] = page;
7380
+ }
7381
+ if (search !== undefined) {
7382
+ localVarQueryParameter['search'] = search;
7383
+ }
7376
7384
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7377
7385
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7378
7386
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7385,22 +7393,23 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7385
7393
  },
7386
7394
  /**
7387
7395
  *
7388
- * @param {number} [pageSize] Number Of Results
7389
- * @param {number} [page] Page Number
7390
- * @param {string} [search] Search
7396
+ * @param {number} id Number Port ID
7391
7397
  * @param {*} [options] Override http request option.
7392
7398
  * @throws {RequiredError}
7393
7399
  */
7394
- getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
7400
+ getGetAdminNumberPort: function (id_1) {
7395
7401
  var args_1 = [];
7396
- for (var _i = 3; _i < arguments.length; _i++) {
7397
- args_1[_i - 3] = arguments[_i];
7402
+ for (var _i = 1; _i < arguments.length; _i++) {
7403
+ args_1[_i - 1] = arguments[_i];
7398
7404
  }
7399
- return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
7405
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7400
7406
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7401
7407
  if (options === void 0) { options = {}; }
7402
7408
  return __generator(this, function (_a) {
7403
- localVarPath = "/admin/sip/numbers/ports/";
7409
+ // verify required parameter 'id' is not null or undefined
7410
+ (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
7411
+ localVarPath = "/admin/sip/numbers/ports/{id}"
7412
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7404
7413
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7405
7414
  if (configuration) {
7406
7415
  baseOptions = configuration.baseOptions;
@@ -7408,15 +7417,6 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7408
7417
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7409
7418
  localVarHeaderParameter = {};
7410
7419
  localVarQueryParameter = {};
7411
- if (pageSize !== undefined) {
7412
- localVarQueryParameter['pageSize'] = pageSize;
7413
- }
7414
- if (page !== undefined) {
7415
- localVarQueryParameter['page'] = page;
7416
- }
7417
- if (search !== undefined) {
7418
- localVarQueryParameter['search'] = search;
7419
- }
7420
7420
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7421
7421
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7422
7422
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7435,7 +7435,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7435
7435
  * @param {*} [options] Override http request option.
7436
7436
  * @throws {RequiredError}
7437
7437
  */
7438
- getGetNumberPorts: function (pageSize_1, page_1, search_1) {
7438
+ getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
7439
7439
  var args_1 = [];
7440
7440
  for (var _i = 3; _i < arguments.length; _i++) {
7441
7441
  args_1[_i - 3] = arguments[_i];
@@ -7444,7 +7444,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
7444
7444
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7445
7445
  if (options === void 0) { options = {}; }
7446
7446
  return __generator(this, function (_a) {
7447
- localVarPath = "/sip/numbers/ports/";
7447
+ localVarPath = "/admin/sip/numbers/ports";
7448
7448
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7449
7449
  if (configuration) {
7450
7450
  baseOptions = configuration.baseOptions;
@@ -7900,21 +7900,23 @@ var NumberPortingApiFp = function (configuration) {
7900
7900
  },
7901
7901
  /**
7902
7902
  *
7903
- * @param {number} id Number Port ID
7903
+ * @param {number} [pageSize] Number Of Results
7904
+ * @param {number} [page] Page Number
7905
+ * @param {string} [search] Search
7904
7906
  * @param {*} [options] Override http request option.
7905
7907
  * @throws {RequiredError}
7906
7908
  */
7907
- getGetAdminNumberPort: function (id, options) {
7909
+ getCreateNumberPort: function (pageSize, page, search, options) {
7908
7910
  return __awaiter(this, void 0, void 0, function () {
7909
7911
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7910
7912
  var _a, _b, _c;
7911
7913
  return __generator(this, function (_d) {
7912
7914
  switch (_d.label) {
7913
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
7915
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options)];
7914
7916
  case 1:
7915
7917
  localVarAxiosArgs = _d.sent();
7916
7918
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7917
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7919
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7918
7920
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7919
7921
  }
7920
7922
  });
@@ -7922,23 +7924,21 @@ var NumberPortingApiFp = function (configuration) {
7922
7924
  },
7923
7925
  /**
7924
7926
  *
7925
- * @param {number} [pageSize] Number Of Results
7926
- * @param {number} [page] Page Number
7927
- * @param {string} [search] Search
7927
+ * @param {number} id Number Port ID
7928
7928
  * @param {*} [options] Override http request option.
7929
7929
  * @throws {RequiredError}
7930
7930
  */
7931
- getGetAdminNumberPorts: function (pageSize, page, search, options) {
7931
+ getGetAdminNumberPort: function (id, options) {
7932
7932
  return __awaiter(this, void 0, void 0, function () {
7933
7933
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7934
7934
  var _a, _b, _c;
7935
7935
  return __generator(this, function (_d) {
7936
7936
  switch (_d.label) {
7937
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
7937
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
7938
7938
  case 1:
7939
7939
  localVarAxiosArgs = _d.sent();
7940
7940
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7941
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7941
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7942
7942
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7943
7943
  }
7944
7944
  });
@@ -7952,17 +7952,17 @@ var NumberPortingApiFp = function (configuration) {
7952
7952
  * @param {*} [options] Override http request option.
7953
7953
  * @throws {RequiredError}
7954
7954
  */
7955
- getGetNumberPorts: function (pageSize, page, search, options) {
7955
+ getGetAdminNumberPorts: function (pageSize, page, search, options) {
7956
7956
  return __awaiter(this, void 0, void 0, function () {
7957
7957
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7958
7958
  var _a, _b, _c;
7959
7959
  return __generator(this, function (_d) {
7960
7960
  switch (_d.label) {
7961
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetNumberPorts(pageSize, page, search, options)];
7961
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
7962
7962
  case 1:
7963
7963
  localVarAxiosArgs = _d.sent();
7964
7964
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7965
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7965
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7966
7966
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7967
7967
  }
7968
7968
  });
@@ -8149,23 +8149,23 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
8149
8149
  },
8150
8150
  /**
8151
8151
  *
8152
- * @param {number} id Number Port ID
8152
+ * @param {number} [pageSize] Number Of Results
8153
+ * @param {number} [page] Page Number
8154
+ * @param {string} [search] Search
8153
8155
  * @param {*} [options] Override http request option.
8154
8156
  * @throws {RequiredError}
8155
8157
  */
8156
- getGetAdminNumberPort: function (id, options) {
8157
- return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
8158
+ getCreateNumberPort: function (pageSize, page, search, options) {
8159
+ return localVarFp.getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8158
8160
  },
8159
8161
  /**
8160
8162
  *
8161
- * @param {number} [pageSize] Number Of Results
8162
- * @param {number} [page] Page Number
8163
- * @param {string} [search] Search
8163
+ * @param {number} id Number Port ID
8164
8164
  * @param {*} [options] Override http request option.
8165
8165
  * @throws {RequiredError}
8166
8166
  */
8167
- getGetAdminNumberPorts: function (pageSize, page, search, options) {
8168
- return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8167
+ getGetAdminNumberPort: function (id, options) {
8168
+ return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
8169
8169
  },
8170
8170
  /**
8171
8171
  *
@@ -8175,8 +8175,8 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
8175
8175
  * @param {*} [options] Override http request option.
8176
8176
  * @throws {RequiredError}
8177
8177
  */
8178
- getGetNumberPorts: function (pageSize, page, search, options) {
8179
- return localVarFp.getGetNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8178
+ getGetAdminNumberPorts: function (pageSize, page, search, options) {
8179
+ return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8180
8180
  },
8181
8181
  /**
8182
8182
  *
@@ -8297,25 +8297,25 @@ var NumberPortingApi = /** @class */ (function (_super) {
8297
8297
  };
8298
8298
  /**
8299
8299
  *
8300
- * @param {number} id Number Port ID
8300
+ * @param {number} [pageSize] Number Of Results
8301
+ * @param {number} [page] Page Number
8302
+ * @param {string} [search] Search
8301
8303
  * @param {*} [options] Override http request option.
8302
8304
  * @throws {RequiredError}
8303
8305
  */
8304
- NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
8306
+ NumberPortingApi.prototype.getCreateNumberPort = function (pageSize, page, search, options) {
8305
8307
  var _this = this;
8306
- return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8308
+ return (0, exports.NumberPortingApiFp)(this.configuration).getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
8307
8309
  };
8308
8310
  /**
8309
8311
  *
8310
- * @param {number} [pageSize] Number Of Results
8311
- * @param {number} [page] Page Number
8312
- * @param {string} [search] Search
8312
+ * @param {number} id Number Port ID
8313
8313
  * @param {*} [options] Override http request option.
8314
8314
  * @throws {RequiredError}
8315
8315
  */
8316
- NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
8316
+ NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
8317
8317
  var _this = this;
8318
- return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
8318
+ return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8319
8319
  };
8320
8320
  /**
8321
8321
  *
@@ -8325,9 +8325,9 @@ var NumberPortingApi = /** @class */ (function (_super) {
8325
8325
  * @param {*} [options] Override http request option.
8326
8326
  * @throws {RequiredError}
8327
8327
  */
8328
- NumberPortingApi.prototype.getGetNumberPorts = function (pageSize, page, search, options) {
8328
+ NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
8329
8329
  var _this = this;
8330
- return (0, exports.NumberPortingApiFp)(this.configuration).getGetNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
8330
+ return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
8331
8331
  };
8332
8332
  /**
8333
8333
  *
@@ -9080,8 +9080,8 @@ exports.PostAccessTokenScopeEnum = {
9080
9080
  TcxWizard: 'tcx_wizard',
9081
9081
  AccountsRead: 'accounts.read',
9082
9082
  AccountsWrite: 'accounts.write',
9083
- NumberPortingread: 'number_portingread',
9084
- NumberPortingwrite: 'number_portingwrite',
9083
+ NumberPortingRead: 'number_porting.read',
9084
+ NumberPortingWrite: 'number_porting.write',
9085
9085
  PricingRead: 'pricing.read',
9086
9086
  OrdersRead: 'orders.read',
9087
9087
  OrdersWrite: 'orders.write',
@@ -9112,8 +9112,8 @@ exports.PostAuthoriseScopeEnum = {
9112
9112
  TcxWizard: 'tcx_wizard',
9113
9113
  AccountsRead: 'accounts.read',
9114
9114
  AccountsWrite: 'accounts.write',
9115
- NumberPortingread: 'number_portingread',
9116
- NumberPortingwrite: 'number_portingwrite',
9115
+ NumberPortingRead: 'number_porting.read',
9116
+ NumberPortingWrite: 'number_porting.write',
9117
9117
  PricingRead: 'pricing.read',
9118
9118
  OrdersRead: 'orders.read',
9119
9119
  OrdersWrite: 'orders.write',
@@ -10288,6 +10288,39 @@ var ProductsApiAxiosParamCreator = function (configuration) {
10288
10288
  });
10289
10289
  });
10290
10290
  },
10291
+ /**
10292
+ * Get Customer Price Lists
10293
+ * @summary Get Customer Price Lists
10294
+ * @param {*} [options] Override http request option.
10295
+ * @throws {RequiredError}
10296
+ */
10297
+ getGetCustomerPriceLists: function () {
10298
+ var args_1 = [];
10299
+ for (var _i = 0; _i < arguments.length; _i++) {
10300
+ args_1[_i] = arguments[_i];
10301
+ }
10302
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
10303
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10304
+ if (options === void 0) { options = {}; }
10305
+ return __generator(this, function (_a) {
10306
+ localVarPath = "/products/prices/lists";
10307
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10308
+ if (configuration) {
10309
+ baseOptions = configuration.baseOptions;
10310
+ }
10311
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10312
+ localVarHeaderParameter = {};
10313
+ localVarQueryParameter = {};
10314
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10315
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10316
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10317
+ return [2 /*return*/, {
10318
+ url: (0, common_1.toPathString)(localVarUrlObj),
10319
+ options: localVarRequestOptions,
10320
+ }];
10321
+ });
10322
+ });
10323
+ },
10291
10324
  /**
10292
10325
  * Get Current Stock & Pricing
10293
10326
  * @summary Get Current Stock & Pricing
@@ -10593,6 +10626,28 @@ var ProductsApiFp = function (configuration) {
10593
10626
  });
10594
10627
  });
10595
10628
  },
10629
+ /**
10630
+ * Get Customer Price Lists
10631
+ * @summary Get Customer Price Lists
10632
+ * @param {*} [options] Override http request option.
10633
+ * @throws {RequiredError}
10634
+ */
10635
+ getGetCustomerPriceLists: function (options) {
10636
+ return __awaiter(this, void 0, void 0, function () {
10637
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
10638
+ var _a, _b, _c;
10639
+ return __generator(this, function (_d) {
10640
+ switch (_d.label) {
10641
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerPriceLists(options)];
10642
+ case 1:
10643
+ localVarAxiosArgs = _d.sent();
10644
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10645
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetCustomerPriceLists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10646
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
10647
+ }
10648
+ });
10649
+ });
10650
+ },
10596
10651
  /**
10597
10652
  * Get Current Stock & Pricing
10598
10653
  * @summary Get Current Stock & Pricing
@@ -10775,6 +10830,15 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
10775
10830
  getGetAttributeSets: function (options) {
10776
10831
  return localVarFp.getGetAttributeSets(options).then(function (request) { return request(axios, basePath); });
10777
10832
  },
10833
+ /**
10834
+ * Get Customer Price Lists
10835
+ * @summary Get Customer Price Lists
10836
+ * @param {*} [options] Override http request option.
10837
+ * @throws {RequiredError}
10838
+ */
10839
+ getGetCustomerPriceLists: function (options) {
10840
+ return localVarFp.getGetCustomerPriceLists(options).then(function (request) { return request(axios, basePath); });
10841
+ },
10778
10842
  /**
10779
10843
  * Get Current Stock & Pricing
10780
10844
  * @summary Get Current Stock & Pricing
@@ -10869,6 +10933,16 @@ var ProductsApi = /** @class */ (function (_super) {
10869
10933
  var _this = this;
10870
10934
  return (0, exports.ProductsApiFp)(this.configuration).getGetAttributeSets(options).then(function (request) { return request(_this.axios, _this.basePath); });
10871
10935
  };
10936
+ /**
10937
+ * Get Customer Price Lists
10938
+ * @summary Get Customer Price Lists
10939
+ * @param {*} [options] Override http request option.
10940
+ * @throws {RequiredError}
10941
+ */
10942
+ ProductsApi.prototype.getGetCustomerPriceLists = function (options) {
10943
+ var _this = this;
10944
+ return (0, exports.ProductsApiFp)(this.configuration).getGetCustomerPriceLists(options).then(function (request) { return request(_this.axios, _this.basePath); });
10945
+ };
10872
10946
  /**
10873
10947
  * Get Current Stock & Pricing
10874
10948
  * @summary Get Current Stock & Pricing
@@ -16,7 +16,7 @@ All URIs are relative to *http://api.yellowgrid.local*
16
16
  |[**patchSetTcxWizardCname**](#patchsettcxwizardcname) | **PATCH** /accounts/me/cname | |
17
17
  |[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
18
18
  |[**postGetAccountContacts**](#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact|
19
- |[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create new customer account|
19
+ |[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create a new customer account|
20
20
  |[**postGetAdminAccount**](#postgetadminaccount) | **POST** /admin/me | Get Admin Account|
21
21
  |[**postGetClientCredentials**](#postgetclientcredentials) | **POST** /accounts/me/contacts/credentials | Create client credentials|
22
22
  |[**postSendEmailVerificationEmail**](#postsendemailverificationemail) | **POST** /accounts/contacts/verify/{email} | Send email verification email|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **ignoreCreditLimit** | **boolean** | Ignore Customer Credit Limit | [optional] [default to false]
20
20
  **includeNfrPromos** | **boolean** | Include NFR Promos | [optional] [default to false]
21
21
  **carriageCharge** | **number** | Carriage Charge | [optional] [default to undefined]
22
+ **sendOrderEmail** | **boolean** | Send Order Email | [optional] [default to undefined]
22
23
 
23
24
  ## Example
24
25
 
@@ -39,6 +40,7 @@ const instance: AdminOrderRequestDTO = {
39
40
  ignoreCreditLimit,
40
41
  includeNfrPromos,
41
42
  carriageCharge,
43
+ sendOrderEmail,
42
44
  };
43
45
  ```
44
46
 
@@ -5,9 +5,9 @@ All URIs are relative to *http://api.yellowgrid.local*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**deleteGetAdminNumberPort**](#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} | |
8
+ |[**getCreateNumberPort**](#getcreatenumberport) | **GET** /sip/numbers/ports | |
8
9
  |[**getGetAdminNumberPort**](#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} | |
9
- |[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports/ | |
10
- |[**getGetNumberPorts**](#getgetnumberports) | **GET** /sip/numbers/ports/ | |
10
+ |[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports | |
11
11
  |[**getUpdateNumberPort**](#getupdatenumberport) | **GET** /sip/numbers/ports/{id} | |
12
12
  |[**postCreateNumberPort**](#postcreatenumberport) | **POST** /sip/numbers/ports | |
13
13
  |[**postSubmitNumberPort**](#postsubmitnumberport) | **POST** /sip/numbers/ports/{id}/submit | |
@@ -67,8 +67,8 @@ No authorization required
67
67
 
68
68
  [[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)
69
69
 
70
- # **getGetAdminNumberPort**
71
- > NumberPortDTO getGetAdminNumberPort()
70
+ # **getCreateNumberPort**
71
+ > NumberPortsModel getCreateNumberPort()
72
72
 
73
73
 
74
74
  ### Example
@@ -82,10 +82,14 @@ import {
82
82
  const configuration = new Configuration();
83
83
  const apiInstance = new NumberPortingApi(configuration);
84
84
 
85
- let id: number; //Number Port ID (default to undefined)
85
+ let pageSize: number; //Number Of Results (optional) (default to 20)
86
+ let page: number; //Page Number (optional) (default to 1)
87
+ let search: string; //Search (optional) (default to undefined)
86
88
 
87
- const { status, data } = await apiInstance.getGetAdminNumberPort(
88
- id
89
+ const { status, data } = await apiInstance.getCreateNumberPort(
90
+ pageSize,
91
+ page,
92
+ search
89
93
  );
90
94
  ```
91
95
 
@@ -93,12 +97,14 @@ const { status, data } = await apiInstance.getGetAdminNumberPort(
93
97
 
94
98
  |Name | Type | Description | Notes|
95
99
  |------------- | ------------- | ------------- | -------------|
96
- | **id** | [**number**] | Number Port ID | defaults to undefined|
100
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
101
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
102
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
97
103
 
98
104
 
99
105
  ### Return type
100
106
 
101
- **NumberPortDTO**
107
+ **NumberPortsModel**
102
108
 
103
109
  ### Authorization
104
110
 
@@ -113,15 +119,15 @@ No authorization required
113
119
  ### HTTP response details
114
120
  | Status code | Description | Response headers |
115
121
  |-------------|-------------|------------------|
116
- |**200** | NumberPortDTO | - |
122
+ |**200** | Number Ports | - |
117
123
  |**400** | Bad Request | - |
118
124
  |**401** | Unauthorised | - |
119
125
  |**403** | Access Denied | - |
120
126
 
121
127
  [[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)
122
128
 
123
- # **getGetAdminNumberPorts**
124
- > NumberPortsModel getGetAdminNumberPorts()
129
+ # **getGetAdminNumberPort**
130
+ > NumberPortDTO getGetAdminNumberPort()
125
131
 
126
132
 
127
133
  ### Example
@@ -135,14 +141,10 @@ import {
135
141
  const configuration = new Configuration();
136
142
  const apiInstance = new NumberPortingApi(configuration);
137
143
 
138
- let pageSize: number; //Number Of Results (optional) (default to 20)
139
- let page: number; //Page Number (optional) (default to 1)
140
- let search: string; //Search (optional) (default to undefined)
144
+ let id: number; //Number Port ID (default to undefined)
141
145
 
142
- const { status, data } = await apiInstance.getGetAdminNumberPorts(
143
- pageSize,
144
- page,
145
- search
146
+ const { status, data } = await apiInstance.getGetAdminNumberPort(
147
+ id
146
148
  );
147
149
  ```
148
150
 
@@ -150,14 +152,12 @@ const { status, data } = await apiInstance.getGetAdminNumberPorts(
150
152
 
151
153
  |Name | Type | Description | Notes|
152
154
  |------------- | ------------- | ------------- | -------------|
153
- | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
154
- | **page** | [**number**] | Page Number | (optional) defaults to 1|
155
- | **search** | [**string**] | Search | (optional) defaults to undefined|
155
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
156
156
 
157
157
 
158
158
  ### Return type
159
159
 
160
- **NumberPortsModel**
160
+ **NumberPortDTO**
161
161
 
162
162
  ### Authorization
163
163
 
@@ -172,15 +172,15 @@ No authorization required
172
172
  ### HTTP response details
173
173
  | Status code | Description | Response headers |
174
174
  |-------------|-------------|------------------|
175
- |**200** | Number Ports | - |
175
+ |**200** | NumberPortDTO | - |
176
176
  |**400** | Bad Request | - |
177
177
  |**401** | Unauthorised | - |
178
178
  |**403** | Access Denied | - |
179
179
 
180
180
  [[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)
181
181
 
182
- # **getGetNumberPorts**
183
- > NumberPortsModel getGetNumberPorts()
182
+ # **getGetAdminNumberPorts**
183
+ > NumberPortsModel getGetAdminNumberPorts()
184
184
 
185
185
 
186
186
  ### Example
@@ -198,7 +198,7 @@ let pageSize: number; //Number Of Results (optional) (default to 20)
198
198
  let page: number; //Page Number (optional) (default to 1)
199
199
  let search: string; //Search (optional) (default to undefined)
200
200
 
201
- const { status, data } = await apiInstance.getGetNumberPorts(
201
+ const { status, data } = await apiInstance.getGetAdminNumberPorts(
202
202
  pageSize,
203
203
  page,
204
204
  search
@@ -157,7 +157,7 @@ const { status, data } = await apiInstance.postAccessToken(
157
157
  | **clientId** | [**string**] | OAuth 2.0 Client ID | (optional) defaults to undefined|
158
158
  | **clientSecret** | [**string**] | OAuth 2.0 Client Secret | (optional) defaults to undefined|
159
159
  | **grantType** | [**string**]**Array<&#39;client_credentials&#39; &#124; &#39;code&#39; &#124; &#39;refresh_token&#39; &#124; &#39;authorization_code&#39; &#124; &#39;ms_auth&#39; &#124; &#39;token_exchange&#39; &#124; &#39;password&#39;>** | OAuth 2.0 Grant Type | (optional) defaults to undefined|
160
- | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_portingread&#39; &#124; &#39;number_portingwrite&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
160
+ | **scope** | [**string**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | (optional) defaults to undefined|
161
161
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
162
162
  | **code** | [**string**] | OAuth 2.0 Auth Code | (optional) defaults to undefined|
163
163
  | **refreshToken** | [**string**] | OAuth 2.0 Refresh Token | (optional) defaults to undefined|
@@ -210,7 +210,7 @@ const apiInstance = new OAuth20Api(configuration);
210
210
 
211
211
  let clientId: string; //OAuth 2.0 Client ID (default to undefined)
212
212
  let responseType: string; //OAuth 2.0 Response Type (default to 'code')
213
- let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'number_portingread' | 'number_portingwrite' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
213
+ let scope: '*' | 'fdps' | 'scope' | 'portal' | 'tcx_wizard' | 'accounts.read' | 'accounts.write' | 'number_porting.read' | 'number_porting.write' | 'pricing.read' | 'orders.read' | 'orders.write' | 'products.read' | 'provisioning.read' | 'provisioning.write' | 'trunks.read' | 'trunks.write' | 'tcx_integrations.read' | 'tcx_integrations.write' | 'tcx_licence_details.read' | 'tcx_installations.read' | 'tcx_installations.write' | 'tcx_mt.read' | 'tcx_mt.write' | 'tickets.read' | 'tickets.write'; //OAuth 2.0 Scope (default to undefined)
214
214
  let redirectUri: string; //OAuth 2.0 Redirect URI (optional) (default to undefined)
215
215
  let state: string; //OAuth 2.0 State (optional) (default to undefined)
216
216
  let codeChallenge: string; //OAuth 2.0 Code Challenge (optional) (default to undefined)
@@ -233,7 +233,7 @@ const { status, data } = await apiInstance.postAuthorise(
233
233
  |------------- | ------------- | ------------- | -------------|
234
234
  | **clientId** | [**string**] | OAuth 2.0 Client ID | defaults to undefined|
235
235
  | **responseType** | [**string**] | OAuth 2.0 Response Type | defaults to 'code'|
236
- | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;number_portingread&#39; | &#39;number_portingwrite&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_portingread&#39; &#124; &#39;number_portingwrite&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
236
+ | **scope** | [**&#39;*&#39; | &#39;fdps&#39; | &#39;scope&#39; | &#39;portal&#39; | &#39;tcx_wizard&#39; | &#39;accounts.read&#39; | &#39;accounts.write&#39; | &#39;number_porting.read&#39; | &#39;number_porting.write&#39; | &#39;pricing.read&#39; | &#39;orders.read&#39; | &#39;orders.write&#39; | &#39;products.read&#39; | &#39;provisioning.read&#39; | &#39;provisioning.write&#39; | &#39;trunks.read&#39; | &#39;trunks.write&#39; | &#39;tcx_integrations.read&#39; | &#39;tcx_integrations.write&#39; | &#39;tcx_licence_details.read&#39; | &#39;tcx_installations.read&#39; | &#39;tcx_installations.write&#39; | &#39;tcx_mt.read&#39; | &#39;tcx_mt.write&#39; | &#39;tickets.read&#39; | &#39;tickets.write&#39;**]**Array<&#39;*&#39; &#124; &#39;fdps&#39; &#124; &#39;scope&#39; &#124; &#39;portal&#39; &#124; &#39;tcx_wizard&#39; &#124; &#39;accounts.read&#39; &#124; &#39;accounts.write&#39; &#124; &#39;number_porting.read&#39; &#124; &#39;number_porting.write&#39; &#124; &#39;pricing.read&#39; &#124; &#39;orders.read&#39; &#124; &#39;orders.write&#39; &#124; &#39;products.read&#39; &#124; &#39;provisioning.read&#39; &#124; &#39;provisioning.write&#39; &#124; &#39;trunks.read&#39; &#124; &#39;trunks.write&#39; &#124; &#39;tcx_integrations.read&#39; &#124; &#39;tcx_integrations.write&#39; &#124; &#39;tcx_licence_details.read&#39; &#124; &#39;tcx_installations.read&#39; &#124; &#39;tcx_installations.write&#39; &#124; &#39;tcx_mt.read&#39; &#124; &#39;tcx_mt.write&#39; &#124; &#39;tickets.read&#39; &#124; &#39;tickets.write&#39;>** | OAuth 2.0 Scope | defaults to undefined|
237
237
  | **redirectUri** | [**string**] | OAuth 2.0 Redirect URI | (optional) defaults to undefined|
238
238
  | **state** | [**string**] | OAuth 2.0 State | (optional) defaults to undefined|
239
239
  | **codeChallenge** | [**string**] | OAuth 2.0 Code Challenge | (optional) defaults to undefined|