@forteplatforms/sdk 1.0.542 → 1.0.548
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 +14 -0
- package/dist/generated/apis/ProjectsServerApi.js +58 -0
- package/dist/generated/models/AccountActionLogObject.d.ts +1 -0
- package/dist/generated/models/AccountActionLogObject.js +1 -0
- package/dist/generated/models/ForteApiException.d.ts +5 -1
- package/dist/generated/models/ForteApiException.js +5 -1
- package/dist/generated/models/GetPaymentSalesTaxStatusResponse.d.ts +32 -0
- package/dist/generated/models/GetPaymentSalesTaxStatusResponse.js +51 -0
- package/dist/generated/models/PaymentFilter.d.ts +7 -0
- package/dist/generated/models/PaymentFilter.js +3 -0
- package/dist/generated/models/PaymentObject.d.ts +12 -0
- package/dist/generated/models/PaymentObject.js +4 -0
- package/dist/generated/models/SendUserEmailFromTemplateRequest.d.ts +6 -0
- package/dist/generated/models/SendUserEmailFromTemplateRequest.js +2 -0
- package/dist/generated/models/SendUserEmailRequest.d.ts +6 -0
- package/dist/generated/models/SendUserEmailRequest.js +2 -0
- package/dist/generated/models/index.d.ts +1 -0
- package/dist/generated/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ import { type GetBuildArtifactResponse } from '../models/GetBuildArtifactRespons
|
|
|
70
70
|
import { type GetContentDownloadLinkResponse } from '../models/GetContentDownloadLinkResponse';
|
|
71
71
|
import { type GetManagedDatabaseBackupResponse } from '../models/GetManagedDatabaseBackupResponse';
|
|
72
72
|
import { type GetManagedDatabaseBackupSourceResponse } from '../models/GetManagedDatabaseBackupSourceResponse';
|
|
73
|
+
import { type GetPaymentSalesTaxStatusResponse } from '../models/GetPaymentSalesTaxStatusResponse';
|
|
73
74
|
import { type GetRequestBodyDownloadLinkResponse } from '../models/GetRequestBodyDownloadLinkResponse';
|
|
74
75
|
import { type GetServiceBlockedRequestMetricsResponse } from '../models/GetServiceBlockedRequestMetricsResponse';
|
|
75
76
|
import { type GetServiceCodeSourceStatusResponse } from '../models/GetServiceCodeSourceStatusResponse';
|
|
@@ -477,6 +478,9 @@ export interface GetPaymentAnalyticsRequest {
|
|
|
477
478
|
topN?: number;
|
|
478
479
|
granularity?: GetPaymentAnalyticsGranularityType;
|
|
479
480
|
}
|
|
481
|
+
export interface GetPaymentSalesTaxStatusRequest {
|
|
482
|
+
projectId: string;
|
|
483
|
+
}
|
|
480
484
|
export interface GetPaymentTriggerInvocationRequest {
|
|
481
485
|
projectId: string;
|
|
482
486
|
triggerId: string;
|
|
@@ -1813,6 +1817,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1813
1817
|
/**
|
|
1814
1818
|
*/
|
|
1815
1819
|
getPaymentAnalytics(requestParameters: GetPaymentAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAnalyticsResponse>;
|
|
1820
|
+
/**
|
|
1821
|
+
* Creates request options for getPaymentSalesTaxStatus without sending the request
|
|
1822
|
+
*/
|
|
1823
|
+
getPaymentSalesTaxStatusRequestOpts(requestParameters: GetPaymentSalesTaxStatusRequest): Promise<runtime.RequestOpts>;
|
|
1824
|
+
/**
|
|
1825
|
+
*/
|
|
1826
|
+
getPaymentSalesTaxStatusRaw(requestParameters: GetPaymentSalesTaxStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPaymentSalesTaxStatusResponse>>;
|
|
1827
|
+
/**
|
|
1828
|
+
*/
|
|
1829
|
+
getPaymentSalesTaxStatus(requestParameters: GetPaymentSalesTaxStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPaymentSalesTaxStatusResponse>;
|
|
1816
1830
|
/**
|
|
1817
1831
|
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
1818
1832
|
*/
|
|
@@ -126,6 +126,7 @@ var GetBuildArtifactResponse_1 = require("../models/GetBuildArtifactResponse");
|
|
|
126
126
|
var GetContentDownloadLinkResponse_1 = require("../models/GetContentDownloadLinkResponse");
|
|
127
127
|
var GetManagedDatabaseBackupResponse_1 = require("../models/GetManagedDatabaseBackupResponse");
|
|
128
128
|
var GetManagedDatabaseBackupSourceResponse_1 = require("../models/GetManagedDatabaseBackupSourceResponse");
|
|
129
|
+
var GetPaymentSalesTaxStatusResponse_1 = require("../models/GetPaymentSalesTaxStatusResponse");
|
|
129
130
|
var GetRequestBodyDownloadLinkResponse_1 = require("../models/GetRequestBodyDownloadLinkResponse");
|
|
130
131
|
var GetServiceBlockedRequestMetricsResponse_1 = require("../models/GetServiceBlockedRequestMetricsResponse");
|
|
131
132
|
var GetServiceCodeSourceStatusResponse_1 = require("../models/GetServiceCodeSourceStatusResponse");
|
|
@@ -4619,6 +4620,63 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
4619
4620
|
});
|
|
4620
4621
|
});
|
|
4621
4622
|
};
|
|
4623
|
+
/**
|
|
4624
|
+
* Creates request options for getPaymentSalesTaxStatus without sending the request
|
|
4625
|
+
*/
|
|
4626
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatusRequestOpts = function (requestParameters) {
|
|
4627
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4628
|
+
var queryParameters, headerParameters, urlPath;
|
|
4629
|
+
return __generator(this, function (_a) {
|
|
4630
|
+
if (requestParameters['projectId'] == null) {
|
|
4631
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getPaymentSalesTaxStatus().');
|
|
4632
|
+
}
|
|
4633
|
+
queryParameters = {};
|
|
4634
|
+
headerParameters = {};
|
|
4635
|
+
urlPath = "/api/v1/projects/{projectId}/payments/sales-tax-status";
|
|
4636
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
4637
|
+
return [2 /*return*/, {
|
|
4638
|
+
path: urlPath,
|
|
4639
|
+
method: 'GET',
|
|
4640
|
+
headers: headerParameters,
|
|
4641
|
+
query: queryParameters,
|
|
4642
|
+
}];
|
|
4643
|
+
});
|
|
4644
|
+
});
|
|
4645
|
+
};
|
|
4646
|
+
/**
|
|
4647
|
+
*/
|
|
4648
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatusRaw = function (requestParameters, initOverrides) {
|
|
4649
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4650
|
+
var requestOptions, response;
|
|
4651
|
+
return __generator(this, function (_a) {
|
|
4652
|
+
switch (_a.label) {
|
|
4653
|
+
case 0: return [4 /*yield*/, this.getPaymentSalesTaxStatusRequestOpts(requestParameters)];
|
|
4654
|
+
case 1:
|
|
4655
|
+
requestOptions = _a.sent();
|
|
4656
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
4657
|
+
case 2:
|
|
4658
|
+
response = _a.sent();
|
|
4659
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetPaymentSalesTaxStatusResponse_1.GetPaymentSalesTaxStatusResponseFromJSON)(jsonValue); })];
|
|
4660
|
+
}
|
|
4661
|
+
});
|
|
4662
|
+
});
|
|
4663
|
+
};
|
|
4664
|
+
/**
|
|
4665
|
+
*/
|
|
4666
|
+
ProjectsServerApi.prototype.getPaymentSalesTaxStatus = function (requestParameters, initOverrides) {
|
|
4667
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4668
|
+
var response;
|
|
4669
|
+
return __generator(this, function (_a) {
|
|
4670
|
+
switch (_a.label) {
|
|
4671
|
+
case 0: return [4 /*yield*/, this.getPaymentSalesTaxStatusRaw(requestParameters, initOverrides)];
|
|
4672
|
+
case 1:
|
|
4673
|
+
response = _a.sent();
|
|
4674
|
+
return [4 /*yield*/, response.value()];
|
|
4675
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
4676
|
+
}
|
|
4677
|
+
});
|
|
4678
|
+
});
|
|
4679
|
+
};
|
|
4622
4680
|
/**
|
|
4623
4681
|
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
4624
4682
|
*/
|
|
@@ -183,6 +183,7 @@ export declare const AccountActionLogObjectActionTypeType: {
|
|
|
183
183
|
readonly BILLING_PORTAL_OPENED: "BILLING_PORTAL_OPENED";
|
|
184
184
|
readonly BILLING_PAYMENT_METHOD_REJECTED: "BILLING_PAYMENT_METHOD_REJECTED";
|
|
185
185
|
readonly PAYOUTS_DASHBOARD_OPENED: "PAYOUTS_DASHBOARD_OPENED";
|
|
186
|
+
readonly TERMS_OF_SERVICE_ACCEPTED: "TERMS_OF_SERVICE_ACCEPTED";
|
|
186
187
|
readonly BILLING_GRACE_PERIOD_OVERRIDDEN: "BILLING_GRACE_PERIOD_OVERRIDDEN";
|
|
187
188
|
readonly BILLING_COLLECTION_METHOD_DEFAULT_CHANGED: "BILLING_COLLECTION_METHOD_DEFAULT_CHANGED";
|
|
188
189
|
readonly BILLING_NOTIFICATION_EMAIL_ADDED: "BILLING_NOTIFICATION_EMAIL_ADDED";
|
|
@@ -136,6 +136,7 @@ exports.AccountActionLogObjectActionTypeType = {
|
|
|
136
136
|
BILLING_PORTAL_OPENED: 'BILLING_PORTAL_OPENED',
|
|
137
137
|
BILLING_PAYMENT_METHOD_REJECTED: 'BILLING_PAYMENT_METHOD_REJECTED',
|
|
138
138
|
PAYOUTS_DASHBOARD_OPENED: 'PAYOUTS_DASHBOARD_OPENED',
|
|
139
|
+
TERMS_OF_SERVICE_ACCEPTED: 'TERMS_OF_SERVICE_ACCEPTED',
|
|
139
140
|
BILLING_GRACE_PERIOD_OVERRIDDEN: 'BILLING_GRACE_PERIOD_OVERRIDDEN',
|
|
140
141
|
BILLING_COLLECTION_METHOD_DEFAULT_CHANGED: 'BILLING_COLLECTION_METHOD_DEFAULT_CHANGED',
|
|
141
142
|
BILLING_NOTIFICATION_EMAIL_ADDED: 'BILLING_NOTIFICATION_EMAIL_ADDED',
|
|
@@ -174,7 +174,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
174
174
|
readonly INVALID_ENVIRONMENT_VARIABLE_VALUE: "INVALID_ENVIRONMENT_VARIABLE_VALUE";
|
|
175
175
|
readonly TOO_MANY_ENVIRONMENT_VARIABLES: "TOO_MANY_ENVIRONMENT_VARIABLES";
|
|
176
176
|
readonly SERVICE_PROXY_CONCURRENCY_LIMITED: "SERVICE_PROXY_CONCURRENCY_LIMITED";
|
|
177
|
-
readonly
|
|
177
|
+
readonly RATE_LIMIT_TARGET_NOT_OVERRIDABLE: "RATE_LIMIT_TARGET_NOT_OVERRIDABLE";
|
|
178
178
|
readonly SANDBOX_MODE_REQUIRED: "SANDBOX_MODE_REQUIRED";
|
|
179
179
|
readonly BILLING_NOT_CONFIGURED: "BILLING_NOT_CONFIGURED";
|
|
180
180
|
readonly COUNTRY_NOT_SUPPORTED: "COUNTRY_NOT_SUPPORTED";
|
|
@@ -272,6 +272,10 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
272
272
|
readonly CHECKOUT_START_TIME_INVALID: "CHECKOUT_START_TIME_INVALID";
|
|
273
273
|
readonly CHECKOUT_END_TIME_INVALID: "CHECKOUT_END_TIME_INVALID";
|
|
274
274
|
readonly CHECKOUT_PREVIEW_RATE_LIMITED: "CHECKOUT_PREVIEW_RATE_LIMITED";
|
|
275
|
+
readonly PRICE_PREVIEW_RATE_LIMITED: "PRICE_PREVIEW_RATE_LIMITED";
|
|
276
|
+
readonly API_RATE_LIMITED: "API_RATE_LIMITED";
|
|
277
|
+
readonly ASSISTANT_RATE_LIMITED: "ASSISTANT_RATE_LIMITED";
|
|
278
|
+
readonly LOG_SEARCH_RATE_LIMITED: "LOG_SEARCH_RATE_LIMITED";
|
|
275
279
|
readonly SUBSCRIPTION_NOT_FOUND: "SUBSCRIPTION_NOT_FOUND";
|
|
276
280
|
readonly SUBSCRIPTION_NOT_ACTIVE: "SUBSCRIPTION_NOT_ACTIVE";
|
|
277
281
|
readonly SUBSCRIPTION_CHARGE_IN_PROGRESS: "SUBSCRIPTION_CHARGE_IN_PROGRESS";
|
|
@@ -159,7 +159,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
159
159
|
INVALID_ENVIRONMENT_VARIABLE_VALUE: 'INVALID_ENVIRONMENT_VARIABLE_VALUE',
|
|
160
160
|
TOO_MANY_ENVIRONMENT_VARIABLES: 'TOO_MANY_ENVIRONMENT_VARIABLES',
|
|
161
161
|
SERVICE_PROXY_CONCURRENCY_LIMITED: 'SERVICE_PROXY_CONCURRENCY_LIMITED',
|
|
162
|
-
|
|
162
|
+
RATE_LIMIT_TARGET_NOT_OVERRIDABLE: 'RATE_LIMIT_TARGET_NOT_OVERRIDABLE',
|
|
163
163
|
SANDBOX_MODE_REQUIRED: 'SANDBOX_MODE_REQUIRED',
|
|
164
164
|
BILLING_NOT_CONFIGURED: 'BILLING_NOT_CONFIGURED',
|
|
165
165
|
COUNTRY_NOT_SUPPORTED: 'COUNTRY_NOT_SUPPORTED',
|
|
@@ -257,6 +257,10 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
257
257
|
CHECKOUT_START_TIME_INVALID: 'CHECKOUT_START_TIME_INVALID',
|
|
258
258
|
CHECKOUT_END_TIME_INVALID: 'CHECKOUT_END_TIME_INVALID',
|
|
259
259
|
CHECKOUT_PREVIEW_RATE_LIMITED: 'CHECKOUT_PREVIEW_RATE_LIMITED',
|
|
260
|
+
PRICE_PREVIEW_RATE_LIMITED: 'PRICE_PREVIEW_RATE_LIMITED',
|
|
261
|
+
API_RATE_LIMITED: 'API_RATE_LIMITED',
|
|
262
|
+
ASSISTANT_RATE_LIMITED: 'ASSISTANT_RATE_LIMITED',
|
|
263
|
+
LOG_SEARCH_RATE_LIMITED: 'LOG_SEARCH_RATE_LIMITED',
|
|
260
264
|
SUBSCRIPTION_NOT_FOUND: 'SUBSCRIPTION_NOT_FOUND',
|
|
261
265
|
SUBSCRIPTION_NOT_ACTIVE: 'SUBSCRIPTION_NOT_ACTIVE',
|
|
262
266
|
SUBSCRIPTION_CHARGE_IN_PROGRESS: 'SUBSCRIPTION_CHARGE_IN_PROGRESS',
|
|
@@ -0,0 +1,32 @@
|
|
|
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 GetPaymentSalesTaxStatusResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPaymentSalesTaxStatusResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof GetPaymentSalesTaxStatusResponse
|
|
22
|
+
*/
|
|
23
|
+
collectsSalesTax: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetPaymentSalesTaxStatusResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetPaymentSalesTaxStatusResponse(value: object): value is GetPaymentSalesTaxStatusResponse;
|
|
29
|
+
export declare function GetPaymentSalesTaxStatusResponseFromJSON(json: any): GetPaymentSalesTaxStatusResponse;
|
|
30
|
+
export declare function GetPaymentSalesTaxStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPaymentSalesTaxStatusResponse;
|
|
31
|
+
export declare function GetPaymentSalesTaxStatusResponseToJSON(json: any): GetPaymentSalesTaxStatusResponse;
|
|
32
|
+
export declare function GetPaymentSalesTaxStatusResponseToJSONTyped(value?: GetPaymentSalesTaxStatusResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfGetPaymentSalesTaxStatusResponse = instanceOfGetPaymentSalesTaxStatusResponse;
|
|
17
|
+
exports.GetPaymentSalesTaxStatusResponseFromJSON = GetPaymentSalesTaxStatusResponseFromJSON;
|
|
18
|
+
exports.GetPaymentSalesTaxStatusResponseFromJSONTyped = GetPaymentSalesTaxStatusResponseFromJSONTyped;
|
|
19
|
+
exports.GetPaymentSalesTaxStatusResponseToJSON = GetPaymentSalesTaxStatusResponseToJSON;
|
|
20
|
+
exports.GetPaymentSalesTaxStatusResponseToJSONTyped = GetPaymentSalesTaxStatusResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPaymentSalesTaxStatusResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPaymentSalesTaxStatusResponse(value) {
|
|
25
|
+
if (!('collectsSalesTax' in value) || value['collectsSalesTax'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetPaymentSalesTaxStatusResponseFromJSON(json) {
|
|
30
|
+
return GetPaymentSalesTaxStatusResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetPaymentSalesTaxStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'collectsSalesTax': json['collectsSalesTax'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetPaymentSalesTaxStatusResponseToJSON(json) {
|
|
41
|
+
return GetPaymentSalesTaxStatusResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetPaymentSalesTaxStatusResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'collectsSalesTax': value['collectsSalesTax'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TaxCalculationStatus } from './TaxCalculationStatus';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -75,6 +76,12 @@ export interface PaymentFilter {
|
|
|
75
76
|
* @memberof PaymentFilter
|
|
76
77
|
*/
|
|
77
78
|
subscription?: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<TaxCalculationStatus>}
|
|
82
|
+
* @memberof PaymentFilter
|
|
83
|
+
*/
|
|
84
|
+
taxCalculationStatuses?: Array<TaxCalculationStatus> | null;
|
|
78
85
|
/**
|
|
79
86
|
*
|
|
80
87
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ exports.PaymentFilterFromJSON = PaymentFilterFromJSON;
|
|
|
19
19
|
exports.PaymentFilterFromJSONTyped = PaymentFilterFromJSONTyped;
|
|
20
20
|
exports.PaymentFilterToJSON = PaymentFilterToJSON;
|
|
21
21
|
exports.PaymentFilterToJSONTyped = PaymentFilterToJSONTyped;
|
|
22
|
+
var TaxCalculationStatus_1 = require("./TaxCalculationStatus");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -75,6 +76,7 @@ function PaymentFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
76
|
'ids': json['ids'] == null ? undefined : json['ids'],
|
|
76
77
|
'notIds': json['notIds'] == null ? undefined : json['notIds'],
|
|
77
78
|
'subscription': json['subscription'] == null ? undefined : json['subscription'],
|
|
79
|
+
'taxCalculationStatuses': json['taxCalculationStatuses'] == null ? undefined : (json['taxCalculationStatuses'].map(TaxCalculationStatus_1.TaxCalculationStatusFromJSON)),
|
|
78
80
|
'lineItemDescription': json['lineItemDescription'] == null ? undefined : json['lineItemDescription'],
|
|
79
81
|
'lineItemDescriptions': json['lineItemDescriptions'] == null ? undefined : json['lineItemDescriptions'],
|
|
80
82
|
'notLineItemDescriptions': json['notLineItemDescriptions'] == null ? undefined : json['notLineItemDescriptions'],
|
|
@@ -102,6 +104,7 @@ function PaymentFilterToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
104
|
'ids': value['ids'],
|
|
103
105
|
'notIds': value['notIds'],
|
|
104
106
|
'subscription': value['subscription'],
|
|
107
|
+
'taxCalculationStatuses': value['taxCalculationStatuses'] == null ? undefined : (value['taxCalculationStatuses'].map(TaxCalculationStatus_1.TaxCalculationStatusToJSON)),
|
|
105
108
|
'lineItemDescription': value['lineItemDescription'],
|
|
106
109
|
'lineItemDescriptions': value['lineItemDescriptions'],
|
|
107
110
|
'notLineItemDescriptions': value['notLineItemDescriptions'],
|
|
@@ -63,6 +63,18 @@ export interface PaymentObject {
|
|
|
63
63
|
* @memberof PaymentObject
|
|
64
64
|
*/
|
|
65
65
|
taxCalculationStatus?: TaxCalculationStatus | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PaymentObject
|
|
70
|
+
*/
|
|
71
|
+
taxCountry?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PaymentObject
|
|
76
|
+
*/
|
|
77
|
+
taxState?: string | null;
|
|
66
78
|
/**
|
|
67
79
|
*
|
|
68
80
|
* @type {number}
|
|
@@ -86,6 +86,8 @@ function PaymentObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
86
|
'subtotalCents': json['subtotalCents'],
|
|
87
87
|
'taxCents': json['taxCents'] == null ? undefined : json['taxCents'],
|
|
88
88
|
'taxCalculationStatus': json['taxCalculationStatus'] == null ? undefined : (0, TaxCalculationStatus_1.TaxCalculationStatusFromJSON)(json['taxCalculationStatus']),
|
|
89
|
+
'taxCountry': json['taxCountry'] == null ? undefined : json['taxCountry'],
|
|
90
|
+
'taxState': json['taxState'] == null ? undefined : json['taxState'],
|
|
89
91
|
'amountCents': json['amountCents'],
|
|
90
92
|
'currency': json['currency'],
|
|
91
93
|
'description': json['description'] == null ? undefined : json['description'],
|
|
@@ -129,6 +131,8 @@ function PaymentObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
131
|
'subtotalCents': value['subtotalCents'],
|
|
130
132
|
'taxCents': value['taxCents'],
|
|
131
133
|
'taxCalculationStatus': (0, TaxCalculationStatus_1.TaxCalculationStatusToJSON)(value['taxCalculationStatus']),
|
|
134
|
+
'taxCountry': value['taxCountry'],
|
|
135
|
+
'taxState': value['taxState'],
|
|
132
136
|
'amountCents': value['amountCents'],
|
|
133
137
|
'currency': value['currency'],
|
|
134
138
|
'description': value['description'],
|
|
@@ -29,6 +29,12 @@ export interface SendUserEmailFromTemplateRequest {
|
|
|
29
29
|
templateParams?: {
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SendUserEmailFromTemplateRequest
|
|
36
|
+
*/
|
|
37
|
+
senderName?: string | null;
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* Check if a given object implements the SendUserEmailFromTemplateRequest interface.
|
|
@@ -36,6 +36,7 @@ function SendUserEmailFromTemplateRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
36
36
|
return {
|
|
37
37
|
'templateName': json['templateName'],
|
|
38
38
|
'templateParams': json['templateParams'] == null ? undefined : json['templateParams'],
|
|
39
|
+
'senderName': json['senderName'] == null ? undefined : json['senderName'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function SendUserEmailFromTemplateRequestToJSON(json) {
|
|
@@ -49,5 +50,6 @@ function SendUserEmailFromTemplateRequestToJSONTyped(value, ignoreDiscriminator)
|
|
|
49
50
|
return {
|
|
50
51
|
'templateName': value['templateName'],
|
|
51
52
|
'templateParams': value['templateParams'],
|
|
53
|
+
'senderName': value['senderName'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -33,6 +33,12 @@ export interface SendUserEmailRequest {
|
|
|
33
33
|
* @memberof SendUserEmailRequest
|
|
34
34
|
*/
|
|
35
35
|
htmlBody?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SendUserEmailRequest
|
|
40
|
+
*/
|
|
41
|
+
senderName?: string | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the SendUserEmailRequest interface.
|
|
@@ -37,6 +37,7 @@ function SendUserEmailRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'subject': json['subject'],
|
|
38
38
|
'body': json['body'] == null ? undefined : json['body'],
|
|
39
39
|
'htmlBody': json['htmlBody'] == null ? undefined : json['htmlBody'],
|
|
40
|
+
'senderName': json['senderName'] == null ? undefined : json['senderName'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
function SendUserEmailRequestToJSON(json) {
|
|
@@ -51,5 +52,6 @@ function SendUserEmailRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
52
|
'subject': value['subject'],
|
|
52
53
|
'body': value['body'],
|
|
53
54
|
'htmlBody': value['htmlBody'],
|
|
55
|
+
'senderName': value['senderName'],
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -96,6 +96,7 @@ export * from './GetBuildArtifactResponse';
|
|
|
96
96
|
export * from './GetContentDownloadLinkResponse';
|
|
97
97
|
export * from './GetManagedDatabaseBackupResponse';
|
|
98
98
|
export * from './GetManagedDatabaseBackupSourceResponse';
|
|
99
|
+
export * from './GetPaymentSalesTaxStatusResponse';
|
|
99
100
|
export * from './GetRequestBodyDownloadLinkResponse';
|
|
100
101
|
export * from './GetServiceBlockedRequestMetricsResponse';
|
|
101
102
|
export * from './GetServiceCodeSourceStatusResponse';
|
|
@@ -114,6 +114,7 @@ __exportStar(require("./GetBuildArtifactResponse"), exports);
|
|
|
114
114
|
__exportStar(require("./GetContentDownloadLinkResponse"), exports);
|
|
115
115
|
__exportStar(require("./GetManagedDatabaseBackupResponse"), exports);
|
|
116
116
|
__exportStar(require("./GetManagedDatabaseBackupSourceResponse"), exports);
|
|
117
|
+
__exportStar(require("./GetPaymentSalesTaxStatusResponse"), exports);
|
|
117
118
|
__exportStar(require("./GetRequestBodyDownloadLinkResponse"), exports);
|
|
118
119
|
__exportStar(require("./GetServiceBlockedRequestMetricsResponse"), exports);
|
|
119
120
|
__exportStar(require("./GetServiceCodeSourceStatusResponse"), exports);
|