@managespace/sdk 0.0.39 → 0.0.41
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 -12
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +43 -8
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +131 -16
- package/dist/generated/models/chart-of-accounts-response.d.ts +27 -4
- package/dist/generated/models/chart-of-accounts-response.d.ts.map +1 -1
- package/dist/generated/models/chart-of-accounts-response.js +19 -4
- package/dist/generated/models/configuration-setting-response.d.ts +84 -0
- package/dist/generated/models/configuration-setting-response.d.ts.map +1 -0
- package/dist/generated/models/configuration-setting-response.js +82 -0
- package/dist/generated/models/configuration-setting-type.d.ts +28 -0
- package/dist/generated/models/configuration-setting-type.d.ts.map +1 -0
- package/dist/generated/models/configuration-setting-type.js +53 -0
- package/dist/generated/models/create-billing-run.d.ts +1 -1
- package/dist/generated/models/create-billing-run.d.ts.map +1 -1
- package/dist/generated/models/create-billing-run.js +1 -3
- package/dist/generated/models/create-chart-of-accounts.d.ts +57 -0
- package/dist/generated/models/create-chart-of-accounts.d.ts.map +1 -0
- package/dist/generated/models/create-chart-of-accounts.js +65 -0
- package/dist/generated/models/create-configuration-setting.d.ts +52 -0
- package/dist/generated/models/create-configuration-setting.d.ts.map +1 -0
- package/dist/generated/models/create-configuration-setting.js +64 -0
- package/dist/generated/models/create-contact.d.ts +87 -0
- package/dist/generated/models/create-contact.d.ts.map +1 -0
- package/dist/generated/models/create-contact.js +81 -0
- package/dist/generated/models/create-payment.d.ts +155 -0
- package/dist/generated/models/create-payment.d.ts.map +1 -0
- package/dist/generated/models/create-payment.js +123 -0
- package/dist/generated/models/create-plan-billing.d.ts +58 -0
- package/dist/generated/models/create-plan-billing.d.ts.map +1 -0
- package/dist/generated/models/create-plan-billing.js +68 -0
- package/dist/generated/models/create-product-billing.d.ts +82 -0
- package/dist/generated/models/create-product-billing.d.ts.map +1 -0
- package/dist/generated/models/create-product-billing.js +84 -0
- package/dist/generated/models/create-subscription.d.ts +2 -15
- package/dist/generated/models/create-subscription.d.ts.map +1 -1
- package/dist/generated/models/create-subscription.js +3 -12
- package/dist/generated/models/custom-add-customer-contact.d.ts +34 -0
- package/dist/generated/models/custom-add-customer-contact.d.ts.map +1 -0
- package/dist/generated/models/custom-add-customer-contact.js +52 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts +82 -0
- package/dist/generated/models/custom-create-contact-with-customer.d.ts.map +1 -0
- package/dist/generated/models/custom-create-contact-with-customer.js +78 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts +39 -0
- package/dist/generated/models/customer-delivery-preferences.d.ts.map +1 -0
- package/dist/generated/models/customer-delivery-preferences.js +55 -0
- package/dist/generated/models/customer-id.d.ts +33 -0
- package/dist/generated/models/customer-id.d.ts.map +1 -0
- package/dist/generated/models/customer-id.js +51 -0
- package/dist/generated/models/customer-payment-options.d.ts +39 -0
- package/dist/generated/models/customer-payment-options.d.ts.map +1 -0
- package/dist/generated/models/customer-payment-options.js +55 -0
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts +3 -3
- package/dist/generated/models/get-chart-of-accounts200-response.d.ts.map +1 -1
- package/dist/generated/models/get-chart-of-accounts200-response.js +3 -3
- package/dist/generated/models/get-configuration-settings200-response.d.ts +41 -0
- package/dist/generated/models/get-configuration-settings200-response.d.ts.map +1 -0
- package/dist/generated/models/get-configuration-settings200-response.js +55 -0
- package/dist/generated/models/get-customer-response.d.ts +276 -0
- package/dist/generated/models/get-customer-response.d.ts.map +1 -0
- package/dist/generated/models/get-customer-response.js +214 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts +41 -0
- package/dist/generated/models/get-customers-billing200-response.d.ts.map +1 -0
- package/dist/generated/models/get-customers-billing200-response.js +55 -0
- package/dist/generated/models/index.d.ts +6 -5
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +6 -5
- package/dist/generated/models/org-response.d.ts +4 -4
- package/dist/generated/models/org-response.d.ts.map +1 -1
- package/dist/generated/models/org-response.js +5 -5
- package/dist/generated/models/product-billing-response.d.ts +142 -0
- package/dist/generated/models/product-billing-response.d.ts.map +1 -0
- package/dist/generated/models/product-billing-response.js +124 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts +45 -0
- package/dist/generated/models/product-transaction-posting-entries.d.ts.map +1 -0
- package/dist/generated/models/product-transaction-posting-entries.js +59 -0
- package/dist/generated/models/site-response.d.ts +4 -4
- package/dist/generated/models/site-response.d.ts.map +1 -1
- package/dist/generated/models/site-response.js +5 -5
- package/dist/generated/models/update-configuration-setting.d.ts +52 -0
- package/dist/generated/models/update-configuration-setting.d.ts.map +1 -0
- package/dist/generated/models/update-configuration-setting.js +56 -0
- package/dist/generated/models/update-customer.d.ts +57 -0
- package/dist/generated/models/update-customer.d.ts.map +1 -0
- package/dist/generated/models/update-customer.js +57 -0
- package/dist/generated/models/update-product.d.ts +52 -0
- package/dist/generated/models/update-product.d.ts.map +1 -0
- package/dist/generated/models/update-product.js +60 -0
- package/package.json +3 -3
- package/src/extensibility/functions/project/billing.ts +9 -13
- package/src/generated/.openapi-generator/FILES +6 -5
- package/src/generated/apis/default-api.ts +225 -29
- package/src/generated/models/chart-of-accounts-response.ts +42 -14
- package/src/generated/models/configuration-setting-response.ts +160 -0
- package/src/generated/models/configuration-setting-type.ts +55 -0
- package/src/generated/models/create-billing-run.ts +2 -3
- package/src/generated/models/create-chart-of-accounts.ts +101 -0
- package/src/generated/models/create-configuration-setting.ts +103 -0
- package/src/generated/models/create-subscription.ts +5 -31
- package/src/generated/models/get-chart-of-accounts200-response.ts +10 -10
- package/src/generated/models/get-configuration-settings200-response.ts +89 -0
- package/src/generated/models/index.ts +6 -5
- package/src/generated/models/org-response.ts +13 -13
- package/src/generated/models/site-response.ts +13 -13
- package/src/generated/models/update-configuration-setting.ts +99 -0
|
@@ -0,0 +1,57 @@
|
|
|
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 CreateChartOfAccounts
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateChartOfAccounts {
|
|
18
|
+
/**
|
|
19
|
+
* Default value
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateChartOfAccounts
|
|
22
|
+
*/
|
|
23
|
+
defaultValue: string;
|
|
24
|
+
/**
|
|
25
|
+
* Main Account type
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateChartOfAccounts
|
|
28
|
+
*/
|
|
29
|
+
category: string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of Account
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateChartOfAccounts
|
|
34
|
+
*/
|
|
35
|
+
accountName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Code identifying the Account
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateChartOfAccounts
|
|
40
|
+
*/
|
|
41
|
+
accountNumber: string;
|
|
42
|
+
/**
|
|
43
|
+
* Sub-Account type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateChartOfAccounts
|
|
46
|
+
*/
|
|
47
|
+
subAccount?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CreateChartOfAccounts interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCreateChartOfAccounts(value: object): value is CreateChartOfAccounts;
|
|
53
|
+
export declare function CreateChartOfAccountsFromJSON(json: any): CreateChartOfAccounts;
|
|
54
|
+
export declare function CreateChartOfAccountsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateChartOfAccounts;
|
|
55
|
+
export declare function CreateChartOfAccountsToJSON(json: any): CreateChartOfAccounts;
|
|
56
|
+
export declare function CreateChartOfAccountsToJSONTyped(value?: CreateChartOfAccounts | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=create-chart-of-accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-chart-of-accounts.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-chart-of-accounts.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;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,CAahI"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.CreateChartOfAccountsToJSONTyped = exports.CreateChartOfAccountsToJSON = exports.CreateChartOfAccountsFromJSONTyped = exports.CreateChartOfAccountsFromJSON = exports.instanceOfCreateChartOfAccounts = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateChartOfAccounts interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateChartOfAccounts(value) {
|
|
21
|
+
if (!('defaultValue' in value) || value['defaultValue'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('accountName' in value) || value['accountName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('accountNumber' in value) || value['accountNumber'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfCreateChartOfAccounts = instanceOfCreateChartOfAccounts;
|
|
32
|
+
function CreateChartOfAccountsFromJSON(json) {
|
|
33
|
+
return CreateChartOfAccountsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.CreateChartOfAccountsFromJSON = CreateChartOfAccountsFromJSON;
|
|
36
|
+
function CreateChartOfAccountsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'defaultValue': json['defaultValue'],
|
|
42
|
+
'category': json['category'],
|
|
43
|
+
'accountName': json['accountName'],
|
|
44
|
+
'accountNumber': json['accountNumber'],
|
|
45
|
+
'subAccount': json['subAccount'] == null ? undefined : json['subAccount'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.CreateChartOfAccountsFromJSONTyped = CreateChartOfAccountsFromJSONTyped;
|
|
49
|
+
function CreateChartOfAccountsToJSON(json) {
|
|
50
|
+
return CreateChartOfAccountsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.CreateChartOfAccountsToJSON = CreateChartOfAccountsToJSON;
|
|
53
|
+
function CreateChartOfAccountsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'defaultValue': value['defaultValue'],
|
|
59
|
+
'category': value['category'],
|
|
60
|
+
'accountName': value['accountName'],
|
|
61
|
+
'accountNumber': value['accountNumber'],
|
|
62
|
+
'subAccount': value['subAccount'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
exports.CreateChartOfAccountsToJSONTyped = CreateChartOfAccountsToJSONTyped;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { ConfigurationSettingType } from './configuration-setting-type';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateConfigurationSetting
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateConfigurationSetting {
|
|
19
|
+
/**
|
|
20
|
+
* Name of setting
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateConfigurationSetting
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Description of setting
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateConfigurationSetting
|
|
29
|
+
*/
|
|
30
|
+
description: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ConfigurationSettingType}
|
|
34
|
+
* @memberof CreateConfigurationSetting
|
|
35
|
+
*/
|
|
36
|
+
type: ConfigurationSettingType;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreateConfigurationSetting
|
|
41
|
+
*/
|
|
42
|
+
value: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the CreateConfigurationSetting interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfCreateConfigurationSetting(value: object): value is CreateConfigurationSetting;
|
|
48
|
+
export declare function CreateConfigurationSettingFromJSON(json: any): CreateConfigurationSetting;
|
|
49
|
+
export declare function CreateConfigurationSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateConfigurationSetting;
|
|
50
|
+
export declare function CreateConfigurationSettingToJSON(json: any): CreateConfigurationSetting;
|
|
51
|
+
export declare function CreateConfigurationSettingToJSONTyped(value?: CreateConfigurationSetting | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
+
//# sourceMappingURL=create-configuration-setting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-configuration-setting.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-configuration-setting.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAID;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAMvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAW3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY1I"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.CreateConfigurationSettingToJSONTyped = exports.CreateConfigurationSettingToJSON = exports.CreateConfigurationSettingFromJSONTyped = exports.CreateConfigurationSettingFromJSON = exports.instanceOfCreateConfigurationSetting = void 0;
|
|
17
|
+
const configuration_setting_type_1 = require("./configuration-setting-type");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the CreateConfigurationSetting interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfCreateConfigurationSetting(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfCreateConfigurationSetting = instanceOfCreateConfigurationSetting;
|
|
33
|
+
function CreateConfigurationSettingFromJSON(json) {
|
|
34
|
+
return CreateConfigurationSettingFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.CreateConfigurationSettingFromJSON = CreateConfigurationSettingFromJSON;
|
|
37
|
+
function CreateConfigurationSettingFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'description': json['description'],
|
|
44
|
+
'type': (0, configuration_setting_type_1.ConfigurationSettingTypeFromJSON)(json['type']),
|
|
45
|
+
'value': json['value'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.CreateConfigurationSettingFromJSONTyped = CreateConfigurationSettingFromJSONTyped;
|
|
49
|
+
function CreateConfigurationSettingToJSON(json) {
|
|
50
|
+
return CreateConfigurationSettingToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.CreateConfigurationSettingToJSON = CreateConfigurationSettingToJSON;
|
|
53
|
+
function CreateConfigurationSettingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'description': value['description'],
|
|
60
|
+
'type': (0, configuration_setting_type_1.ConfigurationSettingTypeToJSON)(value['type']),
|
|
61
|
+
'value': value['value'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.CreateConfigurationSettingToJSONTyped = CreateConfigurationSettingToJSONTyped;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 CreateContact
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateContact {
|
|
18
|
+
/**
|
|
19
|
+
* External ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateContact
|
|
22
|
+
*/
|
|
23
|
+
externalId?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* First name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateContact
|
|
28
|
+
*/
|
|
29
|
+
firstName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Initial of middle name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateContact
|
|
34
|
+
*/
|
|
35
|
+
middleInitial?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Last name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateContact
|
|
40
|
+
*/
|
|
41
|
+
lastName: string;
|
|
42
|
+
/**
|
|
43
|
+
* Display name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateContact
|
|
46
|
+
*/
|
|
47
|
+
displayName: string;
|
|
48
|
+
/**
|
|
49
|
+
* Contact email address
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateContact
|
|
52
|
+
*/
|
|
53
|
+
email: string;
|
|
54
|
+
/**
|
|
55
|
+
* Phone number
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateContact
|
|
58
|
+
*/
|
|
59
|
+
phoneNumber?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Contact mobile number
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateContact
|
|
64
|
+
*/
|
|
65
|
+
mobileNumber: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateContact
|
|
70
|
+
*/
|
|
71
|
+
customerId: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CreateContact
|
|
76
|
+
*/
|
|
77
|
+
addressId: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the CreateContact interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfCreateContact(value: object): value is CreateContact;
|
|
83
|
+
export declare function CreateContactFromJSON(json: any): CreateContact;
|
|
84
|
+
export declare function CreateContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateContact;
|
|
85
|
+
export declare function CreateContactToJSON(json: any): CreateContact;
|
|
86
|
+
export declare function CreateContactToJSONTyped(value?: CreateContact | null, ignoreDiscriminator?: boolean): any;
|
|
87
|
+
//# sourceMappingURL=create-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAS7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAiBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhH"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.CreateContactToJSONTyped = exports.CreateContactToJSON = exports.CreateContactFromJSONTyped = exports.CreateContactFromJSON = exports.instanceOfCreateContact = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateContact interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateContact(value) {
|
|
21
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('mobileNumber' in value) || value['mobileNumber'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('addressId' in value) || value['addressId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
exports.instanceOfCreateContact = instanceOfCreateContact;
|
|
38
|
+
function CreateContactFromJSON(json) {
|
|
39
|
+
return CreateContactFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
exports.CreateContactFromJSON = CreateContactFromJSON;
|
|
42
|
+
function CreateContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
48
|
+
'firstName': json['firstName'],
|
|
49
|
+
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
50
|
+
'lastName': json['lastName'],
|
|
51
|
+
'displayName': json['displayName'],
|
|
52
|
+
'email': json['email'],
|
|
53
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
54
|
+
'mobileNumber': json['mobileNumber'],
|
|
55
|
+
'customerId': json['customerId'],
|
|
56
|
+
'addressId': json['addressId'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.CreateContactFromJSONTyped = CreateContactFromJSONTyped;
|
|
60
|
+
function CreateContactToJSON(json) {
|
|
61
|
+
return CreateContactToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
exports.CreateContactToJSON = CreateContactToJSON;
|
|
64
|
+
function CreateContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'externalId': value['externalId'],
|
|
70
|
+
'firstName': value['firstName'],
|
|
71
|
+
'middleInitial': value['middleInitial'],
|
|
72
|
+
'lastName': value['lastName'],
|
|
73
|
+
'displayName': value['displayName'],
|
|
74
|
+
'email': value['email'],
|
|
75
|
+
'phoneNumber': value['phoneNumber'],
|
|
76
|
+
'mobileNumber': value['mobileNumber'],
|
|
77
|
+
'customerId': value['customerId'],
|
|
78
|
+
'addressId': value['addressId'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
exports.CreateContactToJSONTyped = CreateContactToJSONTyped;
|
|
@@ -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 CreatePayment
|
|
18
|
+
*/
|
|
19
|
+
export interface CreatePayment {
|
|
20
|
+
/**
|
|
21
|
+
* Customer Id
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreatePayment
|
|
24
|
+
*/
|
|
25
|
+
customerId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Date of payment transaction
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreatePayment
|
|
30
|
+
*/
|
|
31
|
+
paymentDate: string;
|
|
32
|
+
/**
|
|
33
|
+
* Status of payment
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePayment
|
|
36
|
+
*/
|
|
37
|
+
status: string;
|
|
38
|
+
/**
|
|
39
|
+
* Total amount of payment
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreatePayment
|
|
42
|
+
*/
|
|
43
|
+
paymentAmount: string;
|
|
44
|
+
/**
|
|
45
|
+
* Transaction Fee
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreatePayment
|
|
48
|
+
*/
|
|
49
|
+
feeAmount: string;
|
|
50
|
+
/**
|
|
51
|
+
* Amount of payment applied to invoices
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreatePayment
|
|
54
|
+
*/
|
|
55
|
+
appliedAmount: string;
|
|
56
|
+
/**
|
|
57
|
+
* Amount of payment not yet applied to invoices
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreatePayment
|
|
60
|
+
*/
|
|
61
|
+
unappliedAmount: string;
|
|
62
|
+
/**
|
|
63
|
+
* External or Electronic payments
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreatePayment
|
|
66
|
+
*/
|
|
67
|
+
paymentType: string;
|
|
68
|
+
/**
|
|
69
|
+
* Method of payment
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CreatePayment
|
|
72
|
+
*/
|
|
73
|
+
paymentMethod: string;
|
|
74
|
+
/**
|
|
75
|
+
* Payment method saved and used for future billing
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof CreatePayment
|
|
78
|
+
*/
|
|
79
|
+
saveForLater: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Currency
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreatePayment
|
|
84
|
+
*/
|
|
85
|
+
currency: string;
|
|
86
|
+
/**
|
|
87
|
+
* Automatically apply unapplied amount to next invoice
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof CreatePayment
|
|
90
|
+
*/
|
|
91
|
+
autoApply: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* General Ledger account
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof CreatePayment
|
|
96
|
+
*/
|
|
97
|
+
glAccount: string;
|
|
98
|
+
/**
|
|
99
|
+
* Generate email
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof CreatePayment
|
|
102
|
+
*/
|
|
103
|
+
emailStatus: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Custom fields on the invoice
|
|
106
|
+
* @type {object}
|
|
107
|
+
* @memberof CreatePayment
|
|
108
|
+
*/
|
|
109
|
+
customFields: object;
|
|
110
|
+
/**
|
|
111
|
+
* Miscellaneous notes
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof CreatePayment
|
|
114
|
+
*/
|
|
115
|
+
notes?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Payment token
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof CreatePayment
|
|
120
|
+
*/
|
|
121
|
+
paymentToken?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Reference number for payment transaction
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof CreatePayment
|
|
126
|
+
*/
|
|
127
|
+
referenceNumber?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Gateway Name for electronic payment
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof CreatePayment
|
|
132
|
+
*/
|
|
133
|
+
gatewayName?: string;
|
|
134
|
+
/**
|
|
135
|
+
* List of invoices paid by payment
|
|
136
|
+
* @type {Array<CreatePaymentInvoice>}
|
|
137
|
+
* @memberof CreatePayment
|
|
138
|
+
*/
|
|
139
|
+
invoices: Array<CreatePaymentInvoice>;
|
|
140
|
+
/**
|
|
141
|
+
* List of refunds associated with payment
|
|
142
|
+
* @type {Array<CreatePaymentRefund>}
|
|
143
|
+
* @memberof CreatePayment
|
|
144
|
+
*/
|
|
145
|
+
refunds?: Array<CreatePaymentRefund>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Check if a given object implements the CreatePayment interface.
|
|
149
|
+
*/
|
|
150
|
+
export declare function instanceOfCreatePayment(value: object): value is CreatePayment;
|
|
151
|
+
export declare function CreatePaymentFromJSON(json: any): CreatePayment;
|
|
152
|
+
export declare function CreatePaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePayment;
|
|
153
|
+
export declare function CreatePaymentToJSON(json: any): CreatePayment;
|
|
154
|
+
export declare function CreatePaymentToJSONTyped(value?: CreatePayment | null, ignoreDiscriminator?: boolean): any;
|
|
155
|
+
//# sourceMappingURL=create-payment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-payment.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-payment.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,aAAa;IAC1B;;;;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,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACtC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAkB7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CA4BjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA6BhH"}
|