@forteplatforms/sdk 1.0.339 → 1.0.343

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.
@@ -657,6 +657,7 @@ export interface RefundPaymentRequest {
657
657
  userId: string;
658
658
  paymentId: string;
659
659
  keepSubscriptionActive?: boolean;
660
+ refundAmountCents?: number;
660
661
  }
661
662
  export interface ResumeServiceRequest {
662
663
  projectId: string;
@@ -2154,6 +2155,7 @@ export declare const ListProjectPaymentsStateType: {
2154
2155
  readonly COMPLETED: "COMPLETED";
2155
2156
  readonly CANCELLED: "CANCELLED";
2156
2157
  readonly FAILED: "FAILED";
2158
+ readonly PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
2157
2159
  readonly REFUNDED: "REFUNDED";
2158
2160
  };
2159
2161
  export type ListProjectPaymentsStateType = typeof ListProjectPaymentsStateType[keyof typeof ListProjectPaymentsStateType];
@@ -2224,6 +2226,7 @@ export declare const ListUserPaymentsStateType: {
2224
2226
  readonly COMPLETED: "COMPLETED";
2225
2227
  readonly CANCELLED: "CANCELLED";
2226
2228
  readonly FAILED: "FAILED";
2229
+ readonly PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
2227
2230
  readonly REFUNDED: "REFUNDED";
2228
2231
  };
2229
2232
  export type ListUserPaymentsStateType = typeof ListUserPaymentsStateType[keyof typeof ListUserPaymentsStateType];
@@ -7056,6 +7056,9 @@ var ProjectsServerApi = /** @class */ (function (_super) {
7056
7056
  if (requestParameters['keepSubscriptionActive'] != null) {
7057
7057
  queryParameters['keepSubscriptionActive'] = requestParameters['keepSubscriptionActive'];
7058
7058
  }
7059
+ if (requestParameters['refundAmountCents'] != null) {
7060
+ queryParameters['refundAmountCents'] = requestParameters['refundAmountCents'];
7061
+ }
7059
7062
  headerParameters = {};
7060
7063
  urlPath = "/api/v1/projects/{projectId}/users/{userId}/payments/{paymentId}/refund";
7061
7064
  urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
@@ -8754,6 +8757,7 @@ exports.ListProjectPaymentsStateType = {
8754
8757
  COMPLETED: 'COMPLETED',
8755
8758
  CANCELLED: 'CANCELLED',
8756
8759
  FAILED: 'FAILED',
8760
+ PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED',
8757
8761
  REFUNDED: 'REFUNDED'
8758
8762
  };
8759
8763
  /**
@@ -8822,6 +8826,7 @@ exports.ListUserPaymentsStateType = {
8822
8826
  COMPLETED: 'COMPLETED',
8823
8827
  CANCELLED: 'CANCELLED',
8824
8828
  FAILED: 'FAILED',
8829
+ PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED',
8825
8830
  REFUNDED: 'REFUNDED'
8826
8831
  };
8827
8832
  /**
@@ -67,6 +67,7 @@ export declare const ForteApiExceptionErrorCodeType: {
67
67
  readonly MANAGED_DATABASE_CONNECTION_SERVICE_NOT_FOUND: "MANAGED_DATABASE_CONNECTION_SERVICE_NOT_FOUND";
68
68
  readonly MANAGED_DATABASE_CONNECTION_ENV_VAR_CONFLICT: "MANAGED_DATABASE_CONNECTION_ENV_VAR_CONFLICT";
69
69
  readonly MANAGED_DATABASE_ENV_VAR_MAPPING_REQUIRED: "MANAGED_DATABASE_ENV_VAR_MAPPING_REQUIRED";
70
+ readonly MANAGED_DATABASE_CONNECTION_TEMPLATE_REQUIRED: "MANAGED_DATABASE_CONNECTION_TEMPLATE_REQUIRED";
70
71
  readonly MANAGED_DATABASE_HAS_ACTIVE_CONNECTIONS: "MANAGED_DATABASE_HAS_ACTIVE_CONNECTIONS";
71
72
  readonly MANAGED_DATABASE_NOT_READY: "MANAGED_DATABASE_NOT_READY";
72
73
  readonly MANAGED_DATABASE_STORAGE_BELOW_USAGE: "MANAGED_DATABASE_STORAGE_BELOW_USAGE";
@@ -184,6 +185,7 @@ export declare const ForteApiExceptionErrorCodeType: {
184
185
  readonly PAYMENT_METADATA_FILTER_INVALID: "PAYMENT_METADATA_FILTER_INVALID";
185
186
  readonly PAYMENT_NOT_REFUNDABLE: "PAYMENT_NOT_REFUNDABLE";
186
187
  readonly PAYMENT_ALREADY_REFUNDED: "PAYMENT_ALREADY_REFUNDED";
188
+ readonly INVALID_REFUND_AMOUNT: "INVALID_REFUND_AMOUNT";
187
189
  readonly PAYMENT_METHOD_NOT_FOUND: "PAYMENT_METHOD_NOT_FOUND";
188
190
  readonly PAYMENT_ACH_REQUIRES_USD: "PAYMENT_ACH_REQUIRES_USD";
189
191
  readonly PAYMENT_OFF_SESSION_METHOD_REQUIRED: "PAYMENT_OFF_SESSION_METHOD_REQUIRED";
@@ -52,6 +52,7 @@ exports.ForteApiExceptionErrorCodeType = {
52
52
  MANAGED_DATABASE_CONNECTION_SERVICE_NOT_FOUND: 'MANAGED_DATABASE_CONNECTION_SERVICE_NOT_FOUND',
53
53
  MANAGED_DATABASE_CONNECTION_ENV_VAR_CONFLICT: 'MANAGED_DATABASE_CONNECTION_ENV_VAR_CONFLICT',
54
54
  MANAGED_DATABASE_ENV_VAR_MAPPING_REQUIRED: 'MANAGED_DATABASE_ENV_VAR_MAPPING_REQUIRED',
55
+ MANAGED_DATABASE_CONNECTION_TEMPLATE_REQUIRED: 'MANAGED_DATABASE_CONNECTION_TEMPLATE_REQUIRED',
55
56
  MANAGED_DATABASE_HAS_ACTIVE_CONNECTIONS: 'MANAGED_DATABASE_HAS_ACTIVE_CONNECTIONS',
56
57
  MANAGED_DATABASE_NOT_READY: 'MANAGED_DATABASE_NOT_READY',
57
58
  MANAGED_DATABASE_STORAGE_BELOW_USAGE: 'MANAGED_DATABASE_STORAGE_BELOW_USAGE',
@@ -169,6 +170,7 @@ exports.ForteApiExceptionErrorCodeType = {
169
170
  PAYMENT_METADATA_FILTER_INVALID: 'PAYMENT_METADATA_FILTER_INVALID',
170
171
  PAYMENT_NOT_REFUNDABLE: 'PAYMENT_NOT_REFUNDABLE',
171
172
  PAYMENT_ALREADY_REFUNDED: 'PAYMENT_ALREADY_REFUNDED',
173
+ INVALID_REFUND_AMOUNT: 'INVALID_REFUND_AMOUNT',
172
174
  PAYMENT_METHOD_NOT_FOUND: 'PAYMENT_METHOD_NOT_FOUND',
173
175
  PAYMENT_ACH_REQUIRES_USD: 'PAYMENT_ACH_REQUIRES_USD',
174
176
  PAYMENT_OFF_SESSION_METHOD_REQUIRED: 'PAYMENT_OFF_SESSION_METHOD_REQUIRED',
@@ -51,7 +51,32 @@ export interface ManagedDatabaseEnvVarMappings {
51
51
  * @memberof ManagedDatabaseEnvVarMappings
52
52
  */
53
53
  passwordEnvVar?: string;
54
+ /**
55
+ *
56
+ * @type {ManagedDatabaseEnvVarMappingsConnectionStringFormatType}
57
+ * @memberof ManagedDatabaseEnvVarMappings
58
+ */
59
+ connectionStringFormat?: ManagedDatabaseEnvVarMappingsConnectionStringFormatType;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ManagedDatabaseEnvVarMappings
64
+ */
65
+ connectionStringTemplate?: string;
54
66
  }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const ManagedDatabaseEnvVarMappingsConnectionStringFormatType: {
71
+ readonly URI: "URI";
72
+ readonly JDBC: "JDBC";
73
+ readonly R2DBC: "R2DBC";
74
+ readonly SQLALCHEMY: "SQLALCHEMY";
75
+ readonly NPGSQL: "NPGSQL";
76
+ readonly PRISMA: "PRISMA";
77
+ readonly CUSTOM: "CUSTOM";
78
+ };
79
+ export type ManagedDatabaseEnvVarMappingsConnectionStringFormatType = typeof ManagedDatabaseEnvVarMappingsConnectionStringFormatType[keyof typeof ManagedDatabaseEnvVarMappingsConnectionStringFormatType];
55
80
  /**
56
81
  * Check if a given object implements the ManagedDatabaseEnvVarMappings interface.
57
82
  */
@@ -13,11 +13,24 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ManagedDatabaseEnvVarMappingsConnectionStringFormatType = void 0;
16
17
  exports.instanceOfManagedDatabaseEnvVarMappings = instanceOfManagedDatabaseEnvVarMappings;
17
18
  exports.ManagedDatabaseEnvVarMappingsFromJSON = ManagedDatabaseEnvVarMappingsFromJSON;
18
19
  exports.ManagedDatabaseEnvVarMappingsFromJSONTyped = ManagedDatabaseEnvVarMappingsFromJSONTyped;
19
20
  exports.ManagedDatabaseEnvVarMappingsToJSON = ManagedDatabaseEnvVarMappingsToJSON;
20
21
  exports.ManagedDatabaseEnvVarMappingsToJSONTyped = ManagedDatabaseEnvVarMappingsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ManagedDatabaseEnvVarMappingsConnectionStringFormatType = {
26
+ URI: 'URI',
27
+ JDBC: 'JDBC',
28
+ R2DBC: 'R2DBC',
29
+ SQLALCHEMY: 'SQLALCHEMY',
30
+ NPGSQL: 'NPGSQL',
31
+ PRISMA: 'PRISMA',
32
+ CUSTOM: 'CUSTOM'
33
+ };
21
34
  /**
22
35
  * Check if a given object implements the ManagedDatabaseEnvVarMappings interface.
23
36
  */
@@ -38,6 +51,8 @@ function ManagedDatabaseEnvVarMappingsFromJSONTyped(json, ignoreDiscriminator) {
38
51
  'databaseEnvVar': json['databaseEnvVar'] == null ? undefined : json['databaseEnvVar'],
39
52
  'usernameEnvVar': json['usernameEnvVar'] == null ? undefined : json['usernameEnvVar'],
40
53
  'passwordEnvVar': json['passwordEnvVar'] == null ? undefined : json['passwordEnvVar'],
54
+ 'connectionStringFormat': json['connectionStringFormat'] == null ? undefined : json['connectionStringFormat'],
55
+ 'connectionStringTemplate': json['connectionStringTemplate'] == null ? undefined : json['connectionStringTemplate'],
41
56
  };
42
57
  }
43
58
  function ManagedDatabaseEnvVarMappingsToJSON(json) {
@@ -55,5 +70,7 @@ function ManagedDatabaseEnvVarMappingsToJSONTyped(value, ignoreDiscriminator) {
55
70
  'databaseEnvVar': value['databaseEnvVar'],
56
71
  'usernameEnvVar': value['usernameEnvVar'],
57
72
  'passwordEnvVar': value['passwordEnvVar'],
73
+ 'connectionStringFormat': value['connectionStringFormat'],
74
+ 'connectionStringTemplate': value['connectionStringTemplate'],
58
75
  };
59
76
  }
@@ -13,6 +13,7 @@ import type { PaymentMethodType } from './PaymentMethodType';
13
13
  import type { PaymentAddress } from './PaymentAddress';
14
14
  import type { PaymentLineItem } from './PaymentLineItem';
15
15
  import type { StateHistory } from './StateHistory';
16
+ import type { RefundRecord } from './RefundRecord';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -147,6 +148,12 @@ export interface PaymentObject {
147
148
  * @memberof PaymentObject
148
149
  */
149
150
  stateHistory: Array<StateHistory>;
151
+ /**
152
+ *
153
+ * @type {Array<RefundRecord>}
154
+ * @memberof PaymentObject
155
+ */
156
+ refundHistory: Array<RefundRecord>;
150
157
  /**
151
158
  *
152
159
  * @type {Date}
@@ -159,6 +166,12 @@ export interface PaymentObject {
159
166
  * @memberof PaymentObject
160
167
  */
161
168
  updatedAt?: Date;
169
+ /**
170
+ *
171
+ * @type {number}
172
+ * @memberof PaymentObject
173
+ */
174
+ refundedAmountCents?: number;
162
175
  }
163
176
  /**
164
177
  * @export
@@ -169,6 +182,7 @@ export declare const PaymentObjectStateType: {
169
182
  readonly COMPLETED: "COMPLETED";
170
183
  readonly CANCELLED: "CANCELLED";
171
184
  readonly FAILED: "FAILED";
185
+ readonly PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
172
186
  readonly REFUNDED: "REFUNDED";
173
187
  };
174
188
  export type PaymentObjectStateType = typeof PaymentObjectStateType[keyof typeof PaymentObjectStateType];
@@ -23,6 +23,7 @@ var PaymentMethodType_1 = require("./PaymentMethodType");
23
23
  var PaymentAddress_1 = require("./PaymentAddress");
24
24
  var PaymentLineItem_1 = require("./PaymentLineItem");
25
25
  var StateHistory_1 = require("./StateHistory");
26
+ var RefundRecord_1 = require("./RefundRecord");
26
27
  /**
27
28
  * @export
28
29
  */
@@ -32,6 +33,7 @@ exports.PaymentObjectStateType = {
32
33
  COMPLETED: 'COMPLETED',
33
34
  CANCELLED: 'CANCELLED',
34
35
  FAILED: 'FAILED',
36
+ PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED',
35
37
  REFUNDED: 'REFUNDED'
36
38
  };
37
39
  /**
@@ -60,6 +62,8 @@ function instanceOfPaymentObject(value) {
60
62
  return false;
61
63
  if (!('stateHistory' in value) || value['stateHistory'] === undefined)
62
64
  return false;
65
+ if (!('refundHistory' in value) || value['refundHistory'] === undefined)
66
+ return false;
63
67
  if (!('createdAt' in value) || value['createdAt'] === undefined)
64
68
  return false;
65
69
  return true;
@@ -93,8 +97,10 @@ function PaymentObjectFromJSONTyped(json, ignoreDiscriminator) {
93
97
  'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
94
98
  'subscriptionRenewalTime': json['subscriptionRenewalTime'] == null ? undefined : (new Date(json['subscriptionRenewalTime'])),
95
99
  'stateHistory': (json['stateHistory'].map(StateHistory_1.StateHistoryFromJSON)),
100
+ 'refundHistory': (json['refundHistory'].map(RefundRecord_1.RefundRecordFromJSON)),
96
101
  'createdAt': (new Date(json['createdAt'])),
97
102
  'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
103
+ 'refundedAmountCents': json['refundedAmountCents'] == null ? undefined : json['refundedAmountCents'],
98
104
  };
99
105
  }
100
106
  function PaymentObjectToJSON(json) {
@@ -127,7 +133,9 @@ function PaymentObjectToJSONTyped(value, ignoreDiscriminator) {
127
133
  'subscriptionId': value['subscriptionId'],
128
134
  'subscriptionRenewalTime': value['subscriptionRenewalTime'] == null ? value['subscriptionRenewalTime'] : value['subscriptionRenewalTime'].toISOString(),
129
135
  'stateHistory': (value['stateHistory'].map(StateHistory_1.StateHistoryToJSON)),
136
+ 'refundHistory': (value['refundHistory'].map(RefundRecord_1.RefundRecordToJSON)),
130
137
  'createdAt': value['createdAt'].toISOString(),
131
138
  'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
139
+ 'refundedAmountCents': value['refundedAmountCents'],
132
140
  };
133
141
  }
@@ -0,0 +1,44 @@
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 RefundRecord
16
+ */
17
+ export interface RefundRecord {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof RefundRecord
22
+ */
23
+ amountCents: number;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof RefundRecord
28
+ */
29
+ timestamp: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RefundRecord
34
+ */
35
+ stripeRefundId?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the RefundRecord interface.
39
+ */
40
+ export declare function instanceOfRefundRecord(value: object): value is RefundRecord;
41
+ export declare function RefundRecordFromJSON(json: any): RefundRecord;
42
+ export declare function RefundRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundRecord;
43
+ export declare function RefundRecordToJSON(json: any): RefundRecord;
44
+ export declare function RefundRecordToJSONTyped(value?: RefundRecord | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfRefundRecord = instanceOfRefundRecord;
17
+ exports.RefundRecordFromJSON = RefundRecordFromJSON;
18
+ exports.RefundRecordFromJSONTyped = RefundRecordFromJSONTyped;
19
+ exports.RefundRecordToJSON = RefundRecordToJSON;
20
+ exports.RefundRecordToJSONTyped = RefundRecordToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RefundRecord interface.
23
+ */
24
+ function instanceOfRefundRecord(value) {
25
+ if (!('amountCents' in value) || value['amountCents'] === undefined)
26
+ return false;
27
+ if (!('timestamp' in value) || value['timestamp'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function RefundRecordFromJSON(json) {
32
+ return RefundRecordFromJSONTyped(json, false);
33
+ }
34
+ function RefundRecordFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'amountCents': json['amountCents'],
40
+ 'timestamp': (new Date(json['timestamp'])),
41
+ 'stripeRefundId': json['stripeRefundId'] == null ? undefined : json['stripeRefundId'],
42
+ };
43
+ }
44
+ function RefundRecordToJSON(json) {
45
+ return RefundRecordToJSONTyped(json, false);
46
+ }
47
+ function RefundRecordToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'amountCents': value['amountCents'],
54
+ 'timestamp': value['timestamp'].toISOString(),
55
+ 'stripeRefundId': value['stripeRefundId'],
56
+ };
57
+ }
@@ -24,6 +24,12 @@ export interface ServiceBuildRequestObject {
24
24
  * @memberof ServiceBuildRequestObject
25
25
  */
26
26
  buildId?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof ServiceBuildRequestObject
31
+ */
32
+ containerImageUri?: string;
27
33
  /**
28
34
  *
29
35
  * @type {DockerfileGenerationError}
@@ -104,6 +104,7 @@ function ServiceBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
104
104
  }
105
105
  return {
106
106
  'buildId': json['buildId'] == null ? undefined : json['buildId'],
107
+ 'containerImageUri': json['containerImageUri'] == null ? undefined : json['containerImageUri'],
107
108
  'dockerfileGenerationError': json['dockerfileGenerationError'] == null ? undefined : (0, DockerfileGenerationError_1.DockerfileGenerationErrorFromJSON)(json['dockerfileGenerationError']),
108
109
  'healthCheckDetectionError': json['healthCheckDetectionError'] == null ? undefined : (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorFromJSON)(json['healthCheckDetectionError']),
109
110
  'allBuildLogsReceived': json['allBuildLogsReceived'] == null ? undefined : json['allBuildLogsReceived'],
@@ -135,6 +136,7 @@ function ServiceBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
135
136
  }
136
137
  return {
137
138
  'buildId': value['buildId'],
139
+ 'containerImageUri': value['containerImageUri'],
138
140
  'dockerfileGenerationError': (0, DockerfileGenerationError_1.DockerfileGenerationErrorToJSON)(value['dockerfileGenerationError']),
139
141
  'healthCheckDetectionError': (0, HealthCheckDetectionError_1.HealthCheckDetectionErrorToJSON)(value['healthCheckDetectionError']),
140
142
  'allBuildLogsReceived': value['allBuildLogsReceived'],
@@ -37,6 +37,18 @@ export interface ServiceObject {
37
37
  * @memberof ServiceObject
38
38
  */
39
39
  publicDnsEndpoint?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ServiceObject
44
+ */
45
+ liveBuildId?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ServiceObject
50
+ */
51
+ liveCommitHash?: string;
40
52
  /**
41
53
  *
42
54
  * @type {Date}
@@ -57,6 +57,8 @@ function ServiceObjectFromJSONTyped(json, ignoreDiscriminator) {
57
57
  'serviceId': json['serviceId'] == null ? undefined : json['serviceId'],
58
58
  'serviceName': json['serviceName'],
59
59
  'publicDnsEndpoint': json['publicDnsEndpoint'] == null ? undefined : json['publicDnsEndpoint'],
60
+ 'liveBuildId': json['liveBuildId'] == null ? undefined : json['liveBuildId'],
61
+ 'liveCommitHash': json['liveCommitHash'] == null ? undefined : json['liveCommitHash'],
60
62
  'pausedAt': json['pausedAt'] == null ? undefined : (new Date(json['pausedAt'])),
61
63
  'requestResponseBodyLoggingEnabled': json['requestResponseBodyLoggingEnabled'] == null ? undefined : json['requestResponseBodyLoggingEnabled'],
62
64
  'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
@@ -92,6 +94,8 @@ function ServiceObjectToJSONTyped(value, ignoreDiscriminator) {
92
94
  'serviceId': value['serviceId'],
93
95
  'serviceName': value['serviceName'],
94
96
  'publicDnsEndpoint': value['publicDnsEndpoint'],
97
+ 'liveBuildId': value['liveBuildId'],
98
+ 'liveCommitHash': value['liveCommitHash'],
95
99
  'pausedAt': value['pausedAt'] == null ? value['pausedAt'] : value['pausedAt'].toISOString(),
96
100
  'requestResponseBodyLoggingEnabled': value['requestResponseBodyLoggingEnabled'],
97
101
  'dockerfilePath': value['dockerfilePath'],
@@ -49,6 +49,7 @@ export declare const StateCurrencyTotalsStateType: {
49
49
  readonly COMPLETED: "COMPLETED";
50
50
  readonly CANCELLED: "CANCELLED";
51
51
  readonly FAILED: "FAILED";
52
+ readonly PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
52
53
  readonly REFUNDED: "REFUNDED";
53
54
  };
54
55
  export type StateCurrencyTotalsStateType = typeof StateCurrencyTotalsStateType[keyof typeof StateCurrencyTotalsStateType];
@@ -28,6 +28,7 @@ exports.StateCurrencyTotalsStateType = {
28
28
  COMPLETED: 'COMPLETED',
29
29
  CANCELLED: 'CANCELLED',
30
30
  FAILED: 'FAILED',
31
+ PARTIALLY_REFUNDED: 'PARTIALLY_REFUNDED',
31
32
  REFUNDED: 'REFUNDED'
32
33
  };
33
34
  /**
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { WebAppDetectionError } from './WebAppDetectionError';
13
13
  import type { BuildStepLog } from './BuildStepLog';
14
+ import type { DockerfileGenerationError } from './DockerfileGenerationError';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -101,6 +102,12 @@ export interface WebAppBuildRequestObject {
101
102
  * @memberof WebAppBuildRequestObject
102
103
  */
103
104
  dockerfilePath?: string;
105
+ /**
106
+ *
107
+ * @type {DockerfileGenerationError}
108
+ * @memberof WebAppBuildRequestObject
109
+ */
110
+ dockerfileGenerationError?: DockerfileGenerationError;
104
111
  /**
105
112
  *
106
113
  * @type {string}
@@ -21,6 +21,7 @@ exports.WebAppBuildRequestObjectToJSON = WebAppBuildRequestObjectToJSON;
21
21
  exports.WebAppBuildRequestObjectToJSONTyped = WebAppBuildRequestObjectToJSONTyped;
22
22
  var WebAppDetectionError_1 = require("./WebAppDetectionError");
23
23
  var BuildStepLog_1 = require("./BuildStepLog");
24
+ var DockerfileGenerationError_1 = require("./DockerfileGenerationError");
24
25
  /**
25
26
  * @export
26
27
  */
@@ -125,6 +126,7 @@ function WebAppBuildRequestObjectFromJSONTyped(json, ignoreDiscriminator) {
125
126
  'appPackageName': json['appPackageName'] == null ? undefined : json['appPackageName'],
126
127
  'containerImageUri': json['containerImageUri'] == null ? undefined : json['containerImageUri'],
127
128
  'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
129
+ 'dockerfileGenerationError': json['dockerfileGenerationError'] == null ? undefined : (0, DockerfileGenerationError_1.DockerfileGenerationErrorFromJSON)(json['dockerfileGenerationError']),
128
130
  'outputZipS3Key': json['outputZipS3Key'] == null ? undefined : json['outputZipS3Key'],
129
131
  'hostingDeploymentId': json['hostingDeploymentId'] == null ? undefined : json['hostingDeploymentId'],
130
132
  'hostingDeploymentStatus': json['hostingDeploymentStatus'] == null ? undefined : json['hostingDeploymentStatus'],
@@ -170,6 +172,7 @@ function WebAppBuildRequestObjectToJSONTyped(value, ignoreDiscriminator) {
170
172
  'appPackageName': value['appPackageName'],
171
173
  'containerImageUri': value['containerImageUri'],
172
174
  'dockerfilePath': value['dockerfilePath'],
175
+ 'dockerfileGenerationError': (0, DockerfileGenerationError_1.DockerfileGenerationErrorToJSON)(value['dockerfileGenerationError']),
173
176
  'outputZipS3Key': value['outputZipS3Key'],
174
177
  'hostingDeploymentId': value['hostingDeploymentId'],
175
178
  'hostingDeploymentStatus': value['hostingDeploymentStatus'],
@@ -114,6 +114,18 @@ export interface WebAppObject {
114
114
  * @memberof WebAppObject
115
115
  */
116
116
  containerImageUri?: string;
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof WebAppObject
121
+ */
122
+ liveBuildId?: string;
123
+ /**
124
+ *
125
+ * @type {string}
126
+ * @memberof WebAppObject
127
+ */
128
+ liveCommitHash?: string;
117
129
  /**
118
130
  *
119
131
  * @type {WebAppDetectionResponse}
@@ -83,6 +83,8 @@ function WebAppObjectFromJSONTyped(json, ignoreDiscriminator) {
83
83
  'workspaceRoot': json['workspaceRoot'] == null ? undefined : json['workspaceRoot'],
84
84
  'appPackageName': json['appPackageName'] == null ? undefined : json['appPackageName'],
85
85
  'containerImageUri': json['containerImageUri'] == null ? undefined : json['containerImageUri'],
86
+ 'liveBuildId': json['liveBuildId'] == null ? undefined : json['liveBuildId'],
87
+ 'liveCommitHash': json['liveCommitHash'] == null ? undefined : json['liveCommitHash'],
86
88
  'detectionResponse': json['detectionResponse'] == null ? undefined : (0, WebAppDetectionResponse_1.WebAppDetectionResponseFromJSON)(json['detectionResponse']),
87
89
  'dockerfilePath': json['dockerfilePath'] == null ? undefined : json['dockerfilePath'],
88
90
  'dockerfileDetectionResponse': json['dockerfileDetectionResponse'] == null ? undefined : (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseFromJSON)(json['dockerfileDetectionResponse']),
@@ -128,6 +130,8 @@ function WebAppObjectToJSONTyped(value, ignoreDiscriminator) {
128
130
  'workspaceRoot': value['workspaceRoot'],
129
131
  'appPackageName': value['appPackageName'],
130
132
  'containerImageUri': value['containerImageUri'],
133
+ 'liveBuildId': value['liveBuildId'],
134
+ 'liveCommitHash': value['liveCommitHash'],
131
135
  'detectionResponse': (0, WebAppDetectionResponse_1.WebAppDetectionResponseToJSON)(value['detectionResponse']),
132
136
  'dockerfilePath': value['dockerfilePath'],
133
137
  'dockerfileDetectionResponse': (0, DockerfileGenerationResponse_1.DockerfileGenerationResponseToJSON)(value['dockerfileDetectionResponse']),
@@ -129,6 +129,7 @@ export * from './ReauthenticationFactor';
129
129
  export * from './ReauthenticationRequest';
130
130
  export * from './ReauthenticationResponse';
131
131
  export * from './ReauthenticationStatusResponse';
132
+ export * from './RefundRecord';
132
133
  export * from './RegisterUserRequest';
133
134
  export * from './RegisterUserResponse';
134
135
  export * from './RenameMfaMethodRequest';
@@ -147,6 +147,7 @@ __exportStar(require("./ReauthenticationFactor"), exports);
147
147
  __exportStar(require("./ReauthenticationRequest"), exports);
148
148
  __exportStar(require("./ReauthenticationResponse"), exports);
149
149
  __exportStar(require("./ReauthenticationStatusResponse"), exports);
150
+ __exportStar(require("./RefundRecord"), exports);
150
151
  __exportStar(require("./RegisterUserRequest"), exports);
151
152
  __exportStar(require("./RegisterUserResponse"), exports);
152
153
  __exportStar(require("./RenameMfaMethodRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.339",
3
+ "version": "1.0.343",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {