yellowgrid-api-ts 3.2.123-dev.0 → 3.2.125-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.
@@ -55,6 +55,7 @@ docs/CreditNoteItemModel.md
55
55
  docs/CreditNoteModel.md
56
56
  docs/CrmActivityDto.md
57
57
  docs/CrmContactDTO.md
58
+ docs/CrmDateActivitiesDTO.md
58
59
  docs/CrmNoteEntity.md
59
60
  docs/CrmNoteModel.md
60
61
  docs/CustomerInformationModel.md
package/README.md CHANGED
@@ -332,6 +332,7 @@ Class | Method | HTTP request | Description
332
332
  - [CreditNoteModel](docs/CreditNoteModel.md)
333
333
  - [CrmActivityDto](docs/CrmActivityDto.md)
334
334
  - [CrmContactDTO](docs/CrmContactDTO.md)
335
+ - [CrmDateActivitiesDTO](docs/CrmDateActivitiesDTO.md)
335
336
  - [CrmNoteEntity](docs/CrmNoteEntity.md)
336
337
  - [CrmNoteModel](docs/CrmNoteModel.md)
337
338
  - [CustomerInformationModel](docs/CustomerInformationModel.md)
package/api.ts CHANGED
@@ -1664,6 +1664,19 @@ export interface CrmContactDTO {
1664
1664
  */
1665
1665
  'url'?: string;
1666
1666
  }
1667
+ /**
1668
+ * CRM Date Activities
1669
+ */
1670
+ export interface CrmDateActivitiesDTO {
1671
+ /**
1672
+ * Date Time
1673
+ */
1674
+ 'date'?: string | null;
1675
+ /**
1676
+ * Activities
1677
+ */
1678
+ 'activities'?: Array<CrmActivityDto>;
1679
+ }
1667
1680
  /**
1668
1681
  * CrmNotesEntity
1669
1682
  */
@@ -10246,7 +10259,7 @@ export const CRMApiFp = function(configuration?: Configuration) {
10246
10259
  * @param {*} [options] Override http request option.
10247
10260
  * @throws {RequiredError}
10248
10261
  */
10249
- async getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CrmActivityDto>>> {
10262
+ async getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CrmDateActivitiesDTO>>> {
10250
10263
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCrmActivities(id, type, userId, options);
10251
10264
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10252
10265
  const localVarOperationServerBasePath = operationServerMap['CRMApi.getGetCrmActivities']?.[localVarOperationServerIndex]?.url;
@@ -10293,7 +10306,7 @@ export const CRMApiFactory = function (configuration?: Configuration, basePath?:
10293
10306
  * @param {*} [options] Override http request option.
10294
10307
  * @throws {RequiredError}
10295
10308
  */
10296
- getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<CrmActivityDto>> {
10309
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<CrmDateActivitiesDTO>> {
10297
10310
  return localVarFp.getGetCrmActivities(id, type, userId, options).then((request) => request(axios, basePath));
10298
10311
  },
10299
10312
  /**
package/dist/api.d.ts CHANGED
@@ -1647,6 +1647,19 @@ export interface CrmContactDTO {
1647
1647
  */
1648
1648
  'url'?: string;
1649
1649
  }
1650
+ /**
1651
+ * CRM Date Activities
1652
+ */
1653
+ export interface CrmDateActivitiesDTO {
1654
+ /**
1655
+ * Date Time
1656
+ */
1657
+ 'date'?: string | null;
1658
+ /**
1659
+ * Activities
1660
+ */
1661
+ 'activities'?: Array<CrmActivityDto>;
1662
+ }
1650
1663
  /**
1651
1664
  * CrmNotesEntity
1652
1665
  */
@@ -8977,7 +8990,7 @@ export declare const CRMApiFp: (configuration?: Configuration) => {
8977
8990
  * @param {*} [options] Override http request option.
8978
8991
  * @throws {RequiredError}
8979
8992
  */
8980
- getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CrmActivityDto>>>;
8993
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CrmDateActivitiesDTO>>>;
8981
8994
  /**
8982
8995
  * Search for contacts by phone number
8983
8996
  * @param {*} [options] Override http request option.
@@ -9005,7 +9018,7 @@ export declare const CRMApiFactory: (configuration?: Configuration, basePath?: s
9005
9018
  * @param {*} [options] Override http request option.
9006
9019
  * @throws {RequiredError}
9007
9020
  */
9008
- getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<CrmActivityDto>>;
9021
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<CrmDateActivitiesDTO>>;
9009
9022
  /**
9010
9023
  * Search for contacts by phone number
9011
9024
  * @param {*} [options] Override http request option.
@@ -9033,7 +9046,7 @@ export declare class CRMApi extends BaseAPI {
9033
9046
  * @param {*} [options] Override http request option.
9034
9047
  * @throws {RequiredError}
9035
9048
  */
9036
- getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmActivityDto[], any, {}>>;
9049
+ getGetCrmActivities(id: number, type?: GetGetCrmActivitiesTypeEnum, userId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CrmDateActivitiesDTO[], any, {}>>;
9037
9050
  /**
9038
9051
  * Search for contacts by phone number
9039
9052
  * @param {*} [options] Override http request option.
@@ -0,0 +1,33 @@
1
+ export declare const ScheduledTaskEnum: {
2
+ readonly SUSPEND_INSTANCE: {
3
+ readonly name: "SUSPEND_INSTANCE";
4
+ readonly value: "Suspend";
5
+ readonly publicValue: "Suspend";
6
+ };
7
+ readonly RESIZE_INSTANCE: {
8
+ readonly name: "RESIZE_INSTANCE";
9
+ readonly value: "Resize";
10
+ readonly publicValue: "Resize";
11
+ };
12
+ readonly EXTEND_DISK: {
13
+ readonly name: "EXTEND_DISK";
14
+ readonly value: "Extend Disk";
15
+ readonly publicValue: "Extend Disk";
16
+ };
17
+ readonly TCX_UPGRADE_DEBIAN: {
18
+ readonly name: "TCX_UPGRADE_DEBIAN";
19
+ readonly value: "Upgrade Debian";
20
+ readonly publicValue: "Upgrade Debian";
21
+ };
22
+ readonly TCX_RESTART_SERVICES: {
23
+ readonly name: "TCX_RESTART_SERVICES";
24
+ readonly value: "Restart Services";
25
+ readonly publicValue: "Restart Services";
26
+ };
27
+ readonly REBOOT: {
28
+ readonly name: "REBOOT";
29
+ readonly value: "Reboot";
30
+ readonly publicValue: "Reboot";
31
+ };
32
+ };
33
+ export type ScheduledTaskEnum = typeof ScheduledTaskEnum;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScheduledTaskEnum = void 0;
4
+ exports.ScheduledTaskEnum = {
5
+ "SUSPEND_INSTANCE": {
6
+ "name": "SUSPEND_INSTANCE",
7
+ "value": "Suspend",
8
+ "publicValue": "Suspend"
9
+ },
10
+ "RESIZE_INSTANCE": {
11
+ "name": "RESIZE_INSTANCE",
12
+ "value": "Resize",
13
+ "publicValue": "Resize"
14
+ },
15
+ "EXTEND_DISK": {
16
+ "name": "EXTEND_DISK",
17
+ "value": "Extend Disk",
18
+ "publicValue": "Extend Disk"
19
+ },
20
+ "TCX_UPGRADE_DEBIAN": {
21
+ "name": "TCX_UPGRADE_DEBIAN",
22
+ "value": "Upgrade Debian",
23
+ "publicValue": "Upgrade Debian"
24
+ },
25
+ "TCX_RESTART_SERVICES": {
26
+ "name": "TCX_RESTART_SERVICES",
27
+ "value": "Restart Services",
28
+ "publicValue": "Restart Services"
29
+ },
30
+ "REBOOT": {
31
+ "name": "REBOOT",
32
+ "value": "Reboot",
33
+ "publicValue": "Reboot"
34
+ }
35
+ };
package/docs/CRMApi.md CHANGED
@@ -9,7 +9,7 @@ All URIs are relative to *https://localhost*
9
9
  |[**postCreateCrmNote**](#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note | |
10
10
 
11
11
  # **getGetCrmActivities**
12
- > Array<CrmActivityDto> getGetCrmActivities()
12
+ > Array<CrmDateActivitiesDTO> getGetCrmActivities()
13
13
 
14
14
  Get Customer CRM Activities
15
15
 
@@ -46,7 +46,7 @@ const { status, data } = await apiInstance.getGetCrmActivities(
46
46
 
47
47
  ### Return type
48
48
 
49
- **Array<CrmActivityDto>**
49
+ **Array<CrmDateActivitiesDTO>**
50
50
 
51
51
  ### Authorization
52
52
 
@@ -0,0 +1,23 @@
1
+ # CrmDateActivitiesDTO
2
+
3
+ CRM Date Activities
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **date** | **string** | Date Time | [optional] [default to undefined]
10
+ **activities** | [**Array&lt;CrmActivityDto&gt;**](CrmActivityDto.md) | Activities | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CrmDateActivitiesDTO } from 'yellowgrid-api-ts';
16
+
17
+ const instance: CrmDateActivitiesDTO = {
18
+ date,
19
+ activities,
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)
@@ -0,0 +1,34 @@
1
+ export const ScheduledTaskEnum = {
2
+ "SUSPEND_INSTANCE": {
3
+ "name": "SUSPEND_INSTANCE",
4
+ "value": "Suspend",
5
+ "publicValue": "Suspend"
6
+ },
7
+ "RESIZE_INSTANCE": {
8
+ "name": "RESIZE_INSTANCE",
9
+ "value": "Resize",
10
+ "publicValue": "Resize"
11
+ },
12
+ "EXTEND_DISK": {
13
+ "name": "EXTEND_DISK",
14
+ "value": "Extend Disk",
15
+ "publicValue": "Extend Disk"
16
+ },
17
+ "TCX_UPGRADE_DEBIAN": {
18
+ "name": "TCX_UPGRADE_DEBIAN",
19
+ "value": "Upgrade Debian",
20
+ "publicValue": "Upgrade Debian"
21
+ },
22
+ "TCX_RESTART_SERVICES": {
23
+ "name": "TCX_RESTART_SERVICES",
24
+ "value": "Restart Services",
25
+ "publicValue": "Restart Services"
26
+ },
27
+ "REBOOT": {
28
+ "name": "REBOOT",
29
+ "value": "Reboot",
30
+ "publicValue": "Reboot"
31
+ }
32
+ } as const;
33
+
34
+ export type ScheduledTaskEnum = typeof ScheduledTaskEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.123-dev.0",
3
+ "version": "3.2.125-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {