yellowgrid-api-ts 3.2.28-dev.0 → 3.2.29-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/api.ts CHANGED
@@ -11548,7 +11548,9 @@ export type PostFailoverInstanceTypeEnum = typeof PostFailoverInstanceTypeEnum[k
11548
11548
  export const PostResizeInstanceSizeEnum = {
11549
11549
  D24: 'd2-4',
11550
11550
  D28: 'd2-8',
11551
- B230: 'b2-30'
11551
+ B230: 'b2-30',
11552
+ S2vcpu4gb: 's-2vcpu-4gb',
11553
+ S4vcpu8gb: 's-4vcpu-8gb'
11552
11554
  } as const;
11553
11555
  export type PostResizeInstanceSizeEnum = typeof PostResizeInstanceSizeEnum[keyof typeof PostResizeInstanceSizeEnum];
11554
11556
 
@@ -17349,11 +17351,11 @@ export const ServicesApiAxiosParamCreator = function (configuration?: Configurat
17349
17351
  },
17350
17352
  /**
17351
17353
  *
17352
- * @param {string} id Group ID
17354
+ * @param {number} id Group ID
17353
17355
  * @param {*} [options] Override http request option.
17354
17356
  * @throws {RequiredError}
17355
17357
  */
17356
- patchArchiveEvent: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17358
+ patchArchiveEvent: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17357
17359
  // verify required parameter 'id' is not null or undefined
17358
17360
  assertParamExists('patchArchiveEvent', 'id', id)
17359
17361
  const localVarPath = `/services/events/{id}/archive`
@@ -17519,11 +17521,11 @@ export const ServicesApiFp = function(configuration?: Configuration) {
17519
17521
  },
17520
17522
  /**
17521
17523
  *
17522
- * @param {string} id Group ID
17524
+ * @param {number} id Group ID
17523
17525
  * @param {*} [options] Override http request option.
17524
17526
  * @throws {RequiredError}
17525
17527
  */
17526
- async patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
17528
+ async patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
17527
17529
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchArchiveEvent(id, options);
17528
17530
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17529
17531
  const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchArchiveEvent']?.[localVarOperationServerIndex]?.url;
@@ -17595,11 +17597,11 @@ export const ServicesApiFactory = function (configuration?: Configuration, baseP
17595
17597
  },
17596
17598
  /**
17597
17599
  *
17598
- * @param {string} id Group ID
17600
+ * @param {number} id Group ID
17599
17601
  * @param {*} [options] Override http request option.
17600
17602
  * @throws {RequiredError}
17601
17603
  */
17602
- patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17604
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
17603
17605
  return localVarFp.patchArchiveEvent(id, options).then((request) => request(axios, basePath));
17604
17606
  },
17605
17607
  /**
@@ -17659,11 +17661,11 @@ export class ServicesApi extends BaseAPI {
17659
17661
 
17660
17662
  /**
17661
17663
  *
17662
- * @param {string} id Group ID
17664
+ * @param {number} id Group ID
17663
17665
  * @param {*} [options] Override http request option.
17664
17666
  * @throws {RequiredError}
17665
17667
  */
17666
- public patchArchiveEvent(id: string, options?: RawAxiosRequestConfig) {
17668
+ public patchArchiveEvent(id: number, options?: RawAxiosRequestConfig) {
17667
17669
  return ServicesApiFp(this.configuration).patchArchiveEvent(id, options).then((request) => request(this.axios, this.basePath));
17668
17670
  }
17669
17671
 
package/dist/api.d.ts CHANGED
@@ -8866,6 +8866,8 @@ export declare const PostResizeInstanceSizeEnum: {
8866
8866
  readonly D24: "d2-4";
8867
8867
  readonly D28: "d2-8";
8868
8868
  readonly B230: "b2-30";
8869
+ readonly S2vcpu4gb: "s-2vcpu-4gb";
8870
+ readonly S4vcpu8gb: "s-4vcpu-8gb";
8869
8871
  };
8870
8872
  export type PostResizeInstanceSizeEnum = typeof PostResizeInstanceSizeEnum[keyof typeof PostResizeInstanceSizeEnum];
8871
8873
  /**
@@ -11693,11 +11695,11 @@ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuratio
11693
11695
  getGetServiceHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11694
11696
  /**
11695
11697
  *
11696
- * @param {string} id Group ID
11698
+ * @param {number} id Group ID
11697
11699
  * @param {*} [options] Override http request option.
11698
11700
  * @throws {RequiredError}
11699
11701
  */
11700
- patchArchiveEvent: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11702
+ patchArchiveEvent: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11701
11703
  /**
11702
11704
  *
11703
11705
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -11741,11 +11743,11 @@ export declare const ServicesApiFp: (configuration?: Configuration) => {
11741
11743
  getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceHealthDTO>>;
11742
11744
  /**
11743
11745
  *
11744
- * @param {string} id Group ID
11746
+ * @param {number} id Group ID
11745
11747
  * @param {*} [options] Override http request option.
11746
11748
  * @throws {RequiredError}
11747
11749
  */
11748
- patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
11750
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
11749
11751
  /**
11750
11752
  *
11751
11753
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -11789,11 +11791,11 @@ export declare const ServicesApiFactory: (configuration?: Configuration, basePat
11789
11791
  getGetServiceHealth(options?: RawAxiosRequestConfig): AxiosPromise<ServiceHealthDTO>;
11790
11792
  /**
11791
11793
  *
11792
- * @param {string} id Group ID
11794
+ * @param {number} id Group ID
11793
11795
  * @param {*} [options] Override http request option.
11794
11796
  * @throws {RequiredError}
11795
11797
  */
11796
- patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
11798
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
11797
11799
  /**
11798
11800
  *
11799
11801
  * @param {EventRequestDTO} [eventRequestDTO]
@@ -11837,11 +11839,11 @@ export declare class ServicesApi extends BaseAPI {
11837
11839
  getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceHealthDTO, any, {}>>;
11838
11840
  /**
11839
11841
  *
11840
- * @param {string} id Group ID
11842
+ * @param {number} id Group ID
11841
11843
  * @param {*} [options] Override http request option.
11842
11844
  * @throws {RequiredError}
11843
11845
  */
11844
- patchArchiveEvent(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
11846
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
11845
11847
  /**
11846
11848
  *
11847
11849
  * @param {EventRequestDTO} [eventRequestDTO]
package/dist/api.js CHANGED
@@ -6043,7 +6043,9 @@ exports.PostFailoverInstanceTypeEnum = {
6043
6043
  exports.PostResizeInstanceSizeEnum = {
6044
6044
  D24: 'd2-4',
6045
6045
  D28: 'd2-8',
6046
- B230: 'b2-30'
6046
+ B230: 'b2-30',
6047
+ S2vcpu4gb: 's-2vcpu-4gb',
6048
+ S4vcpu8gb: 's-4vcpu-8gb'
6047
6049
  };
6048
6050
  /**
6049
6051
  * Class3CXIntegrationsApi - axios parameter creator
@@ -12686,7 +12688,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
12686
12688
  },
12687
12689
  /**
12688
12690
  *
12689
- * @param {string} id Group ID
12691
+ * @param {number} id Group ID
12690
12692
  * @param {*} [options] Override http request option.
12691
12693
  * @throws {RequiredError}
12692
12694
  */
@@ -12885,7 +12887,7 @@ var ServicesApiFp = function (configuration) {
12885
12887
  },
12886
12888
  /**
12887
12889
  *
12888
- * @param {string} id Group ID
12890
+ * @param {number} id Group ID
12889
12891
  * @param {*} [options] Override http request option.
12890
12892
  * @throws {RequiredError}
12891
12893
  */
@@ -13001,7 +13003,7 @@ var ServicesApiFactory = function (configuration, basePath, axios) {
13001
13003
  },
13002
13004
  /**
13003
13005
  *
13004
- * @param {string} id Group ID
13006
+ * @param {number} id Group ID
13005
13007
  * @param {*} [options] Override http request option.
13006
13008
  * @throws {RequiredError}
13007
13009
  */
@@ -13069,7 +13071,7 @@ var ServicesApi = /** @class */ (function (_super) {
13069
13071
  };
13070
13072
  /**
13071
13073
  *
13072
- * @param {string} id Group ID
13074
+ * @param {number} id Group ID
13073
13075
  * @param {*} [options] Override http request option.
13074
13076
  * @throws {RequiredError}
13075
13077
  */
@@ -441,7 +441,7 @@ const configuration = new Configuration();
441
441
  const apiInstance = new Class3CXInstallationsApi(configuration);
442
442
 
443
443
  let instanceId: string; //Instance ID (default to undefined)
444
- let size: 'd2-4' | 'd2-8' | 'b2-30'; //Instance Spec (default to undefined)
444
+ let size: 'd2-4' | 'd2-8' | 'b2-30' | 's-2vcpu-4gb' | 's-4vcpu-8gb'; //Instance Spec (default to undefined)
445
445
  let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
446
446
 
447
447
  const { status, data } = await apiInstance.postResizeInstance(
@@ -456,7 +456,7 @@ const { status, data } = await apiInstance.postResizeInstance(
456
456
  |Name | Type | Description | Notes|
457
457
  |------------- | ------------- | ------------- | -------------|
458
458
  | **instanceId** | [**string**] | Instance ID | defaults to undefined|
459
- | **size** | [**&#39;d2-4&#39; | &#39;d2-8&#39; | &#39;b2-30&#39;**]**Array<&#39;d2-4&#39; &#124; &#39;d2-8&#39; &#124; &#39;b2-30&#39;>** | Instance Spec | defaults to undefined|
459
+ | **size** | [**&#39;d2-4&#39; | &#39;d2-8&#39; | &#39;b2-30&#39; | &#39;s-2vcpu-4gb&#39; | &#39;s-4vcpu-8gb&#39;**]**Array<&#39;d2-4&#39; &#124; &#39;d2-8&#39; &#124; &#39;b2-30&#39; &#124; &#39;s-2vcpu-4gb&#39; &#124; &#39;s-4vcpu-8gb&#39;>** | Instance Spec | defaults to undefined|
460
460
  | **schedule** | [**string**] | Scheduled Task (Date &amp; Time) | (optional) defaults to undefined|
461
461
 
462
462
 
@@ -126,7 +126,7 @@ import {
126
126
  const configuration = new Configuration();
127
127
  const apiInstance = new ServicesApi(configuration);
128
128
 
129
- let id: string; //Group ID (default to undefined)
129
+ let id: number; //Group ID (default to undefined)
130
130
 
131
131
  const { status, data } = await apiInstance.patchArchiveEvent(
132
132
  id
@@ -137,7 +137,7 @@ const { status, data } = await apiInstance.patchArchiveEvent(
137
137
 
138
138
  |Name | Type | Description | Notes|
139
139
  |------------- | ------------- | ------------- | -------------|
140
- | **id** | [**string**] | Group ID | defaults to undefined|
140
+ | **id** | [**number**] | Group ID | defaults to undefined|
141
141
 
142
142
 
143
143
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.28-dev.0",
3
+ "version": "3.2.29-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {