@forteplatforms/sdk 1.0.116 → 1.0.131
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/generated/apis/ProjectsServerApi.d.ts +69 -1
- package/dist/generated/apis/ProjectsServerApi.js +310 -1
- package/dist/generated/models/AdminOverrideContactMethodRequest.d.ts +44 -0
- package/dist/generated/models/AdminOverrideContactMethodRequest.js +53 -0
- package/dist/generated/models/CreateForteServiceRequest.d.ts +6 -0
- package/dist/generated/models/CreateForteServiceRequest.js +2 -0
- package/dist/generated/models/CreatePaymentPreviewRequest.d.ts +52 -0
- package/dist/generated/models/CreatePaymentPreviewRequest.js +61 -0
- package/dist/generated/models/CreatePaymentPreviewResponse.d.ts +70 -0
- package/dist/generated/models/CreatePaymentPreviewResponse.js +71 -0
- package/dist/generated/models/CreatePaymentRequest.d.ts +66 -0
- package/dist/generated/models/CreatePaymentRequest.js +65 -0
- package/dist/generated/models/CreatePaymentResponse.d.ts +51 -0
- package/dist/generated/models/CreatePaymentResponse.js +64 -0
- package/dist/generated/models/ForteApiException.d.ts +22 -2
- package/dist/generated/models/ForteApiException.js +23 -3
- package/dist/generated/models/NotificationTemplatesConfig.d.ts +80 -0
- package/dist/generated/models/NotificationTemplatesConfig.js +65 -0
- package/dist/generated/models/NotificationTemplatesResponse.d.ts +39 -0
- package/dist/generated/models/NotificationTemplatesResponse.js +52 -0
- package/dist/generated/models/PaymentAddress.d.ts +62 -0
- package/dist/generated/models/PaymentAddress.js +67 -0
- package/dist/generated/models/PaymentLineItem.d.ts +56 -0
- package/dist/generated/models/PaymentLineItem.js +63 -0
- package/dist/generated/models/PaymentObject.d.ts +162 -0
- package/dist/generated/models/PaymentObject.js +123 -0
- package/dist/generated/models/ProjectObject.d.ts +19 -0
- package/dist/generated/models/ProjectObject.js +7 -0
- package/dist/generated/models/ServiceObject.d.ts +1 -1
- package/dist/generated/models/ServiceObject.js +1 -3
- package/dist/generated/models/StateHistory.d.ts +55 -0
- package/dist/generated/models/StateHistory.js +68 -0
- package/dist/generated/models/UpdateForteServiceRequest.d.ts +6 -0
- package/dist/generated/models/UpdateForteServiceRequest.js +2 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.d.ts +80 -0
- package/dist/generated/models/UpdateNotificationTemplatesRequest.js +65 -0
- package/dist/generated/models/UpdateProjectRequest.d.ts +6 -0
- package/dist/generated/models/UpdateProjectRequest.js +2 -0
- package/dist/generated/models/UserActionLogObject.d.ts +4 -0
- package/dist/generated/models/UserActionLogObject.js +5 -1
- package/dist/generated/models/UserObject.d.ts +12 -0
- package/dist/generated/models/UserObject.js +4 -0
- package/dist/generated/models/index.d.ts +12 -0
- package/dist/generated/models/index.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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.PaymentObjectStateType = void 0;
|
|
17
|
+
exports.instanceOfPaymentObject = instanceOfPaymentObject;
|
|
18
|
+
exports.PaymentObjectFromJSON = PaymentObjectFromJSON;
|
|
19
|
+
exports.PaymentObjectFromJSONTyped = PaymentObjectFromJSONTyped;
|
|
20
|
+
exports.PaymentObjectToJSON = PaymentObjectToJSON;
|
|
21
|
+
exports.PaymentObjectToJSONTyped = PaymentObjectToJSONTyped;
|
|
22
|
+
var PaymentAddress_1 = require("./PaymentAddress");
|
|
23
|
+
var PaymentLineItem_1 = require("./PaymentLineItem");
|
|
24
|
+
var StateHistory_1 = require("./StateHistory");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.PaymentObjectStateType = {
|
|
29
|
+
DRAFT: 'DRAFT',
|
|
30
|
+
PROCESSING: 'PROCESSING',
|
|
31
|
+
COMPLETED: 'COMPLETED',
|
|
32
|
+
CANCELLED: 'CANCELLED',
|
|
33
|
+
FAILED: 'FAILED'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the PaymentObject interface.
|
|
37
|
+
*/
|
|
38
|
+
function instanceOfPaymentObject(value) {
|
|
39
|
+
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('subtotalCents' in value) || value['subtotalCents'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('amountCents' in value) || value['amountCents'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('lineItems' in value) || value['lineItems'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('stripePaymentIntentId' in value) || value['stripePaymentIntentId'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('stateHistory' in value) || value['stateHistory'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
function PaymentObjectFromJSON(json) {
|
|
64
|
+
return PaymentObjectFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function PaymentObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
+
'projectId': json['projectId'],
|
|
73
|
+
'userId': json['userId'],
|
|
74
|
+
'state': json['state'],
|
|
75
|
+
'subtotalCents': json['subtotalCents'],
|
|
76
|
+
'taxCents': json['taxCents'] == null ? undefined : json['taxCents'],
|
|
77
|
+
'amountCents': json['amountCents'],
|
|
78
|
+
'currency': json['currency'],
|
|
79
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
80
|
+
'lineItems': (json['lineItems'].map(PaymentLineItem_1.PaymentLineItemFromJSON)),
|
|
81
|
+
'metadata': json['metadata'],
|
|
82
|
+
'customerAddress': json['customerAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['customerAddress']),
|
|
83
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['shippingAddress']),
|
|
84
|
+
'stripePaymentIntentId': json['stripePaymentIntentId'],
|
|
85
|
+
'stripeStatus': json['stripeStatus'] == null ? undefined : json['stripeStatus'],
|
|
86
|
+
'stripeTaxCalculationId': json['stripeTaxCalculationId'] == null ? undefined : json['stripeTaxCalculationId'],
|
|
87
|
+
'stripeTaxTransactionId': json['stripeTaxTransactionId'] == null ? undefined : json['stripeTaxTransactionId'],
|
|
88
|
+
'stateHistory': (json['stateHistory'].map(StateHistory_1.StateHistoryFromJSON)),
|
|
89
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
90
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function PaymentObjectToJSON(json) {
|
|
94
|
+
return PaymentObjectToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
function PaymentObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
97
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
'id': value['id'],
|
|
103
|
+
'projectId': value['projectId'],
|
|
104
|
+
'userId': value['userId'],
|
|
105
|
+
'state': value['state'],
|
|
106
|
+
'subtotalCents': value['subtotalCents'],
|
|
107
|
+
'taxCents': value['taxCents'],
|
|
108
|
+
'amountCents': value['amountCents'],
|
|
109
|
+
'currency': value['currency'],
|
|
110
|
+
'description': value['description'],
|
|
111
|
+
'lineItems': (value['lineItems'].map(PaymentLineItem_1.PaymentLineItemToJSON)),
|
|
112
|
+
'metadata': value['metadata'],
|
|
113
|
+
'customerAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['customerAddress']),
|
|
114
|
+
'shippingAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['shippingAddress']),
|
|
115
|
+
'stripePaymentIntentId': value['stripePaymentIntentId'],
|
|
116
|
+
'stripeStatus': value['stripeStatus'],
|
|
117
|
+
'stripeTaxCalculationId': value['stripeTaxCalculationId'],
|
|
118
|
+
'stripeTaxTransactionId': value['stripeTaxTransactionId'],
|
|
119
|
+
'stateHistory': (value['stateHistory'].map(StateHistory_1.StateHistoryToJSON)),
|
|
120
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
121
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { NotificationTemplatesConfig } from './NotificationTemplatesConfig';
|
|
12
13
|
import type { WebAppObject } from './WebAppObject';
|
|
13
14
|
import type { ServiceObject } from './ServiceObject';
|
|
14
15
|
/**
|
|
@@ -95,6 +96,24 @@ export interface ProjectObject {
|
|
|
95
96
|
* @memberof ProjectObject
|
|
96
97
|
*/
|
|
97
98
|
emailLoginEnabled?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof ProjectObject
|
|
103
|
+
*/
|
|
104
|
+
googleLoginEnabled?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {boolean}
|
|
108
|
+
* @memberof ProjectObject
|
|
109
|
+
*/
|
|
110
|
+
sandboxMode?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {NotificationTemplatesConfig}
|
|
114
|
+
* @memberof ProjectObject
|
|
115
|
+
*/
|
|
116
|
+
notificationTemplatesConfig?: NotificationTemplatesConfig;
|
|
98
117
|
/**
|
|
99
118
|
*
|
|
100
119
|
* @type {boolean}
|
|
@@ -18,6 +18,7 @@ exports.ProjectObjectFromJSON = ProjectObjectFromJSON;
|
|
|
18
18
|
exports.ProjectObjectFromJSONTyped = ProjectObjectFromJSONTyped;
|
|
19
19
|
exports.ProjectObjectToJSON = ProjectObjectToJSON;
|
|
20
20
|
exports.ProjectObjectToJSONTyped = ProjectObjectToJSONTyped;
|
|
21
|
+
var NotificationTemplatesConfig_1 = require("./NotificationTemplatesConfig");
|
|
21
22
|
var WebAppObject_1 = require("./WebAppObject");
|
|
22
23
|
var ServiceObject_1 = require("./ServiceObject");
|
|
23
24
|
/**
|
|
@@ -59,6 +60,9 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'googleOAuthClientId': json['googleOAuthClientId'] == null ? undefined : json['googleOAuthClientId'],
|
|
60
61
|
'phoneLoginEnabled': json['phoneLoginEnabled'] == null ? undefined : json['phoneLoginEnabled'],
|
|
61
62
|
'emailLoginEnabled': json['emailLoginEnabled'] == null ? undefined : json['emailLoginEnabled'],
|
|
63
|
+
'googleLoginEnabled': json['googleLoginEnabled'] == null ? undefined : json['googleLoginEnabled'],
|
|
64
|
+
'sandboxMode': json['sandboxMode'] == null ? undefined : json['sandboxMode'],
|
|
65
|
+
'notificationTemplatesConfig': json['notificationTemplatesConfig'] == null ? undefined : (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigFromJSON)(json['notificationTemplatesConfig']),
|
|
62
66
|
'hasRecaptchaSecretKey': json['hasRecaptchaSecretKey'] == null ? undefined : json['hasRecaptchaSecretKey'],
|
|
63
67
|
};
|
|
64
68
|
}
|
|
@@ -84,6 +88,9 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
84
88
|
'googleOAuthClientId': value['googleOAuthClientId'],
|
|
85
89
|
'phoneLoginEnabled': value['phoneLoginEnabled'],
|
|
86
90
|
'emailLoginEnabled': value['emailLoginEnabled'],
|
|
91
|
+
'googleLoginEnabled': value['googleLoginEnabled'],
|
|
92
|
+
'sandboxMode': value['sandboxMode'],
|
|
93
|
+
'notificationTemplatesConfig': (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigToJSON)(value['notificationTemplatesConfig']),
|
|
87
94
|
'hasRecaptchaSecretKey': value['hasRecaptchaSecretKey'],
|
|
88
95
|
};
|
|
89
96
|
}
|
|
@@ -35,8 +35,6 @@ exports.ServiceObjectGithubBuildTriggerType = {
|
|
|
35
35
|
function instanceOfServiceObject(value) {
|
|
36
36
|
if (!('serviceName' in value) || value['serviceName'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
-
if (!('requestResponseBodyLoggingEnabled' in value) || value['requestResponseBodyLoggingEnabled'] === undefined)
|
|
39
|
-
return false;
|
|
40
38
|
if (!('baseInstances' in value) || value['baseInstances'] === undefined)
|
|
41
39
|
return false;
|
|
42
40
|
if (!('containerCpu' in value) || value['containerCpu'] === undefined)
|
|
@@ -58,7 +56,7 @@ function ServiceObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
56
|
'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
|
|
59
57
|
'serviceName': json['serviceName'],
|
|
60
58
|
'publicDnsEndpoint': json['publicDnsEndpoint'] == null ? undefined : json['publicDnsEndpoint'],
|
|
61
|
-
'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'],
|
|
59
|
+
'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'] == null ? undefined : json['requestResponseBodyLoggingEnabled'],
|
|
62
60
|
'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
|
|
63
61
|
'healthCheckConfiguration': json['healthCheckConfiguration'] == null ? undefined : (0, HealthCheckDetectionOutput_1.HealthCheckDetectionOutputFromJSON)(json['healthCheckConfiguration']),
|
|
64
62
|
'dockerfileDetectionResponse': json['dockerfileDetectionResponse'] == null ? undefined : (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseFromJSON)(json['dockerfileDetectionResponse']),
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 StateHistory
|
|
16
|
+
*/
|
|
17
|
+
export interface StateHistory {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof StateHistory
|
|
22
|
+
*/
|
|
23
|
+
timestamp: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StateHistory
|
|
28
|
+
*/
|
|
29
|
+
state: StateHistoryStateType;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof StateHistory
|
|
34
|
+
*/
|
|
35
|
+
message?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const StateHistoryStateType: {
|
|
41
|
+
readonly DRAFT: "DRAFT";
|
|
42
|
+
readonly PROCESSING: "PROCESSING";
|
|
43
|
+
readonly COMPLETED: "COMPLETED";
|
|
44
|
+
readonly CANCELLED: "CANCELLED";
|
|
45
|
+
readonly FAILED: "FAILED";
|
|
46
|
+
};
|
|
47
|
+
export type StateHistoryStateType = typeof StateHistoryStateType[keyof typeof StateHistoryStateType];
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the StateHistory interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfStateHistory(value: object): value is StateHistory;
|
|
52
|
+
export declare function StateHistoryFromJSON(json: any): StateHistory;
|
|
53
|
+
export declare function StateHistoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): StateHistory;
|
|
54
|
+
export declare function StateHistoryToJSON(json: any): StateHistory;
|
|
55
|
+
export declare function StateHistoryToJSONTyped(value?: StateHistory | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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.StateHistoryStateType = void 0;
|
|
17
|
+
exports.instanceOfStateHistory = instanceOfStateHistory;
|
|
18
|
+
exports.StateHistoryFromJSON = StateHistoryFromJSON;
|
|
19
|
+
exports.StateHistoryFromJSONTyped = StateHistoryFromJSONTyped;
|
|
20
|
+
exports.StateHistoryToJSON = StateHistoryToJSON;
|
|
21
|
+
exports.StateHistoryToJSONTyped = StateHistoryToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.StateHistoryStateType = {
|
|
26
|
+
DRAFT: 'DRAFT',
|
|
27
|
+
PROCESSING: 'PROCESSING',
|
|
28
|
+
COMPLETED: 'COMPLETED',
|
|
29
|
+
CANCELLED: 'CANCELLED',
|
|
30
|
+
FAILED: 'FAILED'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the StateHistory interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfStateHistory(value) {
|
|
36
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function StateHistoryFromJSON(json) {
|
|
43
|
+
return StateHistoryFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StateHistoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'timestamp': (new Date(json['timestamp'])),
|
|
51
|
+
'state': json['state'],
|
|
52
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function StateHistoryToJSON(json) {
|
|
56
|
+
return StateHistoryToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function StateHistoryToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
65
|
+
'state': value['state'],
|
|
66
|
+
'message': value['message'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -85,6 +85,12 @@ export interface UpdateForteServiceRequest {
|
|
|
85
85
|
* @memberof UpdateForteServiceRequest
|
|
86
86
|
*/
|
|
87
87
|
healthCheckPath?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof UpdateForteServiceRequest
|
|
92
|
+
*/
|
|
93
|
+
requestResponseBodyLoggingEnabled?: boolean;
|
|
88
94
|
}
|
|
89
95
|
/**
|
|
90
96
|
* Check if a given object implements the UpdateForteServiceRequest interface.
|
|
@@ -43,6 +43,7 @@ function UpdateForteServiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'containerCpu': json['containerCpu'] == null ? undefined : json['containerCpu'],
|
|
44
44
|
'healthCheckPort': json['healthCheckPort'] == null ? undefined : json['healthCheckPort'],
|
|
45
45
|
'healthCheckPath': json['healthCheckPath'] == null ? undefined : json['healthCheckPath'],
|
|
46
|
+
'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'] == null ? undefined : json['requestResponseBodyLoggingEnabled'],
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
49
|
function UpdateForteServiceRequestToJSON(json) {
|
|
@@ -65,5 +66,6 @@ function UpdateForteServiceRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
66
|
'containerCpu': value['containerCpu'],
|
|
66
67
|
'healthCheckPort': value['healthCheckPort'],
|
|
67
68
|
'healthCheckPath': value['healthCheckPath'],
|
|
69
|
+
'requestResponseBodyLoggingEnabled': value['requestResponseBodyLoggingEnabled'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
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 UpdateNotificationTemplatesRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateNotificationTemplatesRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
22
|
+
*/
|
|
23
|
+
emailVerificationSubject?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
28
|
+
*/
|
|
29
|
+
emailVerificationHtmlBody?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
34
|
+
*/
|
|
35
|
+
smsVerificationBody?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
40
|
+
*/
|
|
41
|
+
welcomeOnGoogleEnabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
46
|
+
*/
|
|
47
|
+
welcomeOnEmailEnabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
52
|
+
*/
|
|
53
|
+
welcomeOnSmsEnabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
58
|
+
*/
|
|
59
|
+
welcomeEmailSubject?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
64
|
+
*/
|
|
65
|
+
welcomeEmailHtmlBody?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateNotificationTemplatesRequest
|
|
70
|
+
*/
|
|
71
|
+
welcomeSmsBody?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the UpdateNotificationTemplatesRequest interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfUpdateNotificationTemplatesRequest(value: object): value is UpdateNotificationTemplatesRequest;
|
|
77
|
+
export declare function UpdateNotificationTemplatesRequestFromJSON(json: any): UpdateNotificationTemplatesRequest;
|
|
78
|
+
export declare function UpdateNotificationTemplatesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNotificationTemplatesRequest;
|
|
79
|
+
export declare function UpdateNotificationTemplatesRequestToJSON(json: any): UpdateNotificationTemplatesRequest;
|
|
80
|
+
export declare function UpdateNotificationTemplatesRequestToJSONTyped(value?: UpdateNotificationTemplatesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
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.instanceOfUpdateNotificationTemplatesRequest = instanceOfUpdateNotificationTemplatesRequest;
|
|
17
|
+
exports.UpdateNotificationTemplatesRequestFromJSON = UpdateNotificationTemplatesRequestFromJSON;
|
|
18
|
+
exports.UpdateNotificationTemplatesRequestFromJSONTyped = UpdateNotificationTemplatesRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateNotificationTemplatesRequestToJSON = UpdateNotificationTemplatesRequestToJSON;
|
|
20
|
+
exports.UpdateNotificationTemplatesRequestToJSONTyped = UpdateNotificationTemplatesRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateNotificationTemplatesRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateNotificationTemplatesRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateNotificationTemplatesRequestFromJSON(json) {
|
|
28
|
+
return UpdateNotificationTemplatesRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateNotificationTemplatesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'emailVerificationSubject': json['emailVerificationSubject'] == null ? undefined : json['emailVerificationSubject'],
|
|
36
|
+
'emailVerificationHtmlBody': json['emailVerificationHtmlBody'] == null ? undefined : json['emailVerificationHtmlBody'],
|
|
37
|
+
'smsVerificationBody': json['smsVerificationBody'] == null ? undefined : json['smsVerificationBody'],
|
|
38
|
+
'welcomeOnGoogleEnabled': json['welcomeOnGoogleEnabled'] == null ? undefined : json['welcomeOnGoogleEnabled'],
|
|
39
|
+
'welcomeOnEmailEnabled': json['welcomeOnEmailEnabled'] == null ? undefined : json['welcomeOnEmailEnabled'],
|
|
40
|
+
'welcomeOnSmsEnabled': json['welcomeOnSmsEnabled'] == null ? undefined : json['welcomeOnSmsEnabled'],
|
|
41
|
+
'welcomeEmailSubject': json['welcomeEmailSubject'] == null ? undefined : json['welcomeEmailSubject'],
|
|
42
|
+
'welcomeEmailHtmlBody': json['welcomeEmailHtmlBody'] == null ? undefined : json['welcomeEmailHtmlBody'],
|
|
43
|
+
'welcomeSmsBody': json['welcomeSmsBody'] == null ? undefined : json['welcomeSmsBody'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function UpdateNotificationTemplatesRequestToJSON(json) {
|
|
47
|
+
return UpdateNotificationTemplatesRequestToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function UpdateNotificationTemplatesRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'emailVerificationSubject': value['emailVerificationSubject'],
|
|
56
|
+
'emailVerificationHtmlBody': value['emailVerificationHtmlBody'],
|
|
57
|
+
'smsVerificationBody': value['smsVerificationBody'],
|
|
58
|
+
'welcomeOnGoogleEnabled': value['welcomeOnGoogleEnabled'],
|
|
59
|
+
'welcomeOnEmailEnabled': value['welcomeOnEmailEnabled'],
|
|
60
|
+
'welcomeOnSmsEnabled': value['welcomeOnSmsEnabled'],
|
|
61
|
+
'welcomeEmailSubject': value['welcomeEmailSubject'],
|
|
62
|
+
'welcomeEmailHtmlBody': value['welcomeEmailHtmlBody'],
|
|
63
|
+
'welcomeSmsBody': value['welcomeSmsBody'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface UpdateProjectRequest {
|
|
|
39
39
|
* @memberof UpdateProjectRequest
|
|
40
40
|
*/
|
|
41
41
|
emailLoginEnabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof UpdateProjectRequest
|
|
46
|
+
*/
|
|
47
|
+
googleLoginEnabled?: boolean;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the UpdateProjectRequest interface.
|
|
@@ -36,6 +36,7 @@ function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'recaptchaSecretKey': json['recaptchaSecretKey'] == null ? undefined : json['recaptchaSecretKey'],
|
|
37
37
|
'phoneLoginEnabled': json['phoneLoginEnabled'] == null ? undefined : json['phoneLoginEnabled'],
|
|
38
38
|
'emailLoginEnabled': json['emailLoginEnabled'] == null ? undefined : json['emailLoginEnabled'],
|
|
39
|
+
'googleLoginEnabled': json['googleLoginEnabled'] == null ? undefined : json['googleLoginEnabled'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function UpdateProjectRequestToJSON(json) {
|
|
@@ -51,5 +52,6 @@ function UpdateProjectRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
52
|
'recaptchaSecretKey': value['recaptchaSecretKey'],
|
|
52
53
|
'phoneLoginEnabled': value['phoneLoginEnabled'],
|
|
53
54
|
'emailLoginEnabled': value['emailLoginEnabled'],
|
|
55
|
+
'googleLoginEnabled': value['googleLoginEnabled'],
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -53,13 +53,17 @@ export declare const UserActionLogObjectActionTypeType: {
|
|
|
53
53
|
readonly USER_CREATED: "USER_CREATED";
|
|
54
54
|
readonly USER_SUSPENDED: "USER_SUSPENDED";
|
|
55
55
|
readonly USER_DELETED: "USER_DELETED";
|
|
56
|
+
readonly USER_HARD_DELETED: "USER_HARD_DELETED";
|
|
56
57
|
readonly CONTACT_METHOD_ADDED: "CONTACT_METHOD_ADDED";
|
|
57
58
|
readonly CONTACT_METHOD_REMOVED: "CONTACT_METHOD_REMOVED";
|
|
58
59
|
readonly CONTACT_METHOD_VERIFICATION_CODE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_SENT";
|
|
59
60
|
readonly CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: "CONTACT_METHOD_VERIFICATION_CODE_RE_SENT";
|
|
60
61
|
readonly CONTACT_METHOD_VERIFIED: "CONTACT_METHOD_VERIFIED";
|
|
62
|
+
readonly CONTACT_METHOD_ADMIN_OVERRIDE: "CONTACT_METHOD_ADMIN_OVERRIDE";
|
|
61
63
|
readonly USER_LOGIN: "USER_LOGIN";
|
|
62
64
|
readonly USER_LOGOUT: "USER_LOGOUT";
|
|
65
|
+
readonly PAYMENT_CREATED: "PAYMENT_CREATED";
|
|
66
|
+
readonly WELCOME_MESSAGE_SENT: "WELCOME_MESSAGE_SENT";
|
|
63
67
|
};
|
|
64
68
|
export type UserActionLogObjectActionTypeType = typeof UserActionLogObjectActionTypeType[keyof typeof UserActionLogObjectActionTypeType];
|
|
65
69
|
/**
|
|
@@ -26,13 +26,17 @@ exports.UserActionLogObjectActionTypeType = {
|
|
|
26
26
|
USER_CREATED: 'USER_CREATED',
|
|
27
27
|
USER_SUSPENDED: 'USER_SUSPENDED',
|
|
28
28
|
USER_DELETED: 'USER_DELETED',
|
|
29
|
+
USER_HARD_DELETED: 'USER_HARD_DELETED',
|
|
29
30
|
CONTACT_METHOD_ADDED: 'CONTACT_METHOD_ADDED',
|
|
30
31
|
CONTACT_METHOD_REMOVED: 'CONTACT_METHOD_REMOVED',
|
|
31
32
|
CONTACT_METHOD_VERIFICATION_CODE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_SENT',
|
|
32
33
|
CONTACT_METHOD_VERIFICATION_CODE_RE_SENT: 'CONTACT_METHOD_VERIFICATION_CODE_RE_SENT',
|
|
33
34
|
CONTACT_METHOD_VERIFIED: 'CONTACT_METHOD_VERIFIED',
|
|
35
|
+
CONTACT_METHOD_ADMIN_OVERRIDE: 'CONTACT_METHOD_ADMIN_OVERRIDE',
|
|
34
36
|
USER_LOGIN: 'USER_LOGIN',
|
|
35
|
-
USER_LOGOUT: 'USER_LOGOUT'
|
|
37
|
+
USER_LOGOUT: 'USER_LOGOUT',
|
|
38
|
+
PAYMENT_CREATED: 'PAYMENT_CREATED',
|
|
39
|
+
WELCOME_MESSAGE_SENT: 'WELCOME_MESSAGE_SENT'
|
|
36
40
|
};
|
|
37
41
|
/**
|
|
38
42
|
* Check if a given object implements the UserActionLogObject interface.
|
|
@@ -66,12 +66,24 @@ export interface UserObject {
|
|
|
66
66
|
customMetadataAttributes: {
|
|
67
67
|
[key: string]: any;
|
|
68
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof UserObject
|
|
73
|
+
*/
|
|
74
|
+
stripeCustomerId?: string;
|
|
69
75
|
/**
|
|
70
76
|
*
|
|
71
77
|
* @type {Array<ContactMethod>}
|
|
72
78
|
* @memberof UserObject
|
|
73
79
|
*/
|
|
74
80
|
contactMethods: Array<ContactMethod>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof UserObject
|
|
85
|
+
*/
|
|
86
|
+
welcomeMessageSent?: boolean;
|
|
75
87
|
/**
|
|
76
88
|
*
|
|
77
89
|
* @type {string}
|
|
@@ -62,7 +62,9 @@ function UserObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
62
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
63
63
|
'lastActivityAt': json['lastActivityAt'] == null ? undefined : (new Date(json['lastActivityAt'])),
|
|
64
64
|
'customMetadataAttributes': json['customMetadataAttributes'],
|
|
65
|
+
'stripeCustomerId': json['stripeCustomerId'] == null ? undefined : json['stripeCustomerId'],
|
|
65
66
|
'contactMethods': (json['contactMethods'].map(ContactMethod_1.ContactMethodFromJSON)),
|
|
67
|
+
'welcomeMessageSent': json['welcomeMessageSent'] == null ? undefined : json['welcomeMessageSent'],
|
|
66
68
|
'state': json['state'],
|
|
67
69
|
};
|
|
68
70
|
}
|
|
@@ -83,7 +85,9 @@ function UserObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
83
85
|
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
84
86
|
'lastActivityAt': value['lastActivityAt'] == null ? value['lastActivityAt'] : value['lastActivityAt'].toISOString(),
|
|
85
87
|
'customMetadataAttributes': value['customMetadataAttributes'],
|
|
88
|
+
'stripeCustomerId': value['stripeCustomerId'],
|
|
86
89
|
'contactMethods': (value['contactMethods'].map(ContactMethod_1.ContactMethodToJSON)),
|
|
90
|
+
'welcomeMessageSent': value['welcomeMessageSent'],
|
|
87
91
|
'state': value['state'],
|
|
88
92
|
};
|
|
89
93
|
}
|