yellowgrid-api-ts 3.2.132-dev.0 → 3.2.133-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.
@@ -0,0 +1,226 @@
1
+ # ProspectsApi
2
+
3
+ All URIs are relative to *https://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getGetProspect**](#getgetprospect) | **GET** /accounts/prospects/{xero_id} | Get Prospect|
8
+ |[**getGetProspects**](#getgetprospects) | **GET** /accounts/prospects | Get Prospects|
9
+ |[**getRemoveFromProspects**](#getremovefromprospects) | **GET** /accounts/prospects/{xero_id}/remove | Remove From Prospects|
10
+ |[**getSetCallback**](#getsetcallback) | **GET** /accounts/prospects/{xero_id}/date | Set Call Back Date|
11
+
12
+ # **getGetProspect**
13
+ > ProspectDTO getGetProspect()
14
+
15
+ Get Prospect
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ ProspectsApi,
22
+ Configuration
23
+ } from 'yellowgrid-api-ts';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new ProspectsApi(configuration);
27
+
28
+ let xeroId: string; //Xero ID (default to undefined)
29
+
30
+ const { status, data } = await apiInstance.getGetProspect(
31
+ xeroId
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **xeroId** | [**string**] | Xero ID | defaults to undefined|
40
+
41
+
42
+ ### Return type
43
+
44
+ **ProspectDTO**
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: Not defined
53
+ - **Accept**: application/json
54
+
55
+
56
+ ### HTTP response details
57
+ | Status code | Description | Response headers |
58
+ |-------------|-------------|------------------|
59
+ |**200** | Prospect | - |
60
+ |**400** | Bad Request | - |
61
+ |**401** | Unauthorised | - |
62
+ |**403** | Access Denied | - |
63
+
64
+ [[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)
65
+
66
+ # **getGetProspects**
67
+ > Array<ProspectDTO> getGetProspects()
68
+
69
+ Get Prospects
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ ProspectsApi,
76
+ Configuration
77
+ } from 'yellowgrid-api-ts';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new ProspectsApi(configuration);
81
+
82
+ const { status, data } = await apiInstance.getGetProspects();
83
+ ```
84
+
85
+ ### Parameters
86
+ This endpoint does not have any parameters.
87
+
88
+
89
+ ### Return type
90
+
91
+ **Array<ProspectDTO>**
92
+
93
+ ### Authorization
94
+
95
+ No authorization required
96
+
97
+ ### HTTP request headers
98
+
99
+ - **Content-Type**: Not defined
100
+ - **Accept**: application/json
101
+
102
+
103
+ ### HTTP response details
104
+ | Status code | Description | Response headers |
105
+ |-------------|-------------|------------------|
106
+ |**200** | Prospects | - |
107
+ |**400** | Bad Request | - |
108
+ |**401** | Unauthorised | - |
109
+ |**403** | Access Denied | - |
110
+
111
+ [[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)
112
+
113
+ # **getRemoveFromProspects**
114
+ > ProspectDTO getRemoveFromProspects()
115
+
116
+ Remove From Prospect
117
+
118
+ ### Example
119
+
120
+ ```typescript
121
+ import {
122
+ ProspectsApi,
123
+ Configuration
124
+ } from 'yellowgrid-api-ts';
125
+
126
+ const configuration = new Configuration();
127
+ const apiInstance = new ProspectsApi(configuration);
128
+
129
+ let xeroId: string; //Xero ID (default to undefined)
130
+ let status: boolean; //Status (default to undefined)
131
+
132
+ const { status, data } = await apiInstance.getRemoveFromProspects(
133
+ xeroId,
134
+ status
135
+ );
136
+ ```
137
+
138
+ ### Parameters
139
+
140
+ |Name | Type | Description | Notes|
141
+ |------------- | ------------- | ------------- | -------------|
142
+ | **xeroId** | [**string**] | Xero ID | defaults to undefined|
143
+ | **status** | [**boolean**] | Status | defaults to undefined|
144
+
145
+
146
+ ### Return type
147
+
148
+ **ProspectDTO**
149
+
150
+ ### Authorization
151
+
152
+ No authorization required
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | Prospect | - |
164
+ |**400** | Bad Request | - |
165
+ |**401** | Unauthorised | - |
166
+ |**403** | Access Denied | - |
167
+
168
+ [[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)
169
+
170
+ # **getSetCallback**
171
+ > ProspectDTO getSetCallback()
172
+
173
+ Set Call Back Date
174
+
175
+ ### Example
176
+
177
+ ```typescript
178
+ import {
179
+ ProspectsApi,
180
+ Configuration
181
+ } from 'yellowgrid-api-ts';
182
+
183
+ const configuration = new Configuration();
184
+ const apiInstance = new ProspectsApi(configuration);
185
+
186
+ let xeroId: string; //Xero ID (default to undefined)
187
+ let date: string; //Callback Date (default to undefined)
188
+
189
+ const { status, data } = await apiInstance.getSetCallback(
190
+ xeroId,
191
+ date
192
+ );
193
+ ```
194
+
195
+ ### Parameters
196
+
197
+ |Name | Type | Description | Notes|
198
+ |------------- | ------------- | ------------- | -------------|
199
+ | **xeroId** | [**string**] | Xero ID | defaults to undefined|
200
+ | **date** | [**string**] | Callback Date | defaults to undefined|
201
+
202
+
203
+ ### Return type
204
+
205
+ **ProspectDTO**
206
+
207
+ ### Authorization
208
+
209
+ No authorization required
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
217
+ ### HTTP response details
218
+ | Status code | Description | Response headers |
219
+ |-------------|-------------|------------------|
220
+ |**200** | Prospect | - |
221
+ |**400** | Bad Request | - |
222
+ |**401** | Unauthorised | - |
223
+ |**403** | Access Denied | - |
224
+
225
+ [[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)
226
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.132-dev.0",
3
+ "version": "3.2.133-dev.0",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {