yellowgrid-api-ts 3.2.200 → 3.2.202

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.
@@ -92,6 +92,7 @@ docs/FreshdeskCompanyTicketsModel.md
92
92
  docs/FreshdeskTicketEntity.md
93
93
  docs/FtpAccountsEntity.md
94
94
  docs/GenericFileModel.md
95
+ docs/GetCheckMacExists200Response.md
95
96
  docs/GetGetPrice200Response.md
96
97
  docs/GetGetRecording200Response.md
97
98
  docs/HostingChangeResponseModel.md
@@ -111,6 +112,7 @@ docs/ItemDiscountEntity.md
111
112
  docs/ItemEntity.md
112
113
  docs/LinkedOrderEntity.md
113
114
  docs/MFARequiredModel.md
115
+ docs/MacAddressDTO.md
114
116
  docs/MonthlyUsageModel.md
115
117
  docs/MultiTenantChangeResponseModel.md
116
118
  docs/MyPBXToolsApi.md
package/README.md CHANGED
@@ -243,12 +243,15 @@ Class | Method | HTTP request | Description
243
243
  *ProspectsApi* | [**getRemoveFromProspects**](docs/ProspectsApi.md#getremovefromprospects) | **GET** /accounts/prospects/{xero_id}/remove | Remove From Prospects
244
244
  *ProspectsApi* | [**getSetCallback**](docs/ProspectsApi.md#getsetcallback) | **GET** /accounts/prospects/{xero_id}/date | Set Call Back Date
245
245
  *ProvisioningApi* | [**deleteAddFanvilMac**](docs/ProvisioningApi.md#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group
246
+ *ProvisioningApi* | [**deleteCheckMacExists**](docs/ProvisioningApi.md#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} |
246
247
  *ProvisioningApi* | [**deleteDeleteFanvilGroup**](docs/ProvisioningApi.md#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS
248
+ *ProvisioningApi* | [**getCheckMacExists**](docs/ProvisioningApi.md#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} |
247
249
  *ProvisioningApi* | [**getGetFanvilEncryptionKey**](docs/ProvisioningApi.md#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key
248
250
  *ProvisioningApi* | [**getGetFanvilGroupMacs**](docs/ProvisioningApi.md#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS
249
251
  *ProvisioningApi* | [**getGetGroups**](docs/ProvisioningApi.md#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID
250
252
  *ProvisioningApi* | [**postAddFanvilGroup**](docs/ProvisioningApi.md#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS
251
253
  *ProvisioningApi* | [**postAddFanvilMac**](docs/ProvisioningApi.md#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group
254
+ *ProvisioningApi* | [**postCreateMac**](docs/ProvisioningApi.md#postcreatemac) | **POST** /admin/provisioning/fanvil/macs |
252
255
  *SIPTrunksApi* | [**deleteGetSipTrunk**](docs/SIPTrunksApi.md#deletegetsiptrunk) | **DELETE** /sip/trunks/{id} | Delete SIP Trunk
253
256
  *SIPTrunksApi* | [**getCanDivert**](docs/SIPTrunksApi.md#getcandivert) | **GET** /sip/trunks/{id}/diverts/allowed | SIP Trunk Diverts Allowed
254
257
  *SIPTrunksApi* | [**getGetAddress**](docs/SIPTrunksApi.md#getgetaddress) | **GET** /sip/trunks/{id}/address | Get SIP Trunk Address
@@ -397,6 +400,7 @@ Class | Method | HTTP request | Description
397
400
  - [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
398
401
  - [FtpAccountsEntity](docs/FtpAccountsEntity.md)
399
402
  - [GenericFileModel](docs/GenericFileModel.md)
403
+ - [GetCheckMacExists200Response](docs/GetCheckMacExists200Response.md)
400
404
  - [GetGetPrice200Response](docs/GetGetPrice200Response.md)
401
405
  - [GetGetRecording200Response](docs/GetGetRecording200Response.md)
402
406
  - [HostingChangeResponseModel](docs/HostingChangeResponseModel.md)
@@ -416,6 +420,7 @@ Class | Method | HTTP request | Description
416
420
  - [ItemEntity](docs/ItemEntity.md)
417
421
  - [LinkedOrderEntity](docs/LinkedOrderEntity.md)
418
422
  - [MFARequiredModel](docs/MFARequiredModel.md)
423
+ - [MacAddressDTO](docs/MacAddressDTO.md)
419
424
  - [MonthlyUsageModel](docs/MonthlyUsageModel.md)
420
425
  - [MultiTenantChangeResponseModel](docs/MultiTenantChangeResponseModel.md)
421
426
  - [NavigationModel](docs/NavigationModel.md)
package/api.ts CHANGED
@@ -2619,6 +2619,9 @@ export interface GenericFileModel {
2619
2619
  */
2620
2620
  'type'?: string;
2621
2621
  }
2622
+ export interface GetCheckMacExists200Response {
2623
+ 'found'?: boolean;
2624
+ }
2622
2625
  export interface GetGetPrice200Response {
2623
2626
  'price'?: number;
2624
2627
  }
@@ -3285,6 +3288,19 @@ export interface MFARequiredModel {
3285
3288
  */
3286
3289
  'png'?: string;
3287
3290
  }
3291
+ /**
3292
+ * MAC Address DTO
3293
+ */
3294
+ export interface MacAddressDTO {
3295
+ /**
3296
+ * Group ID
3297
+ */
3298
+ 'groupId'?: number;
3299
+ /**
3300
+ * MAC Address
3301
+ */
3302
+ 'macAddress'?: string;
3303
+ }
3288
3304
  /**
3289
3305
  * Monthly Contract Usage
3290
3306
  */
@@ -4858,6 +4874,10 @@ export interface ProductSummaryDTO {
4858
4874
  * Due Date
4859
4875
  */
4860
4876
  'dueDate'?: string | null;
4877
+ /**
4878
+ * On Order
4879
+ */
4880
+ 'onOrder'?: number | null;
4861
4881
  /**
4862
4882
  * Price
4863
4883
  */
@@ -23578,6 +23598,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23578
23598
  const localVarQueryParameter = {} as any;
23579
23599
 
23580
23600
 
23601
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23602
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23603
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23604
+
23605
+ return {
23606
+ url: toPathString(localVarUrlObj),
23607
+ options: localVarRequestOptions,
23608
+ };
23609
+ },
23610
+ /**
23611
+ * Delete a MAC address in FDPS
23612
+ * @param {string} mac MAC Address
23613
+ * @param {*} [options] Override http request option.
23614
+ * @throws {RequiredError}
23615
+ */
23616
+ deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23617
+ // verify required parameter 'mac' is not null or undefined
23618
+ assertParamExists('deleteCheckMacExists', 'mac', mac)
23619
+ const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
23620
+ .replace('{mac}', encodeURIComponent(String(mac)));
23621
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23622
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23623
+ let baseOptions;
23624
+ if (configuration) {
23625
+ baseOptions = configuration.baseOptions;
23626
+ }
23627
+
23628
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23629
+ const localVarHeaderParameter = {} as any;
23630
+ const localVarQueryParameter = {} as any;
23631
+
23632
+
23581
23633
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23582
23634
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23583
23635
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23611,6 +23663,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23611
23663
  const localVarQueryParameter = {} as any;
23612
23664
 
23613
23665
 
23666
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23667
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23668
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23669
+
23670
+ return {
23671
+ url: toPathString(localVarUrlObj),
23672
+ options: localVarRequestOptions,
23673
+ };
23674
+ },
23675
+ /**
23676
+ * Check if a MAC address exists in FDPS
23677
+ * @param {string} mac MAC Address
23678
+ * @param {*} [options] Override http request option.
23679
+ * @throws {RequiredError}
23680
+ */
23681
+ getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23682
+ // verify required parameter 'mac' is not null or undefined
23683
+ assertParamExists('getCheckMacExists', 'mac', mac)
23684
+ const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
23685
+ .replace('{mac}', encodeURIComponent(String(mac)));
23686
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23687
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23688
+ let baseOptions;
23689
+ if (configuration) {
23690
+ baseOptions = configuration.baseOptions;
23691
+ }
23692
+
23693
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23694
+ const localVarHeaderParameter = {} as any;
23695
+ const localVarQueryParameter = {} as any;
23696
+
23697
+ localVarHeaderParameter['Accept'] = 'application/json';
23698
+
23614
23699
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23615
23700
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23616
23701
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23792,6 +23877,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23792
23877
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23793
23878
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23794
23879
 
23880
+ return {
23881
+ url: toPathString(localVarUrlObj),
23882
+ options: localVarRequestOptions,
23883
+ };
23884
+ },
23885
+ /**
23886
+ * Create a MAC address in FDPS
23887
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
23888
+ * @param {*} [options] Override http request option.
23889
+ * @throws {RequiredError}
23890
+ */
23891
+ postCreateMac: async (macAddressDTO?: MacAddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23892
+ const localVarPath = `/admin/provisioning/fanvil/macs`;
23893
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23894
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23895
+ let baseOptions;
23896
+ if (configuration) {
23897
+ baseOptions = configuration.baseOptions;
23898
+ }
23899
+
23900
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23901
+ const localVarHeaderParameter = {} as any;
23902
+ const localVarQueryParameter = {} as any;
23903
+
23904
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23905
+ localVarHeaderParameter['Accept'] = 'application/json';
23906
+
23907
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23908
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23909
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23910
+ localVarRequestOptions.data = serializeDataIfNeeded(macAddressDTO, localVarRequestOptions, configuration)
23911
+
23795
23912
  return {
23796
23913
  url: toPathString(localVarUrlObj),
23797
23914
  options: localVarRequestOptions,
@@ -23820,6 +23937,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23820
23937
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
23821
23938
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23822
23939
  },
23940
+ /**
23941
+ * Delete a MAC address in FDPS
23942
+ * @param {string} mac MAC Address
23943
+ * @param {*} [options] Override http request option.
23944
+ * @throws {RequiredError}
23945
+ */
23946
+ async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
23947
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
23948
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23949
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
23950
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23951
+ },
23823
23952
  /**
23824
23953
  * Delete a Fanvil provisioning group
23825
23954
  * @summary Delete group from DB and FDPS
@@ -23833,6 +23962,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23833
23962
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
23834
23963
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23835
23964
  },
23965
+ /**
23966
+ * Check if a MAC address exists in FDPS
23967
+ * @param {string} mac MAC Address
23968
+ * @param {*} [options] Override http request option.
23969
+ * @throws {RequiredError}
23970
+ */
23971
+ async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
23972
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
23973
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23974
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
23975
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23976
+ },
23836
23977
  /**
23837
23978
  * Get group Fanvil encryption key
23838
23979
  * @summary Get group Fanvil encryption key
@@ -23900,6 +24041,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23900
24041
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
23901
24042
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23902
24043
  },
24044
+ /**
24045
+ * Create a MAC address in FDPS
24046
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24047
+ * @param {*} [options] Override http request option.
24048
+ * @throws {RequiredError}
24049
+ */
24050
+ async postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
24051
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(macAddressDTO, options);
24052
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24053
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
24054
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24055
+ },
23903
24056
  }
23904
24057
  };
23905
24058
 
@@ -23920,6 +24073,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23920
24073
  deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23921
24074
  return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
23922
24075
  },
24076
+ /**
24077
+ * Delete a MAC address in FDPS
24078
+ * @param {string} mac MAC Address
24079
+ * @param {*} [options] Override http request option.
24080
+ * @throws {RequiredError}
24081
+ */
24082
+ deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24083
+ return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
24084
+ },
23923
24085
  /**
23924
24086
  * Delete a Fanvil provisioning group
23925
24087
  * @summary Delete group from DB and FDPS
@@ -23930,6 +24092,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23930
24092
  deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23931
24093
  return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
23932
24094
  },
24095
+ /**
24096
+ * Check if a MAC address exists in FDPS
24097
+ * @param {string} mac MAC Address
24098
+ * @param {*} [options] Override http request option.
24099
+ * @throws {RequiredError}
24100
+ */
24101
+ getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
24102
+ return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
24103
+ },
23933
24104
  /**
23934
24105
  * Get group Fanvil encryption key
23935
24106
  * @summary Get group Fanvil encryption key
@@ -23982,6 +24153,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23982
24153
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23983
24154
  return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
23984
24155
  },
24156
+ /**
24157
+ * Create a MAC address in FDPS
24158
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24159
+ * @param {*} [options] Override http request option.
24160
+ * @throws {RequiredError}
24161
+ */
24162
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
24163
+ return localVarFp.postCreateMac(macAddressDTO, options).then((request) => request(axios, basePath));
24164
+ },
23985
24165
  };
23986
24166
  };
23987
24167
 
@@ -24001,6 +24181,16 @@ export class ProvisioningApi extends BaseAPI {
24001
24181
  return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
24002
24182
  }
24003
24183
 
24184
+ /**
24185
+ * Delete a MAC address in FDPS
24186
+ * @param {string} mac MAC Address
24187
+ * @param {*} [options] Override http request option.
24188
+ * @throws {RequiredError}
24189
+ */
24190
+ public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
24191
+ return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
24192
+ }
24193
+
24004
24194
  /**
24005
24195
  * Delete a Fanvil provisioning group
24006
24196
  * @summary Delete group from DB and FDPS
@@ -24012,6 +24202,16 @@ export class ProvisioningApi extends BaseAPI {
24012
24202
  return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
24013
24203
  }
24014
24204
 
24205
+ /**
24206
+ * Check if a MAC address exists in FDPS
24207
+ * @param {string} mac MAC Address
24208
+ * @param {*} [options] Override http request option.
24209
+ * @throws {RequiredError}
24210
+ */
24211
+ public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
24212
+ return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
24213
+ }
24214
+
24015
24215
  /**
24016
24216
  * Get group Fanvil encryption key
24017
24217
  * @summary Get group Fanvil encryption key
@@ -24068,6 +24268,16 @@ export class ProvisioningApi extends BaseAPI {
24068
24268
  public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
24069
24269
  return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
24070
24270
  }
24271
+
24272
+ /**
24273
+ * Create a MAC address in FDPS
24274
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24275
+ * @param {*} [options] Override http request option.
24276
+ * @throws {RequiredError}
24277
+ */
24278
+ public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
24279
+ return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
24280
+ }
24071
24281
  }
24072
24282
 
24073
24283
 
package/dist/api.d.ts CHANGED
@@ -2590,6 +2590,9 @@ export interface GenericFileModel {
2590
2590
  */
2591
2591
  'type'?: string;
2592
2592
  }
2593
+ export interface GetCheckMacExists200Response {
2594
+ 'found'?: boolean;
2595
+ }
2593
2596
  export interface GetGetPrice200Response {
2594
2597
  'price'?: number;
2595
2598
  }
@@ -3247,6 +3250,19 @@ export interface MFARequiredModel {
3247
3250
  */
3248
3251
  'png'?: string;
3249
3252
  }
3253
+ /**
3254
+ * MAC Address DTO
3255
+ */
3256
+ export interface MacAddressDTO {
3257
+ /**
3258
+ * Group ID
3259
+ */
3260
+ 'groupId'?: number;
3261
+ /**
3262
+ * MAC Address
3263
+ */
3264
+ 'macAddress'?: string;
3265
+ }
3250
3266
  /**
3251
3267
  * Monthly Contract Usage
3252
3268
  */
@@ -4804,6 +4820,10 @@ export interface ProductSummaryDTO {
4804
4820
  * Due Date
4805
4821
  */
4806
4822
  'dueDate'?: string | null;
4823
+ /**
4824
+ * On Order
4825
+ */
4826
+ 'onOrder'?: number | null;
4807
4827
  /**
4808
4828
  * Price
4809
4829
  */
@@ -15731,6 +15751,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
15731
15751
  * @throws {RequiredError}
15732
15752
  */
15733
15753
  deleteAddFanvilMac: (id: string, mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15754
+ /**
15755
+ * Delete a MAC address in FDPS
15756
+ * @param {string} mac MAC Address
15757
+ * @param {*} [options] Override http request option.
15758
+ * @throws {RequiredError}
15759
+ */
15760
+ deleteCheckMacExists: (mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15734
15761
  /**
15735
15762
  * Delete a Fanvil provisioning group
15736
15763
  * @summary Delete group from DB and FDPS
@@ -15739,6 +15766,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
15739
15766
  * @throws {RequiredError}
15740
15767
  */
15741
15768
  deleteDeleteFanvilGroup: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15769
+ /**
15770
+ * Check if a MAC address exists in FDPS
15771
+ * @param {string} mac MAC Address
15772
+ * @param {*} [options] Override http request option.
15773
+ * @throws {RequiredError}
15774
+ */
15775
+ getCheckMacExists: (mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15742
15776
  /**
15743
15777
  * Get group Fanvil encryption key
15744
15778
  * @summary Get group Fanvil encryption key
@@ -15781,6 +15815,13 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
15781
15815
  * @throws {RequiredError}
15782
15816
  */
15783
15817
  postAddFanvilMac: (id: string, mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15818
+ /**
15819
+ * Create a MAC address in FDPS
15820
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15821
+ * @param {*} [options] Override http request option.
15822
+ * @throws {RequiredError}
15823
+ */
15824
+ postCreateMac: (macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15784
15825
  };
15785
15826
  /**
15786
15827
  * ProvisioningApi - functional programming interface
@@ -15795,6 +15836,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
15795
15836
  * @throws {RequiredError}
15796
15837
  */
15797
15838
  deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15839
+ /**
15840
+ * Delete a MAC address in FDPS
15841
+ * @param {string} mac MAC Address
15842
+ * @param {*} [options] Override http request option.
15843
+ * @throws {RequiredError}
15844
+ */
15845
+ deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15798
15846
  /**
15799
15847
  * Delete a Fanvil provisioning group
15800
15848
  * @summary Delete group from DB and FDPS
@@ -15803,6 +15851,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
15803
15851
  * @throws {RequiredError}
15804
15852
  */
15805
15853
  deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15854
+ /**
15855
+ * Check if a MAC address exists in FDPS
15856
+ * @param {string} mac MAC Address
15857
+ * @param {*} [options] Override http request option.
15858
+ * @throws {RequiredError}
15859
+ */
15860
+ getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>>;
15806
15861
  /**
15807
15862
  * Get group Fanvil encryption key
15808
15863
  * @summary Get group Fanvil encryption key
@@ -15845,6 +15900,13 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
15845
15900
  * @throws {RequiredError}
15846
15901
  */
15847
15902
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15903
+ /**
15904
+ * Create a MAC address in FDPS
15905
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15906
+ * @param {*} [options] Override http request option.
15907
+ * @throws {RequiredError}
15908
+ */
15909
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>>;
15848
15910
  };
15849
15911
  /**
15850
15912
  * ProvisioningApi - factory interface
@@ -15859,6 +15921,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
15859
15921
  * @throws {RequiredError}
15860
15922
  */
15861
15923
  deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15924
+ /**
15925
+ * Delete a MAC address in FDPS
15926
+ * @param {string} mac MAC Address
15927
+ * @param {*} [options] Override http request option.
15928
+ * @throws {RequiredError}
15929
+ */
15930
+ deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15862
15931
  /**
15863
15932
  * Delete a Fanvil provisioning group
15864
15933
  * @summary Delete group from DB and FDPS
@@ -15867,6 +15936,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
15867
15936
  * @throws {RequiredError}
15868
15937
  */
15869
15938
  deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15939
+ /**
15940
+ * Check if a MAC address exists in FDPS
15941
+ * @param {string} mac MAC Address
15942
+ * @param {*} [options] Override http request option.
15943
+ * @throws {RequiredError}
15944
+ */
15945
+ getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response>;
15870
15946
  /**
15871
15947
  * Get group Fanvil encryption key
15872
15948
  * @summary Get group Fanvil encryption key
@@ -15909,6 +15985,13 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
15909
15985
  * @throws {RequiredError}
15910
15986
  */
15911
15987
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15988
+ /**
15989
+ * Create a MAC address in FDPS
15990
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15991
+ * @param {*} [options] Override http request option.
15992
+ * @throws {RequiredError}
15993
+ */
15994
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO>;
15912
15995
  };
15913
15996
  /**
15914
15997
  * ProvisioningApi - object-oriented interface
@@ -15923,6 +16006,13 @@ export declare class ProvisioningApi extends BaseAPI {
15923
16006
  * @throws {RequiredError}
15924
16007
  */
15925
16008
  deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
16009
+ /**
16010
+ * Delete a MAC address in FDPS
16011
+ * @param {string} mac MAC Address
16012
+ * @param {*} [options] Override http request option.
16013
+ * @throws {RequiredError}
16014
+ */
16015
+ deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15926
16016
  /**
15927
16017
  * Delete a Fanvil provisioning group
15928
16018
  * @summary Delete group from DB and FDPS
@@ -15931,6 +16021,13 @@ export declare class ProvisioningApi extends BaseAPI {
15931
16021
  * @throws {RequiredError}
15932
16022
  */
15933
16023
  deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
16024
+ /**
16025
+ * Check if a MAC address exists in FDPS
16026
+ * @param {string} mac MAC Address
16027
+ * @param {*} [options] Override http request option.
16028
+ * @throws {RequiredError}
16029
+ */
16030
+ getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCheckMacExists200Response, any, {}>>;
15934
16031
  /**
15935
16032
  * Get group Fanvil encryption key
15936
16033
  * @summary Get group Fanvil encryption key
@@ -15973,6 +16070,13 @@ export declare class ProvisioningApi extends BaseAPI {
15973
16070
  * @throws {RequiredError}
15974
16071
  */
15975
16072
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
16073
+ /**
16074
+ * Create a MAC address in FDPS
16075
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
16076
+ * @param {*} [options] Override http request option.
16077
+ * @throws {RequiredError}
16078
+ */
16079
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MacAddressDTO, any, {}>>;
15976
16080
  }
15977
16081
  /**
15978
16082
  * SIPTrunksApi - axios parameter creator
package/dist/api.js CHANGED
@@ -17921,6 +17921,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17921
17921
  });
17922
17922
  });
17923
17923
  },
17924
+ /**
17925
+ * Delete a MAC address in FDPS
17926
+ * @param {string} mac MAC Address
17927
+ * @param {*} [options] Override http request option.
17928
+ * @throws {RequiredError}
17929
+ */
17930
+ deleteCheckMacExists: function (mac_1) {
17931
+ var args_1 = [];
17932
+ for (var _i = 1; _i < arguments.length; _i++) {
17933
+ args_1[_i - 1] = arguments[_i];
17934
+ }
17935
+ return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
17936
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
17937
+ if (options === void 0) { options = {}; }
17938
+ return __generator(this, function (_a) {
17939
+ // verify required parameter 'mac' is not null or undefined
17940
+ (0, common_1.assertParamExists)('deleteCheckMacExists', 'mac', mac);
17941
+ localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
17942
+ .replace('{mac}', encodeURIComponent(String(mac)));
17943
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17944
+ if (configuration) {
17945
+ baseOptions = configuration.baseOptions;
17946
+ }
17947
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
17948
+ localVarHeaderParameter = {};
17949
+ localVarQueryParameter = {};
17950
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17951
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17952
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17953
+ return [2 /*return*/, {
17954
+ url: (0, common_1.toPathString)(localVarUrlObj),
17955
+ options: localVarRequestOptions,
17956
+ }];
17957
+ });
17958
+ });
17959
+ },
17924
17960
  /**
17925
17961
  * Delete a Fanvil provisioning group
17926
17962
  * @summary Delete group from DB and FDPS
@@ -17958,6 +17994,43 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17958
17994
  });
17959
17995
  });
17960
17996
  },
17997
+ /**
17998
+ * Check if a MAC address exists in FDPS
17999
+ * @param {string} mac MAC Address
18000
+ * @param {*} [options] Override http request option.
18001
+ * @throws {RequiredError}
18002
+ */
18003
+ getCheckMacExists: function (mac_1) {
18004
+ var args_1 = [];
18005
+ for (var _i = 1; _i < arguments.length; _i++) {
18006
+ args_1[_i - 1] = arguments[_i];
18007
+ }
18008
+ return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
18009
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18010
+ if (options === void 0) { options = {}; }
18011
+ return __generator(this, function (_a) {
18012
+ // verify required parameter 'mac' is not null or undefined
18013
+ (0, common_1.assertParamExists)('getCheckMacExists', 'mac', mac);
18014
+ localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
18015
+ .replace('{mac}', encodeURIComponent(String(mac)));
18016
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18017
+ if (configuration) {
18018
+ baseOptions = configuration.baseOptions;
18019
+ }
18020
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18021
+ localVarHeaderParameter = {};
18022
+ localVarQueryParameter = {};
18023
+ localVarHeaderParameter['Accept'] = 'application/json';
18024
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18025
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18026
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18027
+ return [2 /*return*/, {
18028
+ url: (0, common_1.toPathString)(localVarUrlObj),
18029
+ options: localVarRequestOptions,
18030
+ }];
18031
+ });
18032
+ });
18033
+ },
17961
18034
  /**
17962
18035
  * Get group Fanvil encryption key
17963
18036
  * @summary Get group Fanvil encryption key
@@ -18154,6 +18227,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
18154
18227
  });
18155
18228
  });
18156
18229
  },
18230
+ /**
18231
+ * Create a MAC address in FDPS
18232
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18233
+ * @param {*} [options] Override http request option.
18234
+ * @throws {RequiredError}
18235
+ */
18236
+ postCreateMac: function (macAddressDTO_1) {
18237
+ var args_1 = [];
18238
+ for (var _i = 1; _i < arguments.length; _i++) {
18239
+ args_1[_i - 1] = arguments[_i];
18240
+ }
18241
+ return __awaiter(_this, __spreadArray([macAddressDTO_1], args_1, true), void 0, function (macAddressDTO, options) {
18242
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18243
+ if (options === void 0) { options = {}; }
18244
+ return __generator(this, function (_a) {
18245
+ localVarPath = "/admin/provisioning/fanvil/macs";
18246
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18247
+ if (configuration) {
18248
+ baseOptions = configuration.baseOptions;
18249
+ }
18250
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
18251
+ localVarHeaderParameter = {};
18252
+ localVarQueryParameter = {};
18253
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18254
+ localVarHeaderParameter['Accept'] = 'application/json';
18255
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18256
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18257
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18258
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macAddressDTO, localVarRequestOptions, configuration);
18259
+ return [2 /*return*/, {
18260
+ url: (0, common_1.toPathString)(localVarUrlObj),
18261
+ options: localVarRequestOptions,
18262
+ }];
18263
+ });
18264
+ });
18265
+ },
18157
18266
  };
18158
18267
  };
18159
18268
  exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
@@ -18187,6 +18296,28 @@ var ProvisioningApiFp = function (configuration) {
18187
18296
  });
18188
18297
  });
18189
18298
  },
18299
+ /**
18300
+ * Delete a MAC address in FDPS
18301
+ * @param {string} mac MAC Address
18302
+ * @param {*} [options] Override http request option.
18303
+ * @throws {RequiredError}
18304
+ */
18305
+ deleteCheckMacExists: function (mac, options) {
18306
+ return __awaiter(this, void 0, void 0, function () {
18307
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18308
+ var _a, _b, _c;
18309
+ return __generator(this, function (_d) {
18310
+ switch (_d.label) {
18311
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCheckMacExists(mac, options)];
18312
+ case 1:
18313
+ localVarAxiosArgs = _d.sent();
18314
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18315
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.deleteCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18316
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18317
+ }
18318
+ });
18319
+ });
18320
+ },
18190
18321
  /**
18191
18322
  * Delete a Fanvil provisioning group
18192
18323
  * @summary Delete group from DB and FDPS
@@ -18210,6 +18341,28 @@ var ProvisioningApiFp = function (configuration) {
18210
18341
  });
18211
18342
  });
18212
18343
  },
18344
+ /**
18345
+ * Check if a MAC address exists in FDPS
18346
+ * @param {string} mac MAC Address
18347
+ * @param {*} [options] Override http request option.
18348
+ * @throws {RequiredError}
18349
+ */
18350
+ getCheckMacExists: function (mac, options) {
18351
+ return __awaiter(this, void 0, void 0, function () {
18352
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18353
+ var _a, _b, _c;
18354
+ return __generator(this, function (_d) {
18355
+ switch (_d.label) {
18356
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCheckMacExists(mac, options)];
18357
+ case 1:
18358
+ localVarAxiosArgs = _d.sent();
18359
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18360
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.getCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18361
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18362
+ }
18363
+ });
18364
+ });
18365
+ },
18213
18366
  /**
18214
18367
  * Get group Fanvil encryption key
18215
18368
  * @summary Get group Fanvil encryption key
@@ -18327,6 +18480,28 @@ var ProvisioningApiFp = function (configuration) {
18327
18480
  });
18328
18481
  });
18329
18482
  },
18483
+ /**
18484
+ * Create a MAC address in FDPS
18485
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18486
+ * @param {*} [options] Override http request option.
18487
+ * @throws {RequiredError}
18488
+ */
18489
+ postCreateMac: function (macAddressDTO, options) {
18490
+ return __awaiter(this, void 0, void 0, function () {
18491
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18492
+ var _a, _b, _c;
18493
+ return __generator(this, function (_d) {
18494
+ switch (_d.label) {
18495
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateMac(macAddressDTO, options)];
18496
+ case 1:
18497
+ localVarAxiosArgs = _d.sent();
18498
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18499
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.postCreateMac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18500
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18501
+ }
18502
+ });
18503
+ });
18504
+ },
18330
18505
  };
18331
18506
  };
18332
18507
  exports.ProvisioningApiFp = ProvisioningApiFp;
@@ -18347,6 +18522,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18347
18522
  deleteAddFanvilMac: function (id, mac, options) {
18348
18523
  return localVarFp.deleteAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
18349
18524
  },
18525
+ /**
18526
+ * Delete a MAC address in FDPS
18527
+ * @param {string} mac MAC Address
18528
+ * @param {*} [options] Override http request option.
18529
+ * @throws {RequiredError}
18530
+ */
18531
+ deleteCheckMacExists: function (mac, options) {
18532
+ return localVarFp.deleteCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
18533
+ },
18350
18534
  /**
18351
18535
  * Delete a Fanvil provisioning group
18352
18536
  * @summary Delete group from DB and FDPS
@@ -18357,6 +18541,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18357
18541
  deleteDeleteFanvilGroup: function (id, options) {
18358
18542
  return localVarFp.deleteDeleteFanvilGroup(id, options).then(function (request) { return request(axios, basePath); });
18359
18543
  },
18544
+ /**
18545
+ * Check if a MAC address exists in FDPS
18546
+ * @param {string} mac MAC Address
18547
+ * @param {*} [options] Override http request option.
18548
+ * @throws {RequiredError}
18549
+ */
18550
+ getCheckMacExists: function (mac, options) {
18551
+ return localVarFp.getCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
18552
+ },
18360
18553
  /**
18361
18554
  * Get group Fanvil encryption key
18362
18555
  * @summary Get group Fanvil encryption key
@@ -18409,6 +18602,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18409
18602
  postAddFanvilMac: function (id, mac, options) {
18410
18603
  return localVarFp.postAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
18411
18604
  },
18605
+ /**
18606
+ * Create a MAC address in FDPS
18607
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18608
+ * @param {*} [options] Override http request option.
18609
+ * @throws {RequiredError}
18610
+ */
18611
+ postCreateMac: function (macAddressDTO, options) {
18612
+ return localVarFp.postCreateMac(macAddressDTO, options).then(function (request) { return request(axios, basePath); });
18613
+ },
18412
18614
  };
18413
18615
  };
18414
18616
  exports.ProvisioningApiFactory = ProvisioningApiFactory;
@@ -18432,6 +18634,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18432
18634
  var _this = this;
18433
18635
  return (0, exports.ProvisioningApiFp)(this.configuration).deleteAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18434
18636
  };
18637
+ /**
18638
+ * Delete a MAC address in FDPS
18639
+ * @param {string} mac MAC Address
18640
+ * @param {*} [options] Override http request option.
18641
+ * @throws {RequiredError}
18642
+ */
18643
+ ProvisioningApi.prototype.deleteCheckMacExists = function (mac, options) {
18644
+ var _this = this;
18645
+ return (0, exports.ProvisioningApiFp)(this.configuration).deleteCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18646
+ };
18435
18647
  /**
18436
18648
  * Delete a Fanvil provisioning group
18437
18649
  * @summary Delete group from DB and FDPS
@@ -18443,6 +18655,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18443
18655
  var _this = this;
18444
18656
  return (0, exports.ProvisioningApiFp)(this.configuration).deleteDeleteFanvilGroup(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
18445
18657
  };
18658
+ /**
18659
+ * Check if a MAC address exists in FDPS
18660
+ * @param {string} mac MAC Address
18661
+ * @param {*} [options] Override http request option.
18662
+ * @throws {RequiredError}
18663
+ */
18664
+ ProvisioningApi.prototype.getCheckMacExists = function (mac, options) {
18665
+ var _this = this;
18666
+ return (0, exports.ProvisioningApiFp)(this.configuration).getCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18667
+ };
18446
18668
  /**
18447
18669
  * Get group Fanvil encryption key
18448
18670
  * @summary Get group Fanvil encryption key
@@ -18500,6 +18722,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18500
18722
  var _this = this;
18501
18723
  return (0, exports.ProvisioningApiFp)(this.configuration).postAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18502
18724
  };
18725
+ /**
18726
+ * Create a MAC address in FDPS
18727
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18728
+ * @param {*} [options] Override http request option.
18729
+ * @throws {RequiredError}
18730
+ */
18731
+ ProvisioningApi.prototype.postCreateMac = function (macAddressDTO, options) {
18732
+ var _this = this;
18733
+ return (0, exports.ProvisioningApiFp)(this.configuration).postCreateMac(macAddressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
18734
+ };
18503
18735
  return ProvisioningApi;
18504
18736
  }(base_1.BaseAPI));
18505
18737
  exports.ProvisioningApi = ProvisioningApi;
@@ -0,0 +1,20 @@
1
+ # GetCheckMacExists200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **found** | **boolean** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { GetCheckMacExists200Response } from 'yellowgrid-api-ts';
14
+
15
+ const instance: GetCheckMacExists200Response = {
16
+ found,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # MacAddressDTO
2
+
3
+ MAC Address DTO
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **groupId** | **number** | Group ID | [optional] [default to undefined]
10
+ **macAddress** | **string** | MAC Address | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { MacAddressDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: MacAddressDTO = {
18
+ groupId,
19
+ macAddress,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **quantity** | **number** | Stock Quantity | [optional] [default to undefined]
12
12
  **stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
13
13
  **dueDate** | **string** | Due Date | [optional] [default to undefined]
14
+ **onOrder** | **number** | On Order | [optional] [default to undefined]
14
15
  **price** | **number** | Price | [optional] [default to undefined]
15
16
  **cartonSize** | **number** | Carton Size | [optional] [default to undefined]
16
17
  **rrp** | **number** | RRP Price | [optional] [default to undefined]
@@ -28,6 +29,7 @@ const instance: ProductSummaryDTO = {
28
29
  quantity,
29
30
  stockProduct,
30
31
  dueDate,
32
+ onOrder,
31
33
  price,
32
34
  cartonSize,
33
35
  rrp,
@@ -5,12 +5,15 @@ All URIs are relative to *https://bitbucket.org*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**deleteAddFanvilMac**](#deleteaddfanvilmac) | **DELETE** /provisioning/fanvil/groups/{id}/macs/{mac} | Remove MAC address from DB and FDPS group|
8
+ |[**deleteCheckMacExists**](#deletecheckmacexists) | **DELETE** /admin/provisioning/fanvil/macs/{mac} | |
8
9
  |[**deleteDeleteFanvilGroup**](#deletedeletefanvilgroup) | **DELETE** /provisioning/fanvil/groups/{id} | Delete group from DB and FDPS|
10
+ |[**getCheckMacExists**](#getcheckmacexists) | **GET** /admin/provisioning/fanvil/macs/{mac} | |
9
11
  |[**getGetFanvilEncryptionKey**](#getgetfanvilencryptionkey) | **GET** /provisioning/fanvil/groups/{id}/macs/{mac}/key | Get group Fanvil encryption key|
10
12
  |[**getGetFanvilGroupMacs**](#getgetfanvilgroupmacs) | **GET** /provisioning/fanvil/groups/{id}/macs | Get MAC addresses on group at FDPS|
11
13
  |[**getGetGroups**](#getgetgroups) | **GET** /provisioning/groups | Get all provisioning groups or filter by customer ID|
12
14
  |[**postAddFanvilGroup**](#postaddfanvilgroup) | **POST** /provisioning/fanvil/groups | Add group to DB and FDPS|
13
15
  |[**postAddFanvilMac**](#postaddfanvilmac) | **POST** /provisioning/fanvil/groups/{id}/macs/{mac} | Add MAC address to DB and FDPS group|
16
+ |[**postCreateMac**](#postcreatemac) | **POST** /admin/provisioning/fanvil/macs | |
14
17
 
15
18
  # **deleteAddFanvilMac**
16
19
  > deleteAddFanvilMac()
@@ -69,6 +72,60 @@ No authorization required
69
72
 
70
73
  [[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)
71
74
 
75
+ # **deleteCheckMacExists**
76
+ > deleteCheckMacExists()
77
+
78
+ Delete a MAC address in FDPS
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ ProvisioningApi,
85
+ Configuration
86
+ } from 'yellowgrid-api-ts';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new ProvisioningApi(configuration);
90
+
91
+ let mac: string; //MAC Address (default to undefined)
92
+
93
+ const { status, data } = await apiInstance.deleteCheckMacExists(
94
+ mac
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **mac** | [**string**] | MAC Address | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ void (empty response body)
108
+
109
+ ### Authorization
110
+
111
+ No authorization required
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: Not defined
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**204** | No Response | - |
123
+ |**400** | Bad Request | - |
124
+ |**401** | Unauthorised | - |
125
+ |**403** | Access Denied | - |
126
+
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)
128
+
72
129
  # **deleteDeleteFanvilGroup**
73
130
  > deleteDeleteFanvilGroup()
74
131
 
@@ -123,6 +180,60 @@ No authorization required
123
180
 
124
181
  [[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)
125
182
 
183
+ # **getCheckMacExists**
184
+ > GetCheckMacExists200Response getCheckMacExists()
185
+
186
+ Check if a MAC address exists in FDPS
187
+
188
+ ### Example
189
+
190
+ ```typescript
191
+ import {
192
+ ProvisioningApi,
193
+ Configuration
194
+ } from 'yellowgrid-api-ts';
195
+
196
+ const configuration = new Configuration();
197
+ const apiInstance = new ProvisioningApi(configuration);
198
+
199
+ let mac: string; //MAC Address (default to undefined)
200
+
201
+ const { status, data } = await apiInstance.getCheckMacExists(
202
+ mac
203
+ );
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ |Name | Type | Description | Notes|
209
+ |------------- | ------------- | ------------- | -------------|
210
+ | **mac** | [**string**] | MAC Address | defaults to undefined|
211
+
212
+
213
+ ### Return type
214
+
215
+ **GetCheckMacExists200Response**
216
+
217
+ ### Authorization
218
+
219
+ No authorization required
220
+
221
+ ### HTTP request headers
222
+
223
+ - **Content-Type**: Not defined
224
+ - **Accept**: application/json
225
+
226
+
227
+ ### HTTP response details
228
+ | Status code | Description | Response headers |
229
+ |-------------|-------------|------------------|
230
+ |**200** | MAC Address Found | - |
231
+ |**400** | Bad Request | - |
232
+ |**401** | Unauthorised | - |
233
+ |**403** | Access Denied | - |
234
+
235
+ [[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)
236
+
126
237
  # **getGetFanvilEncryptionKey**
127
238
  > string getGetFanvilEncryptionKey()
128
239
 
@@ -400,3 +511,58 @@ No authorization required
400
511
 
401
512
  [[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)
402
513
 
514
+ # **postCreateMac**
515
+ > MacAddressDTO postCreateMac()
516
+
517
+ Create a MAC address in FDPS
518
+
519
+ ### Example
520
+
521
+ ```typescript
522
+ import {
523
+ ProvisioningApi,
524
+ Configuration,
525
+ MacAddressDTO
526
+ } from 'yellowgrid-api-ts';
527
+
528
+ const configuration = new Configuration();
529
+ const apiInstance = new ProvisioningApi(configuration);
530
+
531
+ let macAddressDTO: MacAddressDTO; //Mac Address (optional)
532
+
533
+ const { status, data } = await apiInstance.postCreateMac(
534
+ macAddressDTO
535
+ );
536
+ ```
537
+
538
+ ### Parameters
539
+
540
+ |Name | Type | Description | Notes|
541
+ |------------- | ------------- | ------------- | -------------|
542
+ | **macAddressDTO** | **MacAddressDTO**| Mac Address | |
543
+
544
+
545
+ ### Return type
546
+
547
+ **MacAddressDTO**
548
+
549
+ ### Authorization
550
+
551
+ No authorization required
552
+
553
+ ### HTTP request headers
554
+
555
+ - **Content-Type**: application/json
556
+ - **Accept**: application/json
557
+
558
+
559
+ ### HTTP response details
560
+ | Status code | Description | Response headers |
561
+ |-------------|-------------|------------------|
562
+ |**201** | MAC Address Created | - |
563
+ |**400** | Bad Request | - |
564
+ |**401** | Unauthorised | - |
565
+ |**403** | Access Denied | - |
566
+
567
+ [[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)
568
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.200",
3
+ "version": "3.2.202",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {