@managespace/sdk 0.1.103 → 0.1.105
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 +8 -0
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +5 -0
- package/dist/generated/apis/default-api.d.ts +14 -3
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +38 -1
- package/dist/generated/models/custom-update-contact.d.ts +76 -0
- package/dist/generated/models/custom-update-contact.d.ts.map +1 -0
- package/dist/generated/models/custom-update-contact.js +64 -0
- package/dist/generated/models/index.d.ts +2 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +2 -1
- package/dist/generated/models/update-address.d.ts +69 -0
- package/dist/generated/models/update-address.d.ts.map +1 -0
- package/dist/generated/models/update-address.js +61 -0
- package/dist/generated/models/update-contact.d.ts +81 -0
- package/dist/generated/models/update-contact.d.ts.map +1 -0
- package/dist/generated/models/update-contact.js +65 -0
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +9 -0
- package/src/generated/.openapi-generator/FILES +2 -1
- package/src/generated/apis/default-api.ts +68 -6
- package/src/generated/models/custom-update-contact.ts +129 -0
- package/src/generated/models/index.ts +2 -1
- package/src/generated/models/update-address.ts +113 -0
- package/src/generated/models/update-contact.ts +129 -0
- package/package.deploy.json +0 -33
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { UpdateAddress } from './update-address';
|
|
17
|
+
import {
|
|
18
|
+
UpdateAddressFromJSON,
|
|
19
|
+
UpdateAddressFromJSONTyped,
|
|
20
|
+
UpdateAddressToJSON,
|
|
21
|
+
UpdateAddressToJSONTyped,
|
|
22
|
+
} from './update-address';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CustomUpdateContact
|
|
28
|
+
*/
|
|
29
|
+
export interface CustomUpdateContact {
|
|
30
|
+
/**
|
|
31
|
+
* First name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CustomUpdateContact
|
|
34
|
+
*/
|
|
35
|
+
firstName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Initial of middle name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CustomUpdateContact
|
|
40
|
+
*/
|
|
41
|
+
middleInitial?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Last name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CustomUpdateContact
|
|
46
|
+
*/
|
|
47
|
+
lastName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Display name
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CustomUpdateContact
|
|
52
|
+
*/
|
|
53
|
+
displayName?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Contact email address
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CustomUpdateContact
|
|
58
|
+
*/
|
|
59
|
+
email?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Phone number
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CustomUpdateContact
|
|
64
|
+
*/
|
|
65
|
+
phoneNumber?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Contact mobile number
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CustomUpdateContact
|
|
70
|
+
*/
|
|
71
|
+
mobileNumber?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Contact address.
|
|
74
|
+
* @type {UpdateAddress}
|
|
75
|
+
* @memberof CustomUpdateContact
|
|
76
|
+
*/
|
|
77
|
+
address?: UpdateAddress;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the CustomUpdateContact interface.
|
|
82
|
+
*/
|
|
83
|
+
export function instanceOfCustomUpdateContact(value: object): value is CustomUpdateContact {
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function CustomUpdateContactFromJSON(json: any): CustomUpdateContact {
|
|
88
|
+
return CustomUpdateContactFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function CustomUpdateContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomUpdateContact {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
98
|
+
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
99
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
100
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
101
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
102
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
103
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
104
|
+
'address': json['address'] == null ? undefined : UpdateAddressFromJSON(json['address']),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function CustomUpdateContactToJSON(json: any): CustomUpdateContact {
|
|
109
|
+
return CustomUpdateContactToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function CustomUpdateContactToJSONTyped(value?: CustomUpdateContact | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'firstName': value['firstName'],
|
|
120
|
+
'middleInitial': value['middleInitial'],
|
|
121
|
+
'lastName': value['lastName'],
|
|
122
|
+
'displayName': value['displayName'],
|
|
123
|
+
'email': value['email'],
|
|
124
|
+
'phoneNumber': value['phoneNumber'],
|
|
125
|
+
'mobileNumber': value['mobileNumber'],
|
|
126
|
+
'address': UpdateAddressToJSON(value['address']),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -79,6 +79,7 @@ export * from './custom-create-contact';
|
|
|
79
79
|
export * from './custom-create-customer';
|
|
80
80
|
export * from './custom-create-plan';
|
|
81
81
|
export * from './custom-create-user';
|
|
82
|
+
export * from './custom-update-contact';
|
|
82
83
|
export * from './custom-update-customer';
|
|
83
84
|
export * from './custom-update-extensibility-repo';
|
|
84
85
|
export * from './customer';
|
|
@@ -99,7 +100,6 @@ export * from './extensibility-status';
|
|
|
99
100
|
export * from './field-area';
|
|
100
101
|
export * from './field-preferences';
|
|
101
102
|
export * from './field-type';
|
|
102
|
-
export * from './file-uploaded';
|
|
103
103
|
export * from './filter-item';
|
|
104
104
|
export * from './filter-item-value';
|
|
105
105
|
export * from './filter-operator';
|
|
@@ -243,6 +243,7 @@ export * from './template-field';
|
|
|
243
243
|
export * from './template-signer';
|
|
244
244
|
export * from './token';
|
|
245
245
|
export * from './transaction-posting-entries';
|
|
246
|
+
export * from './update-address';
|
|
246
247
|
export * from './update-asset';
|
|
247
248
|
export * from './update-asset-category';
|
|
248
249
|
export * from './update-asset-feature';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateAddress
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateAddress {
|
|
22
|
+
/**
|
|
23
|
+
* First Line of Address
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateAddress
|
|
26
|
+
*/
|
|
27
|
+
addressLineOne?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Second Line of Address
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateAddress
|
|
32
|
+
*/
|
|
33
|
+
addressLineTwo?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* City
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateAddress
|
|
38
|
+
*/
|
|
39
|
+
city?: string;
|
|
40
|
+
/**
|
|
41
|
+
* State
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateAddress
|
|
44
|
+
*/
|
|
45
|
+
state?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Zip Code
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateAddress
|
|
50
|
+
*/
|
|
51
|
+
zip?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Country
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateAddress
|
|
56
|
+
*/
|
|
57
|
+
country?: string;
|
|
58
|
+
/**
|
|
59
|
+
* County
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UpdateAddress
|
|
62
|
+
*/
|
|
63
|
+
county?: string | null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the UpdateAddress interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfUpdateAddress(value: object): value is UpdateAddress {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function UpdateAddressFromJSON(json: any): UpdateAddress {
|
|
74
|
+
return UpdateAddressFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function UpdateAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAddress {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'addressLineOne': json['addressLineOne'] == null ? undefined : json['addressLineOne'],
|
|
84
|
+
'addressLineTwo': json['addressLineTwo'] == null ? undefined : json['addressLineTwo'],
|
|
85
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
86
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
87
|
+
'zip': json['zip'] == null ? undefined : json['zip'],
|
|
88
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
89
|
+
'county': json['county'] == null ? undefined : json['county'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function UpdateAddressToJSON(json: any): UpdateAddress {
|
|
94
|
+
return UpdateAddressToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function UpdateAddressToJSONTyped(value?: UpdateAddress | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'addressLineOne': value['addressLineOne'],
|
|
105
|
+
'addressLineTwo': value['addressLineTwo'],
|
|
106
|
+
'city': value['city'],
|
|
107
|
+
'state': value['state'],
|
|
108
|
+
'zip': value['zip'],
|
|
109
|
+
'country': value['country'],
|
|
110
|
+
'county': value['county'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* ManageSpace API
|
|
5
|
+
* ManageSpace API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateContact
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateContact {
|
|
22
|
+
/**
|
|
23
|
+
* First name
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateContact
|
|
26
|
+
*/
|
|
27
|
+
firstName?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Initial of middle name
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateContact
|
|
32
|
+
*/
|
|
33
|
+
middleInitial?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Last name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateContact
|
|
38
|
+
*/
|
|
39
|
+
lastName?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Display name
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateContact
|
|
44
|
+
*/
|
|
45
|
+
displayName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Contact email address
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UpdateContact
|
|
50
|
+
*/
|
|
51
|
+
email?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Phone number
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateContact
|
|
56
|
+
*/
|
|
57
|
+
phoneNumber?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Contact mobile number
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UpdateContact
|
|
62
|
+
*/
|
|
63
|
+
mobileNumber?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UpdateContact
|
|
68
|
+
*/
|
|
69
|
+
customerId?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof UpdateContact
|
|
74
|
+
*/
|
|
75
|
+
addressId?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the UpdateContact interface.
|
|
80
|
+
*/
|
|
81
|
+
export function instanceOfUpdateContact(value: object): value is UpdateContact {
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function UpdateContactFromJSON(json: any): UpdateContact {
|
|
86
|
+
return UpdateContactFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function UpdateContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateContact {
|
|
90
|
+
if (json == null) {
|
|
91
|
+
return json;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
96
|
+
'middleInitial': json['middleInitial'] == null ? undefined : json['middleInitial'],
|
|
97
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
98
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
99
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
100
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
101
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
102
|
+
'customerId': json['customerId'] == null ? undefined : json['customerId'],
|
|
103
|
+
'addressId': json['addressId'] == null ? undefined : json['addressId'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function UpdateContactToJSON(json: any): UpdateContact {
|
|
108
|
+
return UpdateContactToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function UpdateContactToJSONTyped(value?: UpdateContact | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
if (value == null) {
|
|
113
|
+
return value;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return {
|
|
117
|
+
|
|
118
|
+
'firstName': value['firstName'],
|
|
119
|
+
'middleInitial': value['middleInitial'],
|
|
120
|
+
'lastName': value['lastName'],
|
|
121
|
+
'displayName': value['displayName'],
|
|
122
|
+
'email': value['email'],
|
|
123
|
+
'phoneNumber': value['phoneNumber'],
|
|
124
|
+
'mobileNumber': value['mobileNumber'],
|
|
125
|
+
'customerId': value['customerId'],
|
|
126
|
+
'addressId': value['addressId'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
package/package.deploy.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@managespace/sdk",
|
|
3
|
-
"version": "0.1.102",
|
|
4
|
-
"scripts": {
|
|
5
|
-
"dev": "tsc -w --preserveWatchOutput",
|
|
6
|
-
"build": "tsc",
|
|
7
|
-
"lint:check": "eslint .",
|
|
8
|
-
"lint:fix": "eslint --fix .",
|
|
9
|
-
"lint:fix:cache": "eslint --fix .",
|
|
10
|
-
"upload": "tsc && npm publish"
|
|
11
|
-
},
|
|
12
|
-
"main": "./dist/index.js",
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"exports": {
|
|
15
|
-
".": {
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"default": "./dist/index.js"
|
|
18
|
-
},
|
|
19
|
-
"./*": {
|
|
20
|
-
"types": "./dist/index.d.ts",
|
|
21
|
-
"default": "./dist/index.js"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"tslib": "^2.4.0"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@types/node": "~18.16.9",
|
|
29
|
-
"typescript": "~5.4.2",
|
|
30
|
-
"@repo/eslint-config": "*",
|
|
31
|
-
"@repo/typescript-config": "*"
|
|
32
|
-
}
|
|
33
|
-
}
|