yellowgrid-api-ts 3.2.123-dev.0 → 3.2.124-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/.openapi-generator/FILES +1 -0
- package/README.md +1 -0
- package/api.ts +15 -2
- package/dist/api.d.ts +16 -3
- package/docs/CRMApi.md +2 -2
- package/docs/CrmDateActivitiesDTO.md +23 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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.
|
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<
|
|
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<
|
|
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<CrmActivityDto>**](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)
|