yellowgrid-api-ts 3.2.113-dev.0 → 3.2.115-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 +3 -7
- package/dist/api.d.ts +3 -7
- package/docs/AccountPageDetailsDTO.md +3 -3
- package/docs/AddressDTO.md +0 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -259,12 +259,12 @@ export interface AccountPageDetailsDTO {
|
|
|
259
259
|
* Company
|
|
260
260
|
*/
|
|
261
261
|
'companyName'?: string;
|
|
262
|
-
'billingAddress'?:
|
|
263
|
-
'shippingAddress'?:
|
|
262
|
+
'billingAddress'?: AddressDTO;
|
|
263
|
+
'shippingAddress'?: AddressDTO;
|
|
264
264
|
/**
|
|
265
265
|
* Addresses
|
|
266
266
|
*/
|
|
267
|
-
'previousShippingAddreses'?: Array<
|
|
267
|
+
'previousShippingAddreses'?: Array<AddressDTO>;
|
|
268
268
|
/**
|
|
269
269
|
* Portal Access
|
|
270
270
|
*/
|
|
@@ -393,10 +393,6 @@ export interface AccountsResponseModel {
|
|
|
393
393
|
* Address
|
|
394
394
|
*/
|
|
395
395
|
export interface AddressDTO {
|
|
396
|
-
/**
|
|
397
|
-
* Company
|
|
398
|
-
*/
|
|
399
|
-
'company'?: string;
|
|
400
396
|
/**
|
|
401
397
|
* Address Line 1
|
|
402
398
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -249,12 +249,12 @@ export interface AccountPageDetailsDTO {
|
|
|
249
249
|
* Company
|
|
250
250
|
*/
|
|
251
251
|
'companyName'?: string;
|
|
252
|
-
'billingAddress'?:
|
|
253
|
-
'shippingAddress'?:
|
|
252
|
+
'billingAddress'?: AddressDTO;
|
|
253
|
+
'shippingAddress'?: AddressDTO;
|
|
254
254
|
/**
|
|
255
255
|
* Addresses
|
|
256
256
|
*/
|
|
257
|
-
'previousShippingAddreses'?: Array<
|
|
257
|
+
'previousShippingAddreses'?: Array<AddressDTO>;
|
|
258
258
|
/**
|
|
259
259
|
* Portal Access
|
|
260
260
|
*/
|
|
@@ -383,10 +383,6 @@ export interface AccountsResponseModel {
|
|
|
383
383
|
* Address
|
|
384
384
|
*/
|
|
385
385
|
export interface AddressDTO {
|
|
386
|
-
/**
|
|
387
|
-
* Company
|
|
388
|
-
*/
|
|
389
|
-
'company'?: string;
|
|
390
386
|
/**
|
|
391
387
|
* Address Line 1
|
|
392
388
|
*/
|
|
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**xeroId** | **string** | Xero ID | [optional] [default to undefined]
|
|
10
10
|
**companyName** | **string** | Company | [optional] [default to undefined]
|
|
11
|
-
**billingAddress** | [**
|
|
12
|
-
**shippingAddress** | [**
|
|
13
|
-
**previousShippingAddreses** | [**Array<
|
|
11
|
+
**billingAddress** | [**AddressDTO**](AddressDTO.md) | | [optional] [default to undefined]
|
|
12
|
+
**shippingAddress** | [**AddressDTO**](AddressDTO.md) | | [optional] [default to undefined]
|
|
13
|
+
**previousShippingAddreses** | [**Array<AddressDTO>**](AddressDTO.md) | Addresses | [optional] [default to undefined]
|
|
14
14
|
**portalAccess** | **boolean** | Portal Access | [optional] [default to undefined]
|
|
15
15
|
**cname** | **string** | CNAME | [optional] [default to undefined]
|
|
16
16
|
**prizesEnabled** | **boolean** | Prizes Enabled | [optional] [default to undefined]
|
package/docs/AddressDTO.md
CHANGED
|
@@ -6,7 +6,6 @@ Address
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**company** | **string** | Company | [optional] [default to undefined]
|
|
10
9
|
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
11
10
|
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
12
11
|
**city** | **string** | City | [optional] [default to undefined]
|
|
@@ -20,7 +19,6 @@ Name | Type | Description | Notes
|
|
|
20
19
|
import { AddressDTO } from 'yellowgrid-api-ts';
|
|
21
20
|
|
|
22
21
|
const instance: AddressDTO = {
|
|
23
|
-
company,
|
|
24
22
|
addressLine1,
|
|
25
23
|
addressLine2,
|
|
26
24
|
city,
|