@managespace/sdk 0.0.43 → 0.0.44
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 +6 -11
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/communication.d.ts +6 -4
- package/dist/extensibility/functions/project/communication.d.ts.map +1 -1
- package/dist/extensibility/functions/project/communication.js +2 -2
- package/dist/generated/apis/default-api.d.ts +48 -25
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +147 -67
- 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 +17 -4
- 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/get-billing-runs1200-response.d.ts +41 -0
- package/dist/generated/models/get-billing-runs1200-response.d.ts.map +1 -0
- package/dist/generated/models/get-billing-runs1200-response.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/index.d.ts +4 -4
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +4 -4
- package/dist/generated/models/send-email.d.ts +63 -0
- package/dist/generated/models/send-email.d.ts.map +1 -0
- package/dist/generated/models/send-email.js +71 -0
- package/dist/generated/models/send-sms.d.ts +57 -0
- package/dist/generated/models/send-sms.d.ts.map +1 -0
- package/dist/generated/models/send-sms.js +67 -0
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +7 -11
- package/src/extensibility/functions/project/communication.ts +8 -7
- package/src/generated/.openapi-generator/FILES +4 -4
- package/src/generated/apis/default-api.ts +231 -110
- package/src/generated/models/chart-of-accounts-response.ts +41 -14
- 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/get-billing-runs1200-response.ts +89 -0
- package/src/generated/models/get-chart-of-accounts200-response.ts +10 -10
- package/src/generated/models/index.ts +4 -4
- package/src/generated/models/send-email.ts +111 -0
- package/src/generated/models/send-sms.ts +102 -0
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,41 @@
|
|
|
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 { StatementResponse } from './statement-response';
|
|
13
|
+
import type { PageMeta } from './page-meta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetBillingRuns1200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface GetBillingRuns1200Response {
|
|
20
|
+
/**
|
|
21
|
+
* The pagination metadata
|
|
22
|
+
* @type {PageMeta}
|
|
23
|
+
* @memberof GetBillingRuns1200Response
|
|
24
|
+
*/
|
|
25
|
+
pageMeta: PageMeta;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<StatementResponse>}
|
|
29
|
+
* @memberof GetBillingRuns1200Response
|
|
30
|
+
*/
|
|
31
|
+
results?: Array<StatementResponse>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetBillingRuns1200Response interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetBillingRuns1200Response(value: object): value is GetBillingRuns1200Response;
|
|
37
|
+
export declare function GetBillingRuns1200ResponseFromJSON(json: any): GetBillingRuns1200Response;
|
|
38
|
+
export declare function GetBillingRuns1200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBillingRuns1200Response;
|
|
39
|
+
export declare function GetBillingRuns1200ResponseToJSON(json: any): GetBillingRuns1200Response;
|
|
40
|
+
export declare function GetBillingRuns1200ResponseToJSONTyped(value?: GetBillingRuns1200Response | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=get-billing-runs1200-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-billing-runs1200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-billing-runs1200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAO9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ5C;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;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,CAU1I"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.GetBillingRuns1200ResponseToJSONTyped = exports.GetBillingRuns1200ResponseToJSON = exports.GetBillingRuns1200ResponseFromJSONTyped = exports.GetBillingRuns1200ResponseFromJSON = exports.instanceOfGetBillingRuns1200Response = void 0;
|
|
17
|
+
const statement_response_1 = require("./statement-response");
|
|
18
|
+
const page_meta_1 = require("./page-meta");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the GetBillingRuns1200Response interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfGetBillingRuns1200Response(value) {
|
|
23
|
+
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfGetBillingRuns1200Response = instanceOfGetBillingRuns1200Response;
|
|
28
|
+
function GetBillingRuns1200ResponseFromJSON(json) {
|
|
29
|
+
return GetBillingRuns1200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.GetBillingRuns1200ResponseFromJSON = GetBillingRuns1200ResponseFromJSON;
|
|
32
|
+
function GetBillingRuns1200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
+
'results': json['results'] == null ? undefined : (json['results'].map(statement_response_1.StatementResponseFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.GetBillingRuns1200ResponseFromJSONTyped = GetBillingRuns1200ResponseFromJSONTyped;
|
|
42
|
+
function GetBillingRuns1200ResponseToJSON(json) {
|
|
43
|
+
return GetBillingRuns1200ResponseToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.GetBillingRuns1200ResponseToJSON = GetBillingRuns1200ResponseToJSON;
|
|
46
|
+
function GetBillingRuns1200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
+
'results': value['results'] == null ? undefined : (value['results'].map(statement_response_1.StatementResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.GetBillingRuns1200ResponseToJSONTyped = GetBillingRuns1200ResponseToJSONTyped;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { PageMeta } from './page-meta';
|
|
13
|
-
import type {
|
|
13
|
+
import type { ChartOfAccountsResponse } from './chart-of-accounts-response';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface GetChartOfAccounts200Response {
|
|
|
25
25
|
pageMeta: PageMeta;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ChartOfAccountsResponse>}
|
|
29
29
|
* @memberof GetChartOfAccounts200Response
|
|
30
30
|
*/
|
|
31
|
-
results?: Array<
|
|
31
|
+
results?: Array<ChartOfAccountsResponse>;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the GetChartOfAccounts200Response interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chart-of-accounts200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-chart-of-accounts200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"get-chart-of-accounts200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-chart-of-accounts200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAQ5E;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CASjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhJ"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.GetChartOfAccounts200ResponseToJSONTyped = exports.GetChartOfAccounts200ResponseToJSON = exports.GetChartOfAccounts200ResponseFromJSONTyped = exports.GetChartOfAccounts200ResponseFromJSON = exports.instanceOfGetChartOfAccounts200Response = void 0;
|
|
17
17
|
const page_meta_1 = require("./page-meta");
|
|
18
|
-
const
|
|
18
|
+
const chart_of_accounts_response_1 = require("./chart-of-accounts-response");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the GetChartOfAccounts200Response interface.
|
|
21
21
|
*/
|
|
@@ -35,7 +35,7 @@ function GetChartOfAccounts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
-
'results': json['results'] == null ? undefined : (json['results'].map(
|
|
38
|
+
'results': json['results'] == null ? undefined : (json['results'].map(chart_of_accounts_response_1.ChartOfAccountsResponseFromJSON)),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.GetChartOfAccounts200ResponseFromJSONTyped = GetChartOfAccounts200ResponseFromJSONTyped;
|
|
@@ -49,7 +49,7 @@ function GetChartOfAccounts200ResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
-
'results': value['results'] == null ? undefined : (value['results'].map(
|
|
52
|
+
'results': value['results'] == null ? undefined : (value['results'].map(chart_of_accounts_response_1.ChartOfAccountsResponseToJSON)),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
exports.GetChartOfAccounts200ResponseToJSONTyped = GetChartOfAccounts200ResponseToJSONTyped;
|
|
@@ -9,7 +9,6 @@ export * from './billing-run-filter-option-response';
|
|
|
9
9
|
export * from './billing-run-response';
|
|
10
10
|
export * from './calendar-response';
|
|
11
11
|
export * from './charge-response';
|
|
12
|
-
export * from './chart-of-account-response';
|
|
13
12
|
export * from './chart-of-accounts-response';
|
|
14
13
|
export * from './checklist-recurrence-frequency';
|
|
15
14
|
export * from './checklist-response';
|
|
@@ -26,6 +25,7 @@ export * from './create-asset-feature-custom';
|
|
|
26
25
|
export * from './create-assets';
|
|
27
26
|
export * from './create-billing-run';
|
|
28
27
|
export * from './create-calendar';
|
|
28
|
+
export * from './create-chart-of-accounts';
|
|
29
29
|
export * from './create-checklist';
|
|
30
30
|
export * from './create-communication';
|
|
31
31
|
export * from './create-configuration-setting';
|
|
@@ -49,8 +49,6 @@ export * from './create-subscription';
|
|
|
49
49
|
export * from './create-task';
|
|
50
50
|
export * from './create-task-template';
|
|
51
51
|
export * from './create-template';
|
|
52
|
-
export * from './custom-chart-of-account';
|
|
53
|
-
export * from './custom-chart-of-accounts';
|
|
54
52
|
export * from './custom-create-contact';
|
|
55
53
|
export * from './custom-create-customer';
|
|
56
54
|
export * from './custom-create-plan';
|
|
@@ -71,6 +69,7 @@ export * from './get-asset-categories200-response';
|
|
|
71
69
|
export * from './get-asset-classes200-response';
|
|
72
70
|
export * from './get-asset-features200-response';
|
|
73
71
|
export * from './get-assets200-response';
|
|
72
|
+
export * from './get-billing-runs1200-response';
|
|
74
73
|
export * from './get-billing-runs200-response';
|
|
75
74
|
export * from './get-calendar-events-query';
|
|
76
75
|
export * from './get-calendars200-response';
|
|
@@ -91,7 +90,6 @@ export * from './get-plugins200-response';
|
|
|
91
90
|
export * from './get-products200-response';
|
|
92
91
|
export * from './get-revenue-rules200-response';
|
|
93
92
|
export * from './get-sites200-response';
|
|
94
|
-
export * from './get-statements200-response';
|
|
95
93
|
export * from './get-task-templates200-response';
|
|
96
94
|
export * from './get-tasks200-response';
|
|
97
95
|
export * from './get-users200-response';
|
|
@@ -138,6 +136,8 @@ export * from './roles';
|
|
|
138
136
|
export * from './roles1';
|
|
139
137
|
export * from './roles2';
|
|
140
138
|
export * from './roles3';
|
|
139
|
+
export * from './send-email';
|
|
140
|
+
export * from './send-sms';
|
|
141
141
|
export * from './site-response';
|
|
142
142
|
export * from './site-type-response';
|
|
143
143
|
export * from './site-type-response1';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yBAAyB,CAAC;AACxC,cAAc,uB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,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC"}
|
|
@@ -27,7 +27,6 @@ __exportStar(require("./billing-run-filter-option-response"), exports);
|
|
|
27
27
|
__exportStar(require("./billing-run-response"), exports);
|
|
28
28
|
__exportStar(require("./calendar-response"), exports);
|
|
29
29
|
__exportStar(require("./charge-response"), exports);
|
|
30
|
-
__exportStar(require("./chart-of-account-response"), exports);
|
|
31
30
|
__exportStar(require("./chart-of-accounts-response"), exports);
|
|
32
31
|
__exportStar(require("./checklist-recurrence-frequency"), exports);
|
|
33
32
|
__exportStar(require("./checklist-response"), exports);
|
|
@@ -44,6 +43,7 @@ __exportStar(require("./create-asset-feature-custom"), exports);
|
|
|
44
43
|
__exportStar(require("./create-assets"), exports);
|
|
45
44
|
__exportStar(require("./create-billing-run"), exports);
|
|
46
45
|
__exportStar(require("./create-calendar"), exports);
|
|
46
|
+
__exportStar(require("./create-chart-of-accounts"), exports);
|
|
47
47
|
__exportStar(require("./create-checklist"), exports);
|
|
48
48
|
__exportStar(require("./create-communication"), exports);
|
|
49
49
|
__exportStar(require("./create-configuration-setting"), exports);
|
|
@@ -67,8 +67,6 @@ __exportStar(require("./create-subscription"), exports);
|
|
|
67
67
|
__exportStar(require("./create-task"), exports);
|
|
68
68
|
__exportStar(require("./create-task-template"), exports);
|
|
69
69
|
__exportStar(require("./create-template"), exports);
|
|
70
|
-
__exportStar(require("./custom-chart-of-account"), exports);
|
|
71
|
-
__exportStar(require("./custom-chart-of-accounts"), exports);
|
|
72
70
|
__exportStar(require("./custom-create-contact"), exports);
|
|
73
71
|
__exportStar(require("./custom-create-customer"), exports);
|
|
74
72
|
__exportStar(require("./custom-create-plan"), exports);
|
|
@@ -89,6 +87,7 @@ __exportStar(require("./get-asset-categories200-response"), exports);
|
|
|
89
87
|
__exportStar(require("./get-asset-classes200-response"), exports);
|
|
90
88
|
__exportStar(require("./get-asset-features200-response"), exports);
|
|
91
89
|
__exportStar(require("./get-assets200-response"), exports);
|
|
90
|
+
__exportStar(require("./get-billing-runs1200-response"), exports);
|
|
92
91
|
__exportStar(require("./get-billing-runs200-response"), exports);
|
|
93
92
|
__exportStar(require("./get-calendar-events-query"), exports);
|
|
94
93
|
__exportStar(require("./get-calendars200-response"), exports);
|
|
@@ -109,7 +108,6 @@ __exportStar(require("./get-plugins200-response"), exports);
|
|
|
109
108
|
__exportStar(require("./get-products200-response"), exports);
|
|
110
109
|
__exportStar(require("./get-revenue-rules200-response"), exports);
|
|
111
110
|
__exportStar(require("./get-sites200-response"), exports);
|
|
112
|
-
__exportStar(require("./get-statements200-response"), exports);
|
|
113
111
|
__exportStar(require("./get-task-templates200-response"), exports);
|
|
114
112
|
__exportStar(require("./get-tasks200-response"), exports);
|
|
115
113
|
__exportStar(require("./get-users200-response"), exports);
|
|
@@ -156,6 +154,8 @@ __exportStar(require("./roles"), exports);
|
|
|
156
154
|
__exportStar(require("./roles1"), exports);
|
|
157
155
|
__exportStar(require("./roles2"), exports);
|
|
158
156
|
__exportStar(require("./roles3"), exports);
|
|
157
|
+
__exportStar(require("./send-email"), exports);
|
|
158
|
+
__exportStar(require("./send-sms"), exports);
|
|
159
159
|
__exportStar(require("./site-response"), exports);
|
|
160
160
|
__exportStar(require("./site-type-response"), exports);
|
|
161
161
|
__exportStar(require("./site-type-response1"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SendEmail
|
|
16
|
+
*/
|
|
17
|
+
export interface SendEmail {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the contact receiving the email.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendEmail
|
|
22
|
+
*/
|
|
23
|
+
contactId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the customer sending the email.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendEmail
|
|
28
|
+
*/
|
|
29
|
+
customerId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The email address of the contact receiving the email.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SendEmail
|
|
34
|
+
*/
|
|
35
|
+
receiverEmail: string;
|
|
36
|
+
/**
|
|
37
|
+
* The email address of the customer sending the email.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SendEmail
|
|
40
|
+
*/
|
|
41
|
+
senderEmail: string;
|
|
42
|
+
/**
|
|
43
|
+
* The subject of the email being sent.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SendEmail
|
|
46
|
+
*/
|
|
47
|
+
subject: string;
|
|
48
|
+
/**
|
|
49
|
+
* The body of the email being sent.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SendEmail
|
|
52
|
+
*/
|
|
53
|
+
text: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SendEmail interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSendEmail(value: object): value is SendEmail;
|
|
59
|
+
export declare function SendEmailFromJSON(json: any): SendEmail;
|
|
60
|
+
export declare function SendEmailFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendEmail;
|
|
61
|
+
export declare function SendEmailToJSON(json: any): SendEmail;
|
|
62
|
+
export declare function SendEmailToJSONTyped(value?: SendEmail | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=send-email.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-email.d.ts","sourceRoot":"","sources":["../../../src/generated/models/send-email.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAQrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAazF;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,CAcxG"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.SendEmailToJSONTyped = exports.SendEmailToJSON = exports.SendEmailFromJSONTyped = exports.SendEmailFromJSON = exports.instanceOfSendEmail = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SendEmail interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSendEmail(value) {
|
|
21
|
+
if (!('contactId' in value) || value['contactId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('receiverEmail' in value) || value['receiverEmail'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('senderEmail' in value) || value['senderEmail'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfSendEmail = instanceOfSendEmail;
|
|
36
|
+
function SendEmailFromJSON(json) {
|
|
37
|
+
return SendEmailFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.SendEmailFromJSON = SendEmailFromJSON;
|
|
40
|
+
function SendEmailFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'contactId': json['contactId'],
|
|
46
|
+
'customerId': json['customerId'],
|
|
47
|
+
'receiverEmail': json['receiverEmail'],
|
|
48
|
+
'senderEmail': json['senderEmail'],
|
|
49
|
+
'subject': json['subject'],
|
|
50
|
+
'text': json['text'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.SendEmailFromJSONTyped = SendEmailFromJSONTyped;
|
|
54
|
+
function SendEmailToJSON(json) {
|
|
55
|
+
return SendEmailToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
exports.SendEmailToJSON = SendEmailToJSON;
|
|
58
|
+
function SendEmailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'contactId': value['contactId'],
|
|
64
|
+
'customerId': value['customerId'],
|
|
65
|
+
'receiverEmail': value['receiverEmail'],
|
|
66
|
+
'senderEmail': value['senderEmail'],
|
|
67
|
+
'subject': value['subject'],
|
|
68
|
+
'text': value['text'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.SendEmailToJSONTyped = SendEmailToJSONTyped;
|
|
@@ -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 SendSms
|
|
16
|
+
*/
|
|
17
|
+
export interface SendSms {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the contact receiving the SMS.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SendSms
|
|
22
|
+
*/
|
|
23
|
+
contactId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The ID of the customer sending the SMS.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SendSms
|
|
28
|
+
*/
|
|
29
|
+
customerId: string;
|
|
30
|
+
/**
|
|
31
|
+
* The phone number of the user sending the SMS.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SendSms
|
|
34
|
+
*/
|
|
35
|
+
senderNumber: string;
|
|
36
|
+
/**
|
|
37
|
+
* The phone number of the contact recieving the SMS.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SendSms
|
|
40
|
+
*/
|
|
41
|
+
receiverNumber: string;
|
|
42
|
+
/**
|
|
43
|
+
* The body of the SMS being sent.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SendSms
|
|
46
|
+
*/
|
|
47
|
+
body: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SendSms interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSendSms(value: object): value is SendSms;
|
|
53
|
+
export declare function SendSmsFromJSON(json: any): SendSms;
|
|
54
|
+
export declare function SendSmsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendSms;
|
|
55
|
+
export declare function SendSmsToJSON(json: any): SendSms;
|
|
56
|
+
export declare function SendSmsToJSONTyped(value?: SendSms | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=send-sms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-sms.d.ts","sourceRoot":"","sources":["../../../src/generated/models/send-sms.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAOjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CAYrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAapG"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.SendSmsToJSONTyped = exports.SendSmsToJSON = exports.SendSmsFromJSONTyped = exports.SendSmsFromJSON = exports.instanceOfSendSms = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SendSms interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSendSms(value) {
|
|
21
|
+
if (!('contactId' in value) || value['contactId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('senderNumber' in value) || value['senderNumber'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('receiverNumber' in value) || value['receiverNumber'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfSendSms = instanceOfSendSms;
|
|
34
|
+
function SendSmsFromJSON(json) {
|
|
35
|
+
return SendSmsFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.SendSmsFromJSON = SendSmsFromJSON;
|
|
38
|
+
function SendSmsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'contactId': json['contactId'],
|
|
44
|
+
'customerId': json['customerId'],
|
|
45
|
+
'senderNumber': json['senderNumber'],
|
|
46
|
+
'receiverNumber': json['receiverNumber'],
|
|
47
|
+
'body': json['body'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SendSmsFromJSONTyped = SendSmsFromJSONTyped;
|
|
51
|
+
function SendSmsToJSON(json) {
|
|
52
|
+
return SendSmsToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
exports.SendSmsToJSON = SendSmsToJSON;
|
|
55
|
+
function SendSmsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'contactId': value['contactId'],
|
|
61
|
+
'customerId': value['customerId'],
|
|
62
|
+
'senderNumber': value['senderNumber'],
|
|
63
|
+
'receiverNumber': value['receiverNumber'],
|
|
64
|
+
'body': value['body'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.SendSmsToJSONTyped = SendSmsToJSONTyped;
|
package/package.json
CHANGED
|
@@ -3,15 +3,14 @@ import {
|
|
|
3
3
|
BillingRunResponse,
|
|
4
4
|
ChargeResponse,
|
|
5
5
|
InvoiceResponse,
|
|
6
|
-
CreateBillingRun as
|
|
6
|
+
CreateBillingRun as _CreateBillingRun,
|
|
7
7
|
CreatePaymentRun as _CreatePaymentRun,
|
|
8
|
-
CustomChartOfAccounts,
|
|
9
8
|
// SubscriptionResponse,
|
|
10
9
|
PlanResponse,
|
|
11
10
|
PaymentRunResponse,
|
|
12
11
|
CustomCreatePlan,
|
|
13
|
-
ChartOfAccountResponse,
|
|
14
12
|
ChartOfAccountsResponse,
|
|
13
|
+
CreateChartOfAccounts as _CreateChartOfAccounts,
|
|
15
14
|
RevenueRuleResponse,
|
|
16
15
|
CreateRevenueRule as _CreateRevenueRule,
|
|
17
16
|
// CreatePayment as _CreatePayment,
|
|
@@ -49,7 +48,7 @@ export namespace Billing {
|
|
|
49
48
|
|
|
50
49
|
export class CreateBillingRun implements ExtPlugin {
|
|
51
50
|
responseType!: BillingRunResponse;
|
|
52
|
-
payload!:
|
|
51
|
+
payload!: _CreateBillingRun;
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
export class CreatePaymentRun implements ExtPlugin {
|
|
@@ -59,7 +58,7 @@ export namespace Billing {
|
|
|
59
58
|
|
|
60
59
|
export class CreateChartOfAccounts implements ExtPlugin {
|
|
61
60
|
responseType!: ChartOfAccountsResponse;
|
|
62
|
-
payload!:
|
|
61
|
+
payload!: _CreateChartOfAccounts;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
export class CreateContact implements ExtPlugin {
|
|
@@ -211,15 +210,12 @@ export namespace Billing {
|
|
|
211
210
|
}
|
|
212
211
|
|
|
213
212
|
export class GetChartOfAccount implements ExtPlugin {
|
|
214
|
-
responseType!:
|
|
215
|
-
payload!: {
|
|
216
|
-
siteId: string;
|
|
217
|
-
chartOfAccountId: string;
|
|
218
|
-
};
|
|
213
|
+
responseType!: ChartOfAccountsResponse;
|
|
214
|
+
payload!: { chartOfAccountsId: string };
|
|
219
215
|
}
|
|
220
216
|
|
|
221
217
|
export class GetChartOfAccounts implements ExtPlugin {
|
|
222
|
-
responseType!:
|
|
218
|
+
responseType!: ChartOfAccountsResponse[];
|
|
223
219
|
payload!: BasePaginationQuery;
|
|
224
220
|
}
|
|
225
221
|
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
|
+
|
|
2
3
|
import { ExtPlugin } from '../../types';
|
|
4
|
+
import { SendEmail as SendEmailPayload } from '../../../generated/models/send-email';
|
|
5
|
+
import { SendSms as SendSmsPayload } from '../../../generated/models/send-sms';
|
|
3
6
|
|
|
4
7
|
export namespace Communication {
|
|
5
8
|
export class SendEmail implements ExtPlugin {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
// payload!: SendEmailPayload & { userId: string };
|
|
9
|
-
payload!: any;
|
|
9
|
+
responseType!: Omit<SendEmailPayload, 'receiverEmail' | 'senderEmail'>;
|
|
10
|
+
payload!: SendEmailPayload;
|
|
10
11
|
}
|
|
11
|
-
|
|
12
12
|
export class SendSms implements ExtPlugin {
|
|
13
|
-
responseType!:
|
|
14
|
-
payload!:
|
|
13
|
+
responseType!: Omit<SendSmsPayload, 'senderNumber' | 'receiverNumber'>;
|
|
14
|
+
payload!: SendSmsPayload;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|