yellowgrid-api-ts 3.2.159-dev.0 → 3.2.161-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
@@ -178,6 +178,7 @@ exports.AuditLogEntityTypeEnum = {
178
178
  PopsStockTransactions: 'pops_stock_transactions',
179
179
  PopsSuppliers: 'pops_suppliers',
180
180
  PopsSupplierItems: 'pops_supplier_items',
181
+ PopsTableAttribs: 'pops_table_attribs',
181
182
  Pops3cxBackup: 'pops_3cx_backup',
182
183
  Pops3cxBilling: 'pops_3cx_billing',
183
184
  PopsDeadLicences: 'pops_dead_licences',
@@ -946,6 +947,40 @@ var AccountsApiAxiosParamCreator = function (configuration) {
946
947
  });
947
948
  });
948
949
  },
950
+ /**
951
+ * Get Last Account
952
+ * @summary Get Last Account
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ getGetLastAccount: function () {
957
+ var args_1 = [];
958
+ for (var _i = 0; _i < arguments.length; _i++) {
959
+ args_1[_i] = arguments[_i];
960
+ }
961
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
962
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
963
+ if (options === void 0) { options = {}; }
964
+ return __generator(this, function (_a) {
965
+ localVarPath = "/admin/accounts/last";
966
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
967
+ if (configuration) {
968
+ baseOptions = configuration.baseOptions;
969
+ }
970
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
971
+ localVarHeaderParameter = {};
972
+ localVarQueryParameter = {};
973
+ localVarHeaderParameter['Accept'] = 'application/json';
974
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
975
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
976
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
977
+ return [2 /*return*/, {
978
+ url: (0, common_1.toPathString)(localVarUrlObj),
979
+ options: localVarRequestOptions,
980
+ }];
981
+ });
982
+ });
983
+ },
949
984
  /**
950
985
  * Get Account 3CX Details
951
986
  * @param {string} id Xero ID
@@ -2343,6 +2378,28 @@ var AccountsApiFp = function (configuration) {
2343
2378
  });
2344
2379
  });
2345
2380
  },
2381
+ /**
2382
+ * Get Last Account
2383
+ * @summary Get Last Account
2384
+ * @param {*} [options] Override http request option.
2385
+ * @throws {RequiredError}
2386
+ */
2387
+ getGetLastAccount: function (options) {
2388
+ return __awaiter(this, void 0, void 0, function () {
2389
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2390
+ var _a, _b, _c;
2391
+ return __generator(this, function (_d) {
2392
+ switch (_d.label) {
2393
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLastAccount(options)];
2394
+ case 1:
2395
+ localVarAxiosArgs = _d.sent();
2396
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2397
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetLastAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2398
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2399
+ }
2400
+ });
2401
+ });
2402
+ },
2346
2403
  /**
2347
2404
  * Get Account 3CX Details
2348
2405
  * @param {string} id Xero ID
@@ -3124,6 +3181,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3124
3181
  getGetFinanceSettings: function (id, options) {
3125
3182
  return localVarFp.getGetFinanceSettings(id, options).then(function (request) { return request(axios, basePath); });
3126
3183
  },
3184
+ /**
3185
+ * Get Last Account
3186
+ * @summary Get Last Account
3187
+ * @param {*} [options] Override http request option.
3188
+ * @throws {RequiredError}
3189
+ */
3190
+ getGetLastAccount: function (options) {
3191
+ return localVarFp.getGetLastAccount(options).then(function (request) { return request(axios, basePath); });
3192
+ },
3127
3193
  /**
3128
3194
  * Get Account 3CX Details
3129
3195
  * @param {string} id Xero ID
@@ -3556,6 +3622,16 @@ var AccountsApi = /** @class */ (function (_super) {
3556
3622
  var _this = this;
3557
3623
  return (0, exports.AccountsApiFp)(this.configuration).getGetFinanceSettings(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
3558
3624
  };
3625
+ /**
3626
+ * Get Last Account
3627
+ * @summary Get Last Account
3628
+ * @param {*} [options] Override http request option.
3629
+ * @throws {RequiredError}
3630
+ */
3631
+ AccountsApi.prototype.getGetLastAccount = function (options) {
3632
+ var _this = this;
3633
+ return (0, exports.AccountsApiFp)(this.configuration).getGetLastAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
3634
+ };
3559
3635
  /**
3560
3636
  * Get Account 3CX Details
3561
3637
  * @param {string} id Xero ID
@@ -4278,6 +4354,7 @@ exports.CRMApi = CRMApi;
4278
4354
  exports.GetGetCrmActivitiesTypeEnum = {
4279
4355
  Alert: 'alert',
4280
4356
  Call: 'call',
4357
+ Email: 'email',
4281
4358
  Note: 'note',
4282
4359
  Order: 'order',
4283
4360
  Quote: 'quote',
@@ -4329,6 +4406,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
4329
4406
  });
4330
4407
  });
4331
4408
  },
4409
+ /**
4410
+ * Get 3CX Expiring Keys
4411
+ * @summary Get 3CX Expiring Keys
4412
+ * @param {*} [options] Override http request option.
4413
+ * @throws {RequiredError}
4414
+ */
4415
+ getGetTcxExpiringKeys: function () {
4416
+ var args_1 = [];
4417
+ for (var _i = 0; _i < arguments.length; _i++) {
4418
+ args_1[_i] = arguments[_i];
4419
+ }
4420
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
4421
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4422
+ if (options === void 0) { options = {}; }
4423
+ return __generator(this, function (_a) {
4424
+ localVarPath = "/tcx/admin/keys/expiring/csv";
4425
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4426
+ if (configuration) {
4427
+ baseOptions = configuration.baseOptions;
4428
+ }
4429
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4430
+ localVarHeaderParameter = {};
4431
+ localVarQueryParameter = {};
4432
+ localVarHeaderParameter['Accept'] = 'text/csv';
4433
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4434
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4435
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4436
+ return [2 /*return*/, {
4437
+ url: (0, common_1.toPathString)(localVarUrlObj),
4438
+ options: localVarRequestOptions,
4439
+ }];
4440
+ });
4441
+ });
4442
+ },
4332
4443
  /**
4333
4444
  * Get Bulk 3CX Licence Details
4334
4445
  * @summary Get bulk 3CX Licence Details
@@ -4398,6 +4509,28 @@ var Class3CXApiFp = function (configuration) {
4398
4509
  });
4399
4510
  });
4400
4511
  },
4512
+ /**
4513
+ * Get 3CX Expiring Keys
4514
+ * @summary Get 3CX Expiring Keys
4515
+ * @param {*} [options] Override http request option.
4516
+ * @throws {RequiredError}
4517
+ */
4518
+ getGetTcxExpiringKeys: function (options) {
4519
+ return __awaiter(this, void 0, void 0, function () {
4520
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4521
+ var _a, _b, _c;
4522
+ return __generator(this, function (_d) {
4523
+ switch (_d.label) {
4524
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeys(options)];
4525
+ case 1:
4526
+ localVarAxiosArgs = _d.sent();
4527
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4528
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4529
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4530
+ }
4531
+ });
4532
+ });
4533
+ },
4401
4534
  /**
4402
4535
  * Get Bulk 3CX Licence Details
4403
4536
  * @summary Get bulk 3CX Licence Details
@@ -4440,6 +4573,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
4440
4573
  getGetLicenceDetails: function (key, options) {
4441
4574
  return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
4442
4575
  },
4576
+ /**
4577
+ * Get 3CX Expiring Keys
4578
+ * @summary Get 3CX Expiring Keys
4579
+ * @param {*} [options] Override http request option.
4580
+ * @throws {RequiredError}
4581
+ */
4582
+ getGetTcxExpiringKeys: function (options) {
4583
+ return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
4584
+ },
4443
4585
  /**
4444
4586
  * Get Bulk 3CX Licence Details
4445
4587
  * @summary Get bulk 3CX Licence Details
@@ -4472,6 +4614,16 @@ var Class3CXApi = /** @class */ (function (_super) {
4472
4614
  var _this = this;
4473
4615
  return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
4474
4616
  };
4617
+ /**
4618
+ * Get 3CX Expiring Keys
4619
+ * @summary Get 3CX Expiring Keys
4620
+ * @param {*} [options] Override http request option.
4621
+ * @throws {RequiredError}
4622
+ */
4623
+ Class3CXApi.prototype.getGetTcxExpiringKeys = function (options) {
4624
+ var _this = this;
4625
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
4626
+ };
4475
4627
  /**
4476
4628
  * Get Bulk 3CX Licence Details
4477
4629
  * @summary Get bulk 3CX Licence Details
@@ -7443,6 +7595,44 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
7443
7595
  });
7444
7596
  });
7445
7597
  },
7598
+ /**
7599
+ * Get Recording Backup Storage
7600
+ * @summary Get Recording Backup Storage
7601
+ * @param {string} instanceId Instance ID
7602
+ * @param {*} [options] Override http request option.
7603
+ * @throws {RequiredError}
7604
+ */
7605
+ getGetRecordingBackupStorage: function (instanceId_1) {
7606
+ var args_1 = [];
7607
+ for (var _i = 1; _i < arguments.length; _i++) {
7608
+ args_1[_i - 1] = arguments[_i];
7609
+ }
7610
+ return __awaiter(_this, __spreadArray([instanceId_1], args_1, true), void 0, function (instanceId, options) {
7611
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7612
+ if (options === void 0) { options = {}; }
7613
+ return __generator(this, function (_a) {
7614
+ // verify required parameter 'instanceId' is not null or undefined
7615
+ (0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
7616
+ localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
7617
+ .replace("{".concat("instance_id", "}"), encodeURIComponent(String(instanceId)));
7618
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7619
+ if (configuration) {
7620
+ baseOptions = configuration.baseOptions;
7621
+ }
7622
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7623
+ localVarHeaderParameter = {};
7624
+ localVarQueryParameter = {};
7625
+ localVarHeaderParameter['Accept'] = 'application/json';
7626
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7627
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7628
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7629
+ return [2 /*return*/, {
7630
+ url: (0, common_1.toPathString)(localVarUrlObj),
7631
+ options: localVarRequestOptions,
7632
+ }];
7633
+ });
7634
+ });
7635
+ },
7446
7636
  /**
7447
7637
  * Change instance owner
7448
7638
  * @summary Change instance owner
@@ -8213,6 +8403,29 @@ var Class3CXInstallationsApiFp = function (configuration) {
8213
8403
  });
8214
8404
  });
8215
8405
  },
8406
+ /**
8407
+ * Get Recording Backup Storage
8408
+ * @summary Get Recording Backup Storage
8409
+ * @param {string} instanceId Instance ID
8410
+ * @param {*} [options] Override http request option.
8411
+ * @throws {RequiredError}
8412
+ */
8413
+ getGetRecordingBackupStorage: function (instanceId, options) {
8414
+ return __awaiter(this, void 0, void 0, function () {
8415
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8416
+ var _a, _b, _c;
8417
+ return __generator(this, function (_d) {
8418
+ switch (_d.label) {
8419
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecordingBackupStorage(instanceId, options)];
8420
+ case 1:
8421
+ localVarAxiosArgs = _d.sent();
8422
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8423
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXInstallationsApi.getGetRecordingBackupStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8424
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8425
+ }
8426
+ });
8427
+ });
8428
+ },
8216
8429
  /**
8217
8430
  * Change instance owner
8218
8431
  * @summary Change instance owner
@@ -8654,6 +8867,16 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
8654
8867
  getGetInstallations: function (pageSize, page, customerId, search, status, hosting, installType, options) {
8655
8868
  return localVarFp.getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(axios, basePath); });
8656
8869
  },
8870
+ /**
8871
+ * Get Recording Backup Storage
8872
+ * @summary Get Recording Backup Storage
8873
+ * @param {string} instanceId Instance ID
8874
+ * @param {*} [options] Override http request option.
8875
+ * @throws {RequiredError}
8876
+ */
8877
+ getGetRecordingBackupStorage: function (instanceId, options) {
8878
+ return localVarFp.getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(axios, basePath); });
8879
+ },
8657
8880
  /**
8658
8881
  * Change instance owner
8659
8882
  * @summary Change instance owner
@@ -8878,6 +9101,17 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
8878
9101
  var _this = this;
8879
9102
  return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetInstallations(pageSize, page, customerId, search, status, hosting, installType, options).then(function (request) { return request(_this.axios, _this.basePath); });
8880
9103
  };
9104
+ /**
9105
+ * Get Recording Backup Storage
9106
+ * @summary Get Recording Backup Storage
9107
+ * @param {string} instanceId Instance ID
9108
+ * @param {*} [options] Override http request option.
9109
+ * @throws {RequiredError}
9110
+ */
9111
+ Class3CXInstallationsApi.prototype.getGetRecordingBackupStorage = function (instanceId, options) {
9112
+ var _this = this;
9113
+ return (0, exports.Class3CXInstallationsApiFp)(this.configuration).getGetRecordingBackupStorage(instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9114
+ };
8881
9115
  /**
8882
9116
  * Change instance owner
8883
9117
  * @summary Change instance owner
@@ -2,27 +2,27 @@ export declare const HostingPriceListEnum: {
2
2
  readonly HOSTING_ONLY: {
3
3
  readonly name: "HOSTING_ONLY";
4
4
  readonly value: 1;
5
- readonly publicValue: "HO - Hosting Only";
5
+ readonly publicValue: "Hosting Only";
6
6
  };
7
7
  readonly HOSTING_ONLY_BESPOKE: {
8
8
  readonly name: "HOSTING_ONLY_BESPOKE";
9
9
  readonly value: 2;
10
- readonly publicValue: "HOB - Hosted Only Bespoke";
10
+ readonly publicValue: "Hosting Only (Bespoke)";
11
11
  };
12
12
  readonly HOSTING_AND_SUPPORT: {
13
13
  readonly name: "HOSTING_AND_SUPPORT";
14
14
  readonly value: 3;
15
- readonly publicValue: "HS - Hosted & Support";
15
+ readonly publicValue: "Hosting & Support";
16
16
  };
17
17
  readonly HOSTING_AND_SUPPORT_BESPOKE: {
18
18
  readonly name: "HOSTING_AND_SUPPORT_BESPOKE";
19
19
  readonly value: 4;
20
- readonly publicValue: "HSB - Hosted & Support Bespoke";
20
+ readonly publicValue: "Hosting & Support (Bespoke)";
21
21
  };
22
22
  readonly END_USER: {
23
23
  readonly name: "END_USER";
24
24
  readonly value: 5;
25
- readonly publicValue: "YG - Yellowgrid Customer";
25
+ readonly publicValue: "End User";
26
26
  };
27
27
  };
28
28
  export type HostingPriceListEnum = typeof HostingPriceListEnum;
@@ -5,26 +5,26 @@ exports.HostingPriceListEnum = {
5
5
  "HOSTING_ONLY": {
6
6
  "name": "HOSTING_ONLY",
7
7
  "value": 1,
8
- "publicValue": "HO - Hosting Only"
8
+ "publicValue": "Hosting Only"
9
9
  },
10
10
  "HOSTING_ONLY_BESPOKE": {
11
11
  "name": "HOSTING_ONLY_BESPOKE",
12
12
  "value": 2,
13
- "publicValue": "HOB - Hosted Only Bespoke"
13
+ "publicValue": "Hosting Only (Bespoke)"
14
14
  },
15
15
  "HOSTING_AND_SUPPORT": {
16
16
  "name": "HOSTING_AND_SUPPORT",
17
17
  "value": 3,
18
- "publicValue": "HS - Hosted & Support"
18
+ "publicValue": "Hosting & Support"
19
19
  },
20
20
  "HOSTING_AND_SUPPORT_BESPOKE": {
21
21
  "name": "HOSTING_AND_SUPPORT_BESPOKE",
22
22
  "value": 4,
23
- "publicValue": "HSB - Hosted & Support Bespoke"
23
+ "publicValue": "Hosting & Support (Bespoke)"
24
24
  },
25
25
  "END_USER": {
26
26
  "name": "END_USER",
27
27
  "value": 5,
28
- "publicValue": "YG - Yellowgrid Customer"
28
+ "publicValue": "End User"
29
29
  }
30
30
  };
@@ -0,0 +1,13 @@
1
+ export declare const PaymentMethodEnum: {
2
+ readonly CARD: {
3
+ readonly name: "CARD";
4
+ readonly value: "card";
5
+ readonly publicValue: "card";
6
+ };
7
+ readonly BACS: {
8
+ readonly name: "BACS";
9
+ readonly value: "bacs";
10
+ readonly publicValue: "bacs";
11
+ };
12
+ };
13
+ export type PaymentMethodEnum = typeof PaymentMethodEnum;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentMethodEnum = void 0;
4
+ exports.PaymentMethodEnum = {
5
+ "CARD": {
6
+ "name": "CARD",
7
+ "value": "card",
8
+ "publicValue": "card"
9
+ },
10
+ "BACS": {
11
+ "name": "BACS",
12
+ "value": "bacs",
13
+ "publicValue": "bacs"
14
+ }
15
+ };
@@ -0,0 +1,28 @@
1
+ export declare const UserGroupEnum: {
2
+ readonly ALL: {
3
+ readonly name: "ALL";
4
+ readonly value: "All";
5
+ readonly publicValue: "All";
6
+ };
7
+ readonly STANDARD: {
8
+ readonly name: "STANDARD";
9
+ readonly value: "Standard";
10
+ readonly publicValue: "Standard";
11
+ };
12
+ readonly TECHNICAL: {
13
+ readonly name: "TECHNICAL";
14
+ readonly value: "Technical";
15
+ readonly publicValue: "Technical";
16
+ };
17
+ readonly PRIVILEGED: {
18
+ readonly name: "PRIVILEGED";
19
+ readonly value: "Privileged";
20
+ readonly publicValue: "Privileged";
21
+ };
22
+ readonly DEVELOPMENT: {
23
+ readonly name: "DEVELOPMENT";
24
+ readonly value: "Development";
25
+ readonly publicValue: "Development";
26
+ };
27
+ };
28
+ export type UserGroupEnum = typeof UserGroupEnum;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserGroupEnum = void 0;
4
+ exports.UserGroupEnum = {
5
+ "ALL": {
6
+ "name": "ALL",
7
+ "value": "All",
8
+ "publicValue": "All"
9
+ },
10
+ "STANDARD": {
11
+ "name": "STANDARD",
12
+ "value": "Standard",
13
+ "publicValue": "Standard"
14
+ },
15
+ "TECHNICAL": {
16
+ "name": "TECHNICAL",
17
+ "value": "Technical",
18
+ "publicValue": "Technical"
19
+ },
20
+ "PRIVILEGED": {
21
+ "name": "PRIVILEGED",
22
+ "value": "Privileged",
23
+ "publicValue": "Privileged"
24
+ },
25
+ "DEVELOPMENT": {
26
+ "name": "DEVELOPMENT",
27
+ "value": "Development",
28
+ "publicValue": "Development"
29
+ }
30
+ };
@@ -17,6 +17,7 @@ All URIs are relative to *https://localhost*
17
17
  |[**getGetClientCredentials**](#getgetclientcredentials) | **GET** /accounts/me/contacts/credentials | Get user\&#39;s client credentials|
18
18
  |[**getGetCustomerKeys**](#getgetcustomerkeys) | **GET** /accounts/me/tcx/keys | Get 3CX Keys|
19
19
  |[**getGetFinanceSettings**](#getgetfinancesettings) | **GET** /admin/accounts/{id}/finance | |
20
+ |[**getGetLastAccount**](#getgetlastaccount) | **GET** /admin/accounts/last | Get Last Account|
20
21
  |[**getGetTcxPartnerDetails**](#getgettcxpartnerdetails) | **GET** /admin/accounts/{id}/tcx/partner | |
21
22
  |[**getVerifyEmailAddress**](#getverifyemailaddress) | **GET** /accounts/contacts/verify | Verify account email address|
22
23
  |[**patchSetPortalAccess**](#patchsetportalaccess) | **PATCH** /admin/accounts/{id}/portal/access/{state} | |
@@ -739,6 +740,53 @@ No authorization required
739
740
 
740
741
  [[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)
741
742
 
743
+ # **getGetLastAccount**
744
+ > AccountSummaryDTO getGetLastAccount()
745
+
746
+ Get Last Account
747
+
748
+ ### Example
749
+
750
+ ```typescript
751
+ import {
752
+ AccountsApi,
753
+ Configuration
754
+ } from 'yellowgrid-api-ts';
755
+
756
+ const configuration = new Configuration();
757
+ const apiInstance = new AccountsApi(configuration);
758
+
759
+ const { status, data } = await apiInstance.getGetLastAccount();
760
+ ```
761
+
762
+ ### Parameters
763
+ This endpoint does not have any parameters.
764
+
765
+
766
+ ### Return type
767
+
768
+ **AccountSummaryDTO**
769
+
770
+ ### Authorization
771
+
772
+ No authorization required
773
+
774
+ ### HTTP request headers
775
+
776
+ - **Content-Type**: Not defined
777
+ - **Accept**: application/json
778
+
779
+
780
+ ### HTTP response details
781
+ | Status code | Description | Response headers |
782
+ |-------------|-------------|------------------|
783
+ |**200** | Account Summary | - |
784
+ |**400** | Bad Request | - |
785
+ |**401** | Unauthorised | - |
786
+ |**403** | Access Denied | - |
787
+
788
+ [[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)
789
+
742
790
  # **getGetTcxPartnerDetails**
743
791
  > PartnerDTO getGetTcxPartnerDetails()
744
792
 
package/docs/CRMApi.md CHANGED
@@ -25,7 +25,7 @@ const configuration = new Configuration();
25
25
  const apiInstance = new CRMApi(configuration);
26
26
 
27
27
  let id: number; //Account ID (default to undefined)
28
- let type: 'alert' | 'call' | 'note' | 'order' | 'quote' | 'tcx_order'; //Activity Type (optional) (default to undefined)
28
+ let type: 'alert' | 'call' | 'email' | 'note' | 'order' | 'quote' | 'tcx_order'; //Activity Type (optional) (default to undefined)
29
29
  let userId: number; //Activity Created By (optional) (default to undefined)
30
30
 
31
31
  const { status, data } = await apiInstance.getGetCrmActivities(
@@ -40,7 +40,7 @@ const { status, data } = await apiInstance.getGetCrmActivities(
40
40
  |Name | Type | Description | Notes|
41
41
  |------------- | ------------- | ------------- | -------------|
42
42
  | **id** | [**number**] | Account ID | defaults to undefined|
43
- | **type** | [**&#39;alert&#39; | &#39;call&#39; | &#39;note&#39; | &#39;order&#39; | &#39;quote&#39; | &#39;tcx_order&#39;**]**Array<&#39;alert&#39; &#124; &#39;call&#39; &#124; &#39;note&#39; &#124; &#39;order&#39; &#124; &#39;quote&#39; &#124; &#39;tcx_order&#39;>** | Activity Type | (optional) defaults to undefined|
43
+ | **type** | [**&#39;alert&#39; | &#39;call&#39; | &#39;email&#39; | &#39;note&#39; | &#39;order&#39; | &#39;quote&#39; | &#39;tcx_order&#39;**]**Array<&#39;alert&#39; &#124; &#39;call&#39; &#124; &#39;email&#39; &#124; &#39;note&#39; &#124; &#39;order&#39; &#124; &#39;quote&#39; &#124; &#39;tcx_order&#39;>** | Activity Type | (optional) defaults to undefined|
44
44
  | **userId** | [**number**] | Activity Created By | (optional) defaults to undefined|
45
45
 
46
46
 
@@ -5,6 +5,7 @@ All URIs are relative to *https://localhost*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
8
+ |[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
8
9
  |[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
9
10
 
10
11
  # **getGetLicenceDetails**
@@ -61,6 +62,53 @@ No authorization required
61
62
 
62
63
  [[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)
63
64
 
65
+ # **getGetTcxExpiringKeys**
66
+ > string getGetTcxExpiringKeys()
67
+
68
+ Get 3CX Expiring Keys
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ Class3CXApi,
75
+ Configuration
76
+ } from 'yellowgrid-api-ts';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new Class3CXApi(configuration);
80
+
81
+ const { status, data } = await apiInstance.getGetTcxExpiringKeys();
82
+ ```
83
+
84
+ ### Parameters
85
+ This endpoint does not have any parameters.
86
+
87
+
88
+ ### Return type
89
+
90
+ **string**
91
+
92
+ ### Authorization
93
+
94
+ No authorization required
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: Not defined
99
+ - **Accept**: text/csv
100
+
101
+
102
+ ### HTTP response details
103
+ | Status code | Description | Response headers |
104
+ |-------------|-------------|------------------|
105
+ |**200** | 3CX Expiring Key CSV | - |
106
+ |**400** | Bad Request | - |
107
+ |**401** | Unauthorised | - |
108
+ |**403** | Access Denied | - |
109
+
110
+ [[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)
111
+
64
112
  # **postGetBulkLicenceDetails**
65
113
  > TcxBulkLicenceDetailsModel postGetBulkLicenceDetails()
66
114