@managespace/sdk 0.0.19 → 0.0.21
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/dist/extensibility/functions/project/billing.d.ts +7 -19
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +12 -10
- package/dist/generated/apis/default-api.d.ts +1 -43
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +0 -138
- package/dist/generated/models/create-contact.d.ts +0 -6
- package/dist/generated/models/create-contact.d.ts.map +1 -1
- package/dist/generated/models/create-contact.js +0 -2
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +0 -6
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-contact-with-customer.js +0 -2
- package/dist/generated/models/custom-create-contact.d.ts +0 -6
- package/dist/generated/models/custom-create-contact.d.ts.map +1 -1
- package/dist/generated/models/custom-create-contact.js +0 -2
- package/dist/generated/models/custom-create-customer.d.ts +0 -6
- package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-customer.js +0 -2
- package/dist/generated/models/index.d.ts +0 -6
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +0 -6
- package/dist/generated/models/update-customer.d.ts +0 -6
- package/dist/generated/models/update-customer.d.ts.map +1 -1
- package/dist/generated/models/update-customer.js +0 -2
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +23 -19
- package/src/generated/.openapi-generator/FILES +0 -6
- package/src/generated/apis/default-api.ts +0 -232
- package/src/generated/models/create-contact.ts +0 -8
- package/src/generated/models/custom-create-contact-with-customer.ts +0 -8
- package/src/generated/models/custom-create-contact.ts +0 -8
- package/src/generated/models/custom-create-customer.ts +0 -8
- package/src/generated/models/index.ts +0 -6
- package/src/generated/models/update-customer.ts +0 -8
|
@@ -58,9 +58,7 @@ import type {
|
|
|
58
58
|
CustomCreateContact,
|
|
59
59
|
CustomCreateCustomer,
|
|
60
60
|
CustomCreateUser,
|
|
61
|
-
CustomUpdateCustomer,
|
|
62
61
|
CustomUpdateTaskTemplate,
|
|
63
|
-
CustomerId,
|
|
64
62
|
CustomerResponse,
|
|
65
63
|
DocumentSigned,
|
|
66
64
|
DocumentUrlsResponse,
|
|
@@ -79,9 +77,7 @@ import type {
|
|
|
79
77
|
GetCommunications200Response,
|
|
80
78
|
GetContactResponse,
|
|
81
79
|
GetContacts200Response,
|
|
82
|
-
GetCustomerResponse,
|
|
83
80
|
GetCustomers200Response,
|
|
84
|
-
GetCustomersBilling200Response,
|
|
85
81
|
GetIntent,
|
|
86
82
|
GetInvoices200Response,
|
|
87
83
|
GetNotes200Response,
|
|
@@ -234,12 +230,8 @@ import {
|
|
|
234
230
|
CustomCreateCustomerToJSON,
|
|
235
231
|
CustomCreateUserFromJSON,
|
|
236
232
|
CustomCreateUserToJSON,
|
|
237
|
-
CustomUpdateCustomerFromJSON,
|
|
238
|
-
CustomUpdateCustomerToJSON,
|
|
239
233
|
CustomUpdateTaskTemplateFromJSON,
|
|
240
234
|
CustomUpdateTaskTemplateToJSON,
|
|
241
|
-
CustomerIdFromJSON,
|
|
242
|
-
CustomerIdToJSON,
|
|
243
235
|
CustomerResponseFromJSON,
|
|
244
236
|
CustomerResponseToJSON,
|
|
245
237
|
DocumentSignedFromJSON,
|
|
@@ -276,12 +268,8 @@ import {
|
|
|
276
268
|
GetContactResponseToJSON,
|
|
277
269
|
GetContacts200ResponseFromJSON,
|
|
278
270
|
GetContacts200ResponseToJSON,
|
|
279
|
-
GetCustomerResponseFromJSON,
|
|
280
|
-
GetCustomerResponseToJSON,
|
|
281
271
|
GetCustomers200ResponseFromJSON,
|
|
282
272
|
GetCustomers200ResponseToJSON,
|
|
283
|
-
GetCustomersBilling200ResponseFromJSON,
|
|
284
|
-
GetCustomersBilling200ResponseToJSON,
|
|
285
273
|
GetIntentFromJSON,
|
|
286
274
|
GetIntentToJSON,
|
|
287
275
|
GetInvoices200ResponseFromJSON,
|
|
@@ -487,11 +475,6 @@ export interface CreateCustomerRequest {
|
|
|
487
475
|
customCreateCustomer: CustomCreateCustomer;
|
|
488
476
|
}
|
|
489
477
|
|
|
490
|
-
export interface CreateCustomerBillingRequest {
|
|
491
|
-
siteId: string;
|
|
492
|
-
customerId: CustomerId;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
478
|
export interface CreateDocumentRequest {
|
|
496
479
|
siteId: string;
|
|
497
480
|
createDocument: CreateDocument;
|
|
@@ -704,11 +687,6 @@ export interface GetCustomerRequest {
|
|
|
704
687
|
customerId: string;
|
|
705
688
|
}
|
|
706
689
|
|
|
707
|
-
export interface GetCustomerBillingRequest {
|
|
708
|
-
siteId: string;
|
|
709
|
-
customerId: string;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
690
|
export interface GetCustomersRequest {
|
|
713
691
|
offset?: number;
|
|
714
692
|
limit?: number;
|
|
@@ -718,12 +696,6 @@ export interface GetCustomersRequest {
|
|
|
718
696
|
name?: string;
|
|
719
697
|
}
|
|
720
698
|
|
|
721
|
-
export interface GetCustomersBillingRequest {
|
|
722
|
-
siteId: string;
|
|
723
|
-
offset?: number;
|
|
724
|
-
limit?: number;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
699
|
export interface GetInvoiceRequest {
|
|
728
700
|
siteId: string;
|
|
729
701
|
invoiceId: string;
|
|
@@ -1020,12 +992,6 @@ export interface UpdateCustomerRequest {
|
|
|
1020
992
|
updateCustomer: UpdateCustomer;
|
|
1021
993
|
}
|
|
1022
994
|
|
|
1023
|
-
export interface UpdateCustomerBillingRequest {
|
|
1024
|
-
siteId: string;
|
|
1025
|
-
customerId: string;
|
|
1026
|
-
customUpdateCustomer: CustomUpdateCustomer;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
995
|
export interface UpdateExtensibilityRepoRequest {
|
|
1030
996
|
updateExtensibilityRepo: UpdateExtensibilityRepo;
|
|
1031
997
|
}
|
|
@@ -1822,55 +1788,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
1822
1788
|
return await response.value();
|
|
1823
1789
|
}
|
|
1824
1790
|
|
|
1825
|
-
/**
|
|
1826
|
-
*/
|
|
1827
|
-
async createCustomerBillingRaw(requestParameters: CreateCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCustomerResponse>> {
|
|
1828
|
-
if (requestParameters['siteId'] == null) {
|
|
1829
|
-
throw new runtime.RequiredError(
|
|
1830
|
-
'siteId',
|
|
1831
|
-
'Required parameter "siteId" was null or undefined when calling createCustomerBilling().'
|
|
1832
|
-
);
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
if (requestParameters['customerId'] == null) {
|
|
1836
|
-
throw new runtime.RequiredError(
|
|
1837
|
-
'customerId',
|
|
1838
|
-
'Required parameter "customerId" was null or undefined when calling createCustomerBilling().'
|
|
1839
|
-
);
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
const queryParameters: any = {};
|
|
1843
|
-
|
|
1844
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1845
|
-
|
|
1846
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1847
|
-
|
|
1848
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1849
|
-
const token = this.configuration.accessToken;
|
|
1850
|
-
const tokenString = await token("bearer", []);
|
|
1851
|
-
|
|
1852
|
-
if (tokenString) {
|
|
1853
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
const response = await this.request({
|
|
1857
|
-
path: `/api/sites/{siteId}/billing/customers`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
|
|
1858
|
-
method: 'POST',
|
|
1859
|
-
headers: headerParameters,
|
|
1860
|
-
query: queryParameters,
|
|
1861
|
-
body: CustomerIdToJSON(requestParameters['customerId']),
|
|
1862
|
-
}, initOverrides);
|
|
1863
|
-
|
|
1864
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetCustomerResponseFromJSON(jsonValue));
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
/**
|
|
1868
|
-
*/
|
|
1869
|
-
async createCustomerBilling(requestParameters: CreateCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCustomerResponse> {
|
|
1870
|
-
const response = await this.createCustomerBillingRaw(requestParameters, initOverrides);
|
|
1871
|
-
return await response.value();
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
1791
|
/**
|
|
1875
1792
|
*/
|
|
1876
1793
|
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentUrlsResponse>> {
|
|
@@ -3816,52 +3733,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
3816
3733
|
return await response.value();
|
|
3817
3734
|
}
|
|
3818
3735
|
|
|
3819
|
-
/**
|
|
3820
|
-
*/
|
|
3821
|
-
async getCustomerBillingRaw(requestParameters: GetCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCustomerResponse>> {
|
|
3822
|
-
if (requestParameters['siteId'] == null) {
|
|
3823
|
-
throw new runtime.RequiredError(
|
|
3824
|
-
'siteId',
|
|
3825
|
-
'Required parameter "siteId" was null or undefined when calling getCustomerBilling().'
|
|
3826
|
-
);
|
|
3827
|
-
}
|
|
3828
|
-
|
|
3829
|
-
if (requestParameters['customerId'] == null) {
|
|
3830
|
-
throw new runtime.RequiredError(
|
|
3831
|
-
'customerId',
|
|
3832
|
-
'Required parameter "customerId" was null or undefined when calling getCustomerBilling().'
|
|
3833
|
-
);
|
|
3834
|
-
}
|
|
3835
|
-
|
|
3836
|
-
const queryParameters: any = {};
|
|
3837
|
-
|
|
3838
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3839
|
-
|
|
3840
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3841
|
-
const token = this.configuration.accessToken;
|
|
3842
|
-
const tokenString = await token("bearer", []);
|
|
3843
|
-
|
|
3844
|
-
if (tokenString) {
|
|
3845
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3846
|
-
}
|
|
3847
|
-
}
|
|
3848
|
-
const response = await this.request({
|
|
3849
|
-
path: `/api/sites/{siteId}/billing/customers/{customerId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"customerId"}}`, encodeURIComponent(String(requestParameters['customerId']))),
|
|
3850
|
-
method: 'GET',
|
|
3851
|
-
headers: headerParameters,
|
|
3852
|
-
query: queryParameters,
|
|
3853
|
-
}, initOverrides);
|
|
3854
|
-
|
|
3855
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetCustomerResponseFromJSON(jsonValue));
|
|
3856
|
-
}
|
|
3857
|
-
|
|
3858
|
-
/**
|
|
3859
|
-
*/
|
|
3860
|
-
async getCustomerBilling(requestParameters: GetCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCustomerResponse> {
|
|
3861
|
-
const response = await this.getCustomerBillingRaw(requestParameters, initOverrides);
|
|
3862
|
-
return await response.value();
|
|
3863
|
-
}
|
|
3864
|
-
|
|
3865
3736
|
/**
|
|
3866
3737
|
*/
|
|
3867
3738
|
async getCustomersRaw(requestParameters: GetCustomersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCustomers200Response>> {
|
|
@@ -3918,53 +3789,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
3918
3789
|
return await response.value();
|
|
3919
3790
|
}
|
|
3920
3791
|
|
|
3921
|
-
/**
|
|
3922
|
-
*/
|
|
3923
|
-
async getCustomersBillingRaw(requestParameters: GetCustomersBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCustomersBilling200Response>> {
|
|
3924
|
-
if (requestParameters['siteId'] == null) {
|
|
3925
|
-
throw new runtime.RequiredError(
|
|
3926
|
-
'siteId',
|
|
3927
|
-
'Required parameter "siteId" was null or undefined when calling getCustomersBilling().'
|
|
3928
|
-
);
|
|
3929
|
-
}
|
|
3930
|
-
|
|
3931
|
-
const queryParameters: any = {};
|
|
3932
|
-
|
|
3933
|
-
if (requestParameters['offset'] != null) {
|
|
3934
|
-
queryParameters['offset'] = requestParameters['offset'];
|
|
3935
|
-
}
|
|
3936
|
-
|
|
3937
|
-
if (requestParameters['limit'] != null) {
|
|
3938
|
-
queryParameters['limit'] = requestParameters['limit'];
|
|
3939
|
-
}
|
|
3940
|
-
|
|
3941
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
3942
|
-
|
|
3943
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3944
|
-
const token = this.configuration.accessToken;
|
|
3945
|
-
const tokenString = await token("bearer", []);
|
|
3946
|
-
|
|
3947
|
-
if (tokenString) {
|
|
3948
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3949
|
-
}
|
|
3950
|
-
}
|
|
3951
|
-
const response = await this.request({
|
|
3952
|
-
path: `/api/sites/{siteId}/billing/customers`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
|
|
3953
|
-
method: 'GET',
|
|
3954
|
-
headers: headerParameters,
|
|
3955
|
-
query: queryParameters,
|
|
3956
|
-
}, initOverrides);
|
|
3957
|
-
|
|
3958
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetCustomersBilling200ResponseFromJSON(jsonValue));
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3961
|
-
/**
|
|
3962
|
-
*/
|
|
3963
|
-
async getCustomersBilling(requestParameters: GetCustomersBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCustomersBilling200Response> {
|
|
3964
|
-
const response = await this.getCustomersBillingRaw(requestParameters, initOverrides);
|
|
3965
|
-
return await response.value();
|
|
3966
|
-
}
|
|
3967
|
-
|
|
3968
3792
|
/**
|
|
3969
3793
|
*/
|
|
3970
3794
|
async getExtensibilityRepoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensibilityRepoResponse>> {
|
|
@@ -6574,62 +6398,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6574
6398
|
return await response.value();
|
|
6575
6399
|
}
|
|
6576
6400
|
|
|
6577
|
-
/**
|
|
6578
|
-
*/
|
|
6579
|
-
async updateCustomerBillingRaw(requestParameters: UpdateCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCustomerResponse>> {
|
|
6580
|
-
if (requestParameters['siteId'] == null) {
|
|
6581
|
-
throw new runtime.RequiredError(
|
|
6582
|
-
'siteId',
|
|
6583
|
-
'Required parameter "siteId" was null or undefined when calling updateCustomerBilling().'
|
|
6584
|
-
);
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
|
-
if (requestParameters['customerId'] == null) {
|
|
6588
|
-
throw new runtime.RequiredError(
|
|
6589
|
-
'customerId',
|
|
6590
|
-
'Required parameter "customerId" was null or undefined when calling updateCustomerBilling().'
|
|
6591
|
-
);
|
|
6592
|
-
}
|
|
6593
|
-
|
|
6594
|
-
if (requestParameters['customUpdateCustomer'] == null) {
|
|
6595
|
-
throw new runtime.RequiredError(
|
|
6596
|
-
'customUpdateCustomer',
|
|
6597
|
-
'Required parameter "customUpdateCustomer" was null or undefined when calling updateCustomerBilling().'
|
|
6598
|
-
);
|
|
6599
|
-
}
|
|
6600
|
-
|
|
6601
|
-
const queryParameters: any = {};
|
|
6602
|
-
|
|
6603
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
6604
|
-
|
|
6605
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
6606
|
-
|
|
6607
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
6608
|
-
const token = this.configuration.accessToken;
|
|
6609
|
-
const tokenString = await token("bearer", []);
|
|
6610
|
-
|
|
6611
|
-
if (tokenString) {
|
|
6612
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6613
|
-
}
|
|
6614
|
-
}
|
|
6615
|
-
const response = await this.request({
|
|
6616
|
-
path: `/api/sites/{siteId}/billing/customers/{customerId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"customerId"}}`, encodeURIComponent(String(requestParameters['customerId']))),
|
|
6617
|
-
method: 'PUT',
|
|
6618
|
-
headers: headerParameters,
|
|
6619
|
-
query: queryParameters,
|
|
6620
|
-
body: CustomUpdateCustomerToJSON(requestParameters['customUpdateCustomer']),
|
|
6621
|
-
}, initOverrides);
|
|
6622
|
-
|
|
6623
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetCustomerResponseFromJSON(jsonValue));
|
|
6624
|
-
}
|
|
6625
|
-
|
|
6626
|
-
/**
|
|
6627
|
-
*/
|
|
6628
|
-
async updateCustomerBilling(requestParameters: UpdateCustomerBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCustomerResponse> {
|
|
6629
|
-
const response = await this.updateCustomerBillingRaw(requestParameters, initOverrides);
|
|
6630
|
-
return await response.value();
|
|
6631
|
-
}
|
|
6632
|
-
|
|
6633
6401
|
/**
|
|
6634
6402
|
*/
|
|
6635
6403
|
async updateExtensibilityRepoRaw(requestParameters: UpdateExtensibilityRepoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensibilityRepoResponse>> {
|
|
@@ -19,12 +19,6 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface CreateContact
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateContact {
|
|
22
|
-
/**
|
|
23
|
-
* External ID
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateContact
|
|
26
|
-
*/
|
|
27
|
-
externalId?: string | null;
|
|
28
22
|
/**
|
|
29
23
|
* First name
|
|
30
24
|
* @type {string}
|
|
@@ -105,7 +99,6 @@ export function CreateContactFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
105
99
|
}
|
|
106
100
|
return {
|
|
107
101
|
|
|
108
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
109
102
|
'firstName': json['firstName'],
|
|
110
103
|
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
111
104
|
'lastName': json['lastName'],
|
|
@@ -129,7 +122,6 @@ export function CreateContactToJSONTyped(value?: CreateContact | null, ignoreDis
|
|
|
129
122
|
|
|
130
123
|
return {
|
|
131
124
|
|
|
132
|
-
'externalId': value['externalId'],
|
|
133
125
|
'firstName': value['firstName'],
|
|
134
126
|
'middleInitial': value['middleInitial'],
|
|
135
127
|
'lastName': value['lastName'],
|
|
@@ -27,12 +27,6 @@ import {
|
|
|
27
27
|
* @interface CustomCreateContactWithCustomer
|
|
28
28
|
*/
|
|
29
29
|
export interface CustomCreateContactWithCustomer {
|
|
30
|
-
/**
|
|
31
|
-
* External ID
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CustomCreateContactWithCustomer
|
|
34
|
-
*/
|
|
35
|
-
externalId?: string | null;
|
|
36
30
|
/**
|
|
37
31
|
* First name
|
|
38
32
|
* @type {string}
|
|
@@ -106,7 +100,6 @@ export function CustomCreateContactWithCustomerFromJSONTyped(json: any, ignoreDi
|
|
|
106
100
|
}
|
|
107
101
|
return {
|
|
108
102
|
|
|
109
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
110
103
|
'firstName': json['firstName'],
|
|
111
104
|
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
112
105
|
'lastName': json['lastName'],
|
|
@@ -129,7 +122,6 @@ export function CustomCreateContactWithCustomerToJSONTyped(value?: CustomCreateC
|
|
|
129
122
|
|
|
130
123
|
return {
|
|
131
124
|
|
|
132
|
-
'externalId': value['externalId'],
|
|
133
125
|
'firstName': value['firstName'],
|
|
134
126
|
'middleInitial': value['middleInitial'],
|
|
135
127
|
'lastName': value['lastName'],
|
|
@@ -27,12 +27,6 @@ import {
|
|
|
27
27
|
* @interface CustomCreateContact
|
|
28
28
|
*/
|
|
29
29
|
export interface CustomCreateContact {
|
|
30
|
-
/**
|
|
31
|
-
* External ID
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CustomCreateContact
|
|
34
|
-
*/
|
|
35
|
-
externalId?: string | null;
|
|
36
30
|
/**
|
|
37
31
|
* First name
|
|
38
32
|
* @type {string}
|
|
@@ -113,7 +107,6 @@ export function CustomCreateContactFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
113
107
|
}
|
|
114
108
|
return {
|
|
115
109
|
|
|
116
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
117
110
|
'firstName': json['firstName'],
|
|
118
111
|
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
119
112
|
'lastName': json['lastName'],
|
|
@@ -137,7 +130,6 @@ export function CustomCreateContactToJSONTyped(value?: CustomCreateContact | nul
|
|
|
137
130
|
|
|
138
131
|
return {
|
|
139
132
|
|
|
140
|
-
'externalId': value['externalId'],
|
|
141
133
|
'firstName': value['firstName'],
|
|
142
134
|
'middleInitial': value['middleInitial'],
|
|
143
135
|
'lastName': value['lastName'],
|
|
@@ -45,12 +45,6 @@ export interface CustomCreateCustomer {
|
|
|
45
45
|
* @memberof CustomCreateCustomer
|
|
46
46
|
*/
|
|
47
47
|
status?: string;
|
|
48
|
-
/**
|
|
49
|
-
* External ID
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CustomCreateCustomer
|
|
52
|
-
*/
|
|
53
|
-
externalId?: string | null;
|
|
54
48
|
/**
|
|
55
49
|
* Balance
|
|
56
50
|
* @type {number}
|
|
@@ -165,7 +159,6 @@ export function CustomCreateCustomerFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
165
159
|
'name': json['name'],
|
|
166
160
|
'description': json['description'] == null ? undefined : json['description'],
|
|
167
161
|
'status': json['status'] == null ? undefined : json['status'],
|
|
168
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
169
162
|
'balance': json['balance'] == null ? undefined : json['balance'],
|
|
170
163
|
'autoPay': json['autoPay'] == null ? undefined : json['autoPay'],
|
|
171
164
|
'billingCycleDay': json['billingCycleDay'] == null ? undefined : json['billingCycleDay'],
|
|
@@ -198,7 +191,6 @@ export function CustomCreateCustomerToJSONTyped(value?: CustomCreateCustomer | n
|
|
|
198
191
|
'name': value['name'],
|
|
199
192
|
'description': value['description'],
|
|
200
193
|
'status': value['status'],
|
|
201
|
-
'externalId': value['externalId'],
|
|
202
194
|
'balance': value['balance'],
|
|
203
195
|
'autoPay': value['autoPay'],
|
|
204
196
|
'billingCycleDay': value['billingCycleDay'],
|
|
@@ -61,11 +61,7 @@ export * from './custom-create-contact';
|
|
|
61
61
|
export * from './custom-create-contact-with-customer';
|
|
62
62
|
export * from './custom-create-customer';
|
|
63
63
|
export * from './custom-create-user';
|
|
64
|
-
export * from './custom-update-customer';
|
|
65
64
|
export * from './custom-update-task-template';
|
|
66
|
-
export * from './customer-delivery-preferences';
|
|
67
|
-
export * from './customer-id';
|
|
68
|
-
export * from './customer-payment-options';
|
|
69
65
|
export * from './customer-response';
|
|
70
66
|
export * from './document-signed';
|
|
71
67
|
export * from './document-urls-response';
|
|
@@ -88,9 +84,7 @@ export * from './get-chart-of-accounts200-response';
|
|
|
88
84
|
export * from './get-communications200-response';
|
|
89
85
|
export * from './get-contact-response';
|
|
90
86
|
export * from './get-contacts200-response';
|
|
91
|
-
export * from './get-customer-response';
|
|
92
87
|
export * from './get-customers200-response';
|
|
93
|
-
export * from './get-customers-billing200-response';
|
|
94
88
|
export * from './get-intent';
|
|
95
89
|
export * from './get-invoices200-response';
|
|
96
90
|
export * from './get-notes200-response';
|
|
@@ -31,12 +31,6 @@ export interface UpdateCustomer {
|
|
|
31
31
|
* @memberof UpdateCustomer
|
|
32
32
|
*/
|
|
33
33
|
description?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* External ID
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UpdateCustomer
|
|
38
|
-
*/
|
|
39
|
-
externalId?: string | null;
|
|
40
34
|
/**
|
|
41
35
|
* billing contact ID
|
|
42
36
|
* @type {string}
|
|
@@ -70,7 +64,6 @@ export function UpdateCustomerFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
70
64
|
|
|
71
65
|
'name': json['name'] == null ? undefined : json['name'],
|
|
72
66
|
'description': json['description'] == null ? undefined : json['description'],
|
|
73
|
-
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
74
67
|
'billingContactId': json['billingContactId'] == null ? undefined : json['billingContactId'],
|
|
75
68
|
'shippingContactId': json['shippingContactId'] == null ? undefined : json['shippingContactId'],
|
|
76
69
|
};
|
|
@@ -89,7 +82,6 @@ export function UpdateCustomerToJSONTyped(value?: UpdateCustomer | null, ignoreD
|
|
|
89
82
|
|
|
90
83
|
'name': value['name'],
|
|
91
84
|
'description': value['description'],
|
|
92
|
-
'externalId': value['externalId'],
|
|
93
85
|
'billingContactId': value['billingContactId'],
|
|
94
86
|
'shippingContactId': value['shippingContactId'],
|
|
95
87
|
};
|