@managespace/sdk 0.0.91 → 0.0.93
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/.turbo/turbo-build.log +2 -0
- package/dist/generated/apis/default-api.d.ts +15 -15
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +39 -39
- package/dist/generated/models/cancel-subscription-billing.d.ts +39 -0
- package/dist/generated/models/cancel-subscription-billing.d.ts.map +1 -0
- package/dist/generated/models/cancel-subscription-billing.js +55 -0
- package/dist/generated/models/chart-of-account-response.d.ts +99 -0
- package/dist/generated/models/chart-of-account-response.d.ts.map +1 -0
- package/dist/generated/models/chart-of-account-response.js +95 -0
- package/dist/generated/models/configuration-response.d.ts +77 -0
- package/dist/generated/models/configuration-response.d.ts.map +1 -0
- package/dist/generated/models/configuration-response.js +77 -0
- package/dist/generated/models/contact-id.d.ts +33 -0
- package/dist/generated/models/contact-id.d.ts.map +1 -0
- package/dist/generated/models/contact-id.js +51 -0
- package/dist/generated/models/create-payment-billing.d.ts +155 -0
- package/dist/generated/models/create-payment-billing.d.ts.map +1 -0
- package/dist/generated/models/create-payment-billing.js +133 -0
- package/dist/generated/models/create-plan.d.ts +52 -0
- package/dist/generated/models/create-plan.d.ts.map +1 -0
- package/dist/generated/models/create-plan.js +64 -0
- package/dist/generated/models/create-product.d.ts +45 -0
- package/dist/generated/models/create-product.d.ts.map +1 -0
- package/dist/generated/models/create-product.js +57 -0
- package/dist/generated/models/create-stock-status.d.ts +39 -0
- package/dist/generated/models/create-stock-status.d.ts.map +1 -0
- package/dist/generated/models/create-stock-status.js +55 -0
- package/dist/generated/models/create-subscription-billing.d.ts +166 -0
- package/dist/generated/models/create-subscription-billing.d.ts.map +1 -0
- package/dist/generated/models/create-subscription-billing.js +140 -0
- package/dist/generated/models/custom-chart-of-account.d.ts +57 -0
- package/dist/generated/models/custom-chart-of-account.d.ts.map +1 -0
- package/dist/generated/models/custom-chart-of-account.js +67 -0
- package/dist/generated/models/custom-chart-of-accounts.d.ts +34 -0
- package/dist/generated/models/custom-chart-of-accounts.d.ts.map +1 -0
- package/dist/generated/models/custom-chart-of-accounts.js +52 -0
- package/dist/generated/models/custom-create-customer.d.ts +6 -6
- package/dist/generated/models/custom-create-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-create-customer.js +2 -4
- package/dist/generated/models/custom-update-customer.d.ts +0 -6
- package/dist/generated/models/custom-update-customer.d.ts.map +1 -1
- package/dist/generated/models/custom-update-customer.js +0 -2
- package/dist/generated/models/customer-response.d.ts +0 -6
- package/dist/generated/models/customer-response.d.ts.map +1 -1
- package/dist/generated/models/customer-response.js +0 -4
- package/dist/generated/models/document-urls-response.d.ts +33 -0
- package/dist/generated/models/document-urls-response.d.ts.map +1 -0
- package/dist/generated/models/document-urls-response.js +51 -0
- package/dist/generated/models/get-contact-response.d.ts +159 -0
- package/dist/generated/models/get-contact-response.d.ts.map +1 -0
- package/dist/generated/models/get-contact-response.js +135 -0
- package/dist/generated/models/get-invoice-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-invoice-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-invoice-billing200-response.js +55 -0
- package/dist/generated/models/get-statements200-response.d.ts +2 -2
- package/dist/generated/models/get-statements200-response.js +2 -2
- package/dist/generated/models/index.d.ts +1 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -1
- package/dist/generated/models/plan-charge-response.d.ts +166 -0
- package/dist/generated/models/plan-charge-response.d.ts.map +1 -0
- package/dist/generated/models/plan-charge-response.js +140 -0
- package/dist/generated/models/plan-response.d.ts +128 -0
- package/dist/generated/models/plan-response.d.ts.map +1 -0
- package/dist/generated/models/plan-response.js +106 -0
- package/dist/generated/models/product-response.d.ts +97 -0
- package/dist/generated/models/product-response.d.ts.map +1 -0
- package/dist/generated/models/product-response.js +87 -0
- package/dist/generated/models/stock-status-response.d.ts +59 -0
- package/dist/generated/models/stock-status-response.d.ts.map +1 -0
- package/dist/generated/models/stock-status-response.js +65 -0
- package/dist/generated/models/update-extensibility-repo.d.ts +57 -0
- package/dist/generated/models/update-extensibility-repo.d.ts.map +1 -0
- package/dist/generated/models/update-extensibility-repo.js +67 -0
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +1 -1
- package/src/generated/apis/default-api.ts +5 -0
- package/src/generated/models/address-response1.ts +145 -0
- package/src/generated/models/address-response2.ts +145 -0
- package/src/generated/models/asset-response1.ts +262 -0
- package/src/generated/models/configuration-setting-response1.ts +160 -0
- package/src/generated/models/create-subscription.ts +8 -0
- package/src/generated/models/customer-response1.ts +190 -0
- package/src/generated/models/map-feature-response1.ts +190 -0
- package/src/generated/models/map-feature-response2.ts +190 -0
- package/src/generated/models/map-feature-response3.ts +190 -0
- package/src/generated/models/org-response1.ts +442 -0
- package/src/generated/models/org-response2.ts +442 -0
- package/src/generated/models/site-response1.ts +340 -0
- package/src/generated/models/subscription-response.ts +4 -5
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ChartOfAccountResponseToJSONTyped = exports.ChartOfAccountResponseToJSON = exports.ChartOfAccountResponseFromJSONTyped = exports.ChartOfAccountResponseFromJSON = exports.instanceOfChartOfAccountResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ChartOfAccountResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfChartOfAccountResponse(value) {
|
|
21
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('accountType' in value) || value['accountType'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('subType' in value) || value['subType'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('parentAccount' in value) || value['parentAccount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('customFields' in value) || value['customFields'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
exports.instanceOfChartOfAccountResponse = instanceOfChartOfAccountResponse;
|
|
48
|
+
function ChartOfAccountResponseFromJSON(json) {
|
|
49
|
+
return ChartOfAccountResponseFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
exports.ChartOfAccountResponseFromJSON = ChartOfAccountResponseFromJSON;
|
|
52
|
+
function ChartOfAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'code': json['code'],
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'accountType': json['accountType'],
|
|
60
|
+
'subType': json['subType'],
|
|
61
|
+
'parentAccount': json['parentAccount'],
|
|
62
|
+
'status': json['status'],
|
|
63
|
+
'description': json['description'],
|
|
64
|
+
'createdBy': json['createdBy'],
|
|
65
|
+
'updatedBy': json['updatedBy'],
|
|
66
|
+
'createdAt': json['createdAt'],
|
|
67
|
+
'updatedAt': json['updatedAt'],
|
|
68
|
+
'customFields': json['customFields'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.ChartOfAccountResponseFromJSONTyped = ChartOfAccountResponseFromJSONTyped;
|
|
72
|
+
function ChartOfAccountResponseToJSON(json) {
|
|
73
|
+
return ChartOfAccountResponseToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
exports.ChartOfAccountResponseToJSON = ChartOfAccountResponseToJSON;
|
|
76
|
+
function ChartOfAccountResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'code': value['code'],
|
|
82
|
+
'name': value['name'],
|
|
83
|
+
'accountType': value['accountType'],
|
|
84
|
+
'subType': value['subType'],
|
|
85
|
+
'parentAccount': value['parentAccount'],
|
|
86
|
+
'status': value['status'],
|
|
87
|
+
'description': value['description'],
|
|
88
|
+
'createdBy': value['createdBy'],
|
|
89
|
+
'updatedBy': value['updatedBy'],
|
|
90
|
+
'createdAt': value['createdAt'],
|
|
91
|
+
'updatedAt': value['updatedAt'],
|
|
92
|
+
'customFields': value['customFields'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.ChartOfAccountResponseToJSONTyped = ChartOfAccountResponseToJSONTyped;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth API Documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OrgResponse } from './org-response';
|
|
13
|
+
import type { SiteResponse } from './site-response';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ConfigurationResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface ConfigurationResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Note ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ConfigurationResponse
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {OrgResponse}
|
|
29
|
+
* @memberof ConfigurationResponse
|
|
30
|
+
*/
|
|
31
|
+
org?: OrgResponse;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ConfigurationResponse
|
|
36
|
+
*/
|
|
37
|
+
orgId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {SiteResponse}
|
|
41
|
+
* @memberof ConfigurationResponse
|
|
42
|
+
*/
|
|
43
|
+
site?: SiteResponse;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ConfigurationResponse
|
|
48
|
+
*/
|
|
49
|
+
siteId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Name of setting
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ConfigurationResponse
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* Description of setting
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ConfigurationResponse
|
|
60
|
+
*/
|
|
61
|
+
description: string;
|
|
62
|
+
/**
|
|
63
|
+
* Number for Configuration
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof ConfigurationResponse
|
|
66
|
+
*/
|
|
67
|
+
type: number;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the ConfigurationResponse interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfConfigurationResponse(value: object): value is ConfigurationResponse;
|
|
73
|
+
export declare function ConfigurationResponseFromJSON(json: any): ConfigurationResponse;
|
|
74
|
+
export declare function ConfigurationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigurationResponse;
|
|
75
|
+
export declare function ConfigurationResponseToJSON(json: any): ConfigurationResponse;
|
|
76
|
+
export declare function ConfigurationResponseToJSONTyped(value?: ConfigurationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
77
|
+
//# sourceMappingURL=configuration-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/configuration-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAQ7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhI"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConfigurationResponseToJSONTyped = exports.ConfigurationResponseToJSON = exports.ConfigurationResponseFromJSONTyped = exports.ConfigurationResponseFromJSON = exports.instanceOfConfigurationResponse = void 0;
|
|
17
|
+
const org_response_1 = require("./org-response");
|
|
18
|
+
const site_response_1 = require("./site-response");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ConfigurationResponse interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfConfigurationResponse(value) {
|
|
23
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfConfigurationResponse = instanceOfConfigurationResponse;
|
|
38
|
+
function ConfigurationResponseFromJSON(json) {
|
|
39
|
+
return ConfigurationResponseFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.ConfigurationResponseFromJSON = ConfigurationResponseFromJSON;
|
|
42
|
+
function ConfigurationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
|
|
49
|
+
'orgId': json['orgId'],
|
|
50
|
+
'site': json['site'] == null ? undefined : (0, site_response_1.SiteResponseFromJSON)(json['site']),
|
|
51
|
+
'siteId': json['siteId'],
|
|
52
|
+
'name': json['name'],
|
|
53
|
+
'description': json['description'],
|
|
54
|
+
'type': json['type'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.ConfigurationResponseFromJSONTyped = ConfigurationResponseFromJSONTyped;
|
|
58
|
+
function ConfigurationResponseToJSON(json) {
|
|
59
|
+
return ConfigurationResponseToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
exports.ConfigurationResponseToJSON = ConfigurationResponseToJSON;
|
|
62
|
+
function ConfigurationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
|
|
69
|
+
'orgId': value['orgId'],
|
|
70
|
+
'site': (0, site_response_1.SiteResponseToJSON)(value['site']),
|
|
71
|
+
'siteId': value['siteId'],
|
|
72
|
+
'name': value['name'],
|
|
73
|
+
'description': value['description'],
|
|
74
|
+
'type': value['type'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
exports.ConfigurationResponseToJSONTyped = ConfigurationResponseToJSONTyped;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth API Documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ContactId
|
|
16
|
+
*/
|
|
17
|
+
export interface ContactId {
|
|
18
|
+
/**
|
|
19
|
+
* The contact Id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContactId
|
|
22
|
+
*/
|
|
23
|
+
contactId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ContactId interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfContactId(value: object): value is ContactId;
|
|
29
|
+
export declare function ContactIdFromJSON(json: any): ContactId;
|
|
30
|
+
export declare function ContactIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactId;
|
|
31
|
+
export declare function ContactIdToJSON(json: any): ContactId;
|
|
32
|
+
export declare function ContactIdToJSONTyped(value?: ContactId | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
+
//# sourceMappingURL=contact-id.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-id.d.ts","sourceRoot":"","sources":["../../../src/generated/models/contact-id.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAGrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAQzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASxG"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ContactIdToJSONTyped = exports.ContactIdToJSON = exports.ContactIdFromJSONTyped = exports.ContactIdFromJSON = exports.instanceOfContactId = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ContactId interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfContactId(value) {
|
|
21
|
+
if (!('contactId' in value) || value['contactId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfContactId = instanceOfContactId;
|
|
26
|
+
function ContactIdFromJSON(json) {
|
|
27
|
+
return ContactIdFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ContactIdFromJSON = ContactIdFromJSON;
|
|
30
|
+
function ContactIdFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'contactId': json['contactId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ContactIdFromJSONTyped = ContactIdFromJSONTyped;
|
|
39
|
+
function ContactIdToJSON(json) {
|
|
40
|
+
return ContactIdToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.ContactIdToJSON = ContactIdToJSON;
|
|
43
|
+
function ContactIdToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'contactId': value['contactId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.ContactIdToJSONTyped = ContactIdToJSONTyped;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth API Documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CreatePaymentInvoice } from './create-payment-invoice';
|
|
13
|
+
import type { CreatePaymentRefund } from './create-payment-refund';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CreatePaymentBilling
|
|
18
|
+
*/
|
|
19
|
+
export interface CreatePaymentBilling {
|
|
20
|
+
/**
|
|
21
|
+
* Customer Id
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreatePaymentBilling
|
|
24
|
+
*/
|
|
25
|
+
customerId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Date of payment transaction
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreatePaymentBilling
|
|
30
|
+
*/
|
|
31
|
+
paymentDate: string;
|
|
32
|
+
/**
|
|
33
|
+
* Status of payment
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePaymentBilling
|
|
36
|
+
*/
|
|
37
|
+
status: string;
|
|
38
|
+
/**
|
|
39
|
+
* Total amount of payment
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreatePaymentBilling
|
|
42
|
+
*/
|
|
43
|
+
paymentAmount: string;
|
|
44
|
+
/**
|
|
45
|
+
* Transaction Fee
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreatePaymentBilling
|
|
48
|
+
*/
|
|
49
|
+
feeAmount: string;
|
|
50
|
+
/**
|
|
51
|
+
* Amount of payment applied to invoices
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreatePaymentBilling
|
|
54
|
+
*/
|
|
55
|
+
appliedAmount: string;
|
|
56
|
+
/**
|
|
57
|
+
* Amount of payment not yet applied to invoices
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreatePaymentBilling
|
|
60
|
+
*/
|
|
61
|
+
unappliedAmount: string;
|
|
62
|
+
/**
|
|
63
|
+
* External or Electronic payments
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreatePaymentBilling
|
|
66
|
+
*/
|
|
67
|
+
paymentType: string;
|
|
68
|
+
/**
|
|
69
|
+
* Method of payment
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CreatePaymentBilling
|
|
72
|
+
*/
|
|
73
|
+
paymentMethod: string;
|
|
74
|
+
/**
|
|
75
|
+
* Payment method saved and used for future billing
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof CreatePaymentBilling
|
|
78
|
+
*/
|
|
79
|
+
saveForLater: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Currency
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreatePaymentBilling
|
|
84
|
+
*/
|
|
85
|
+
currency: string;
|
|
86
|
+
/**
|
|
87
|
+
* Automatically apply unapplied amount to next invoice
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof CreatePaymentBilling
|
|
90
|
+
*/
|
|
91
|
+
autoApply: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* General Ledger account
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof CreatePaymentBilling
|
|
96
|
+
*/
|
|
97
|
+
glAccount: string;
|
|
98
|
+
/**
|
|
99
|
+
* Generate email
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof CreatePaymentBilling
|
|
102
|
+
*/
|
|
103
|
+
emailStatus: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Custom fields on the invoice
|
|
106
|
+
* @type {object}
|
|
107
|
+
* @memberof CreatePaymentBilling
|
|
108
|
+
*/
|
|
109
|
+
customFields: object;
|
|
110
|
+
/**
|
|
111
|
+
* Miscellaneous notes
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof CreatePaymentBilling
|
|
114
|
+
*/
|
|
115
|
+
notes: string;
|
|
116
|
+
/**
|
|
117
|
+
* Payment token
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof CreatePaymentBilling
|
|
120
|
+
*/
|
|
121
|
+
paymentToken: string;
|
|
122
|
+
/**
|
|
123
|
+
* Reference number for payment transaction
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof CreatePaymentBilling
|
|
126
|
+
*/
|
|
127
|
+
referenceNumber: string;
|
|
128
|
+
/**
|
|
129
|
+
* Gateway Name for electronic payment
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof CreatePaymentBilling
|
|
132
|
+
*/
|
|
133
|
+
gatewayName: string;
|
|
134
|
+
/**
|
|
135
|
+
* List of invoices paid by payment
|
|
136
|
+
* @type {Array<CreatePaymentInvoice>}
|
|
137
|
+
* @memberof CreatePaymentBilling
|
|
138
|
+
*/
|
|
139
|
+
invoices: Array<CreatePaymentInvoice>;
|
|
140
|
+
/**
|
|
141
|
+
* List of refunds associated with payment
|
|
142
|
+
* @type {Array<CreatePaymentRefund>}
|
|
143
|
+
* @memberof CreatePaymentBilling
|
|
144
|
+
*/
|
|
145
|
+
refunds: Array<CreatePaymentRefund>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Check if a given object implements the CreatePaymentBilling interface.
|
|
149
|
+
*/
|
|
150
|
+
export declare function instanceOfCreatePaymentBilling(value: object): value is CreatePaymentBilling;
|
|
151
|
+
export declare function CreatePaymentBillingFromJSON(json: any): CreatePaymentBilling;
|
|
152
|
+
export declare function CreatePaymentBillingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentBilling;
|
|
153
|
+
export declare function CreatePaymentBillingToJSON(json: any): CreatePaymentBilling;
|
|
154
|
+
export declare function CreatePaymentBillingToJSONTyped(value?: CreatePaymentBilling | null, ignoreDiscriminator?: boolean): any;
|
|
155
|
+
//# sourceMappingURL=create-payment-billing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment-billing.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-payment-billing.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACtC;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAuB3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CA4B/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA6B9H"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatePaymentBillingToJSONTyped = exports.CreatePaymentBillingToJSON = exports.CreatePaymentBillingFromJSONTyped = exports.CreatePaymentBillingFromJSON = exports.instanceOfCreatePaymentBilling = void 0;
|
|
17
|
+
const create_payment_invoice_1 = require("./create-payment-invoice");
|
|
18
|
+
const create_payment_refund_1 = require("./create-payment-refund");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the CreatePaymentBilling interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfCreatePaymentBilling(value) {
|
|
23
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('paymentDate' in value) || value['paymentDate'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('paymentAmount' in value) || value['paymentAmount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('feeAmount' in value) || value['feeAmount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('appliedAmount' in value) || value['appliedAmount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('unappliedAmount' in value) || value['unappliedAmount'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('paymentType' in value) || value['paymentType'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('saveForLater' in value) || value['saveForLater'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('autoApply' in value) || value['autoApply'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('glAccount' in value) || value['glAccount'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('emailStatus' in value) || value['emailStatus'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('customFields' in value) || value['customFields'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('notes' in value) || value['notes'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('paymentToken' in value) || value['paymentToken'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('referenceNumber' in value) || value['referenceNumber'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('gatewayName' in value) || value['gatewayName'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('invoices' in value) || value['invoices'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('refunds' in value) || value['refunds'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
exports.instanceOfCreatePaymentBilling = instanceOfCreatePaymentBilling;
|
|
68
|
+
function CreatePaymentBillingFromJSON(json) {
|
|
69
|
+
return CreatePaymentBillingFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
exports.CreatePaymentBillingFromJSON = CreatePaymentBillingFromJSON;
|
|
72
|
+
function CreatePaymentBillingFromJSONTyped(json, ignoreDiscriminator) {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'customerId': json['customerId'],
|
|
78
|
+
'paymentDate': json['paymentDate'],
|
|
79
|
+
'status': json['status'],
|
|
80
|
+
'paymentAmount': json['paymentAmount'],
|
|
81
|
+
'feeAmount': json['feeAmount'],
|
|
82
|
+
'appliedAmount': json['appliedAmount'],
|
|
83
|
+
'unappliedAmount': json['unappliedAmount'],
|
|
84
|
+
'paymentType': json['paymentType'],
|
|
85
|
+
'paymentMethod': json['paymentMethod'],
|
|
86
|
+
'saveForLater': json['saveForLater'],
|
|
87
|
+
'currency': json['currency'],
|
|
88
|
+
'autoApply': json['autoApply'],
|
|
89
|
+
'glAccount': json['glAccount'],
|
|
90
|
+
'emailStatus': json['emailStatus'],
|
|
91
|
+
'customFields': json['customFields'],
|
|
92
|
+
'notes': json['notes'],
|
|
93
|
+
'paymentToken': json['paymentToken'],
|
|
94
|
+
'referenceNumber': json['referenceNumber'],
|
|
95
|
+
'gatewayName': json['gatewayName'],
|
|
96
|
+
'invoices': (json['invoices'].map(create_payment_invoice_1.CreatePaymentInvoiceFromJSON)),
|
|
97
|
+
'refunds': (json['refunds'].map(create_payment_refund_1.CreatePaymentRefundFromJSON)),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
exports.CreatePaymentBillingFromJSONTyped = CreatePaymentBillingFromJSONTyped;
|
|
101
|
+
function CreatePaymentBillingToJSON(json) {
|
|
102
|
+
return CreatePaymentBillingToJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
exports.CreatePaymentBillingToJSON = CreatePaymentBillingToJSON;
|
|
105
|
+
function CreatePaymentBillingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
'customerId': value['customerId'],
|
|
111
|
+
'paymentDate': value['paymentDate'],
|
|
112
|
+
'status': value['status'],
|
|
113
|
+
'paymentAmount': value['paymentAmount'],
|
|
114
|
+
'feeAmount': value['feeAmount'],
|
|
115
|
+
'appliedAmount': value['appliedAmount'],
|
|
116
|
+
'unappliedAmount': value['unappliedAmount'],
|
|
117
|
+
'paymentType': value['paymentType'],
|
|
118
|
+
'paymentMethod': value['paymentMethod'],
|
|
119
|
+
'saveForLater': value['saveForLater'],
|
|
120
|
+
'currency': value['currency'],
|
|
121
|
+
'autoApply': value['autoApply'],
|
|
122
|
+
'glAccount': value['glAccount'],
|
|
123
|
+
'emailStatus': value['emailStatus'],
|
|
124
|
+
'customFields': value['customFields'],
|
|
125
|
+
'notes': value['notes'],
|
|
126
|
+
'paymentToken': value['paymentToken'],
|
|
127
|
+
'referenceNumber': value['referenceNumber'],
|
|
128
|
+
'gatewayName': value['gatewayName'],
|
|
129
|
+
'invoices': (value['invoices'].map(create_payment_invoice_1.CreatePaymentInvoiceToJSON)),
|
|
130
|
+
'refunds': (value['refunds'].map(create_payment_refund_1.CreatePaymentRefundToJSON)),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
exports.CreatePaymentBillingToJSONTyped = CreatePaymentBillingToJSONTyped;
|