@forteplatforms/sdk 1.0.396 → 1.0.416
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 +36 -2
- package/dist/generated/apis/ProjectsServerApi.js +139 -1
- package/dist/generated/models/AccountActionLogObject.d.ts +1 -0
- package/dist/generated/models/AccountActionLogObject.js +1 -0
- package/dist/generated/models/CreatePaymentTriggerInvocationRequest.d.ts +38 -0
- package/dist/generated/models/CreatePaymentTriggerInvocationRequest.js +53 -0
- package/dist/generated/models/CreatePaymentTriggerInvocationResponse.d.ts +44 -0
- package/dist/generated/models/CreatePaymentTriggerInvocationResponse.js +57 -0
- package/dist/generated/models/ForteApiException.d.ts +3 -0
- package/dist/generated/models/ForteApiException.js +3 -0
- package/dist/generated/models/InternalSource.d.ts +6 -0
- package/dist/generated/models/InternalSource.js +2 -0
- package/dist/generated/models/PaginatedResponsePaymentTriggerInvocation.d.ts +45 -0
- package/dist/generated/models/PaginatedResponsePaymentTriggerInvocation.js +58 -0
- package/dist/generated/models/PaymentTriggerInvocation.d.ts +57 -0
- package/dist/generated/models/PaymentTriggerInvocation.js +68 -0
- package/dist/generated/models/UserObject.d.ts +4 -4
- package/dist/generated/models/UserObject.js +2 -2
- package/dist/generated/models/index.d.ts +4 -0
- package/dist/generated/models/index.js +4 -0
- package/package.json +1 -1
|
@@ -35,6 +35,8 @@ import { type CreatePaymentPreviewRequest } from '../models/CreatePaymentPreview
|
|
|
35
35
|
import { type CreatePaymentPreviewResponse } from '../models/CreatePaymentPreviewResponse';
|
|
36
36
|
import { type CreatePaymentRequest } from '../models/CreatePaymentRequest';
|
|
37
37
|
import { type CreatePaymentResponse } from '../models/CreatePaymentResponse';
|
|
38
|
+
import { type CreatePaymentTriggerInvocationRequest } from '../models/CreatePaymentTriggerInvocationRequest';
|
|
39
|
+
import { type CreatePaymentTriggerInvocationResponse } from '../models/CreatePaymentTriggerInvocationResponse';
|
|
38
40
|
import { type CreatePaymentTriggerRequest } from '../models/CreatePaymentTriggerRequest';
|
|
39
41
|
import { type CreateProjectApiKeyRequest } from '../models/CreateProjectApiKeyRequest';
|
|
40
42
|
import { type CreateProjectApiKeyResponse } from '../models/CreateProjectApiKeyResponse';
|
|
@@ -65,6 +67,7 @@ import { type PaginatedResponseAccountActionLogObject } from '../models/Paginate
|
|
|
65
67
|
import { type PaginatedResponseActionInvocationObject } from '../models/PaginatedResponseActionInvocationObject';
|
|
66
68
|
import { type PaginatedResponseLogLineObject } from '../models/PaginatedResponseLogLineObject';
|
|
67
69
|
import { type PaginatedResponsePaymentObject } from '../models/PaginatedResponsePaymentObject';
|
|
70
|
+
import { type PaginatedResponsePaymentTriggerInvocation } from '../models/PaginatedResponsePaymentTriggerInvocation';
|
|
68
71
|
import { type PaginatedResponseRequestLogSummary } from '../models/PaginatedResponseRequestLogSummary';
|
|
69
72
|
import { type PaginatedResponseServiceBuildRequestObject } from '../models/PaginatedResponseServiceBuildRequestObject';
|
|
70
73
|
import { type PaginatedResponseUserActionLogObject } from '../models/PaginatedResponseUserActionLogObject';
|
|
@@ -75,6 +78,7 @@ import { type PaymentMethodObject } from '../models/PaymentMethodObject';
|
|
|
75
78
|
import { type PaymentObject } from '../models/PaymentObject';
|
|
76
79
|
import { type PaymentSearchRequest } from '../models/PaymentSearchRequest';
|
|
77
80
|
import { type PaymentTriggerConfig } from '../models/PaymentTriggerConfig';
|
|
81
|
+
import { type PaymentTriggerInvocation } from '../models/PaymentTriggerInvocation';
|
|
78
82
|
import { type ProjectObject } from '../models/ProjectObject';
|
|
79
83
|
import { type PutSubscriptionItemsRequest } from '../models/PutSubscriptionItemsRequest';
|
|
80
84
|
import { type RequestLogObject } from '../models/RequestLogObject';
|
|
@@ -218,6 +222,11 @@ export interface CreatePaymentTriggerOperationRequest {
|
|
|
218
222
|
projectId: string;
|
|
219
223
|
createPaymentTriggerRequest: CreatePaymentTriggerRequest;
|
|
220
224
|
}
|
|
225
|
+
export interface CreatePaymentTriggerInvocationOperationRequest {
|
|
226
|
+
projectId: string;
|
|
227
|
+
triggerId: string;
|
|
228
|
+
createPaymentTriggerInvocationRequest: CreatePaymentTriggerInvocationRequest;
|
|
229
|
+
}
|
|
221
230
|
export interface CreateProjectRequest {
|
|
222
231
|
projectName: string;
|
|
223
232
|
sandboxMode?: boolean;
|
|
@@ -359,6 +368,11 @@ export interface GetPaymentAnalyticsRequest {
|
|
|
359
368
|
topN?: number;
|
|
360
369
|
granularity?: GetPaymentAnalyticsGranularityType;
|
|
361
370
|
}
|
|
371
|
+
export interface GetPaymentTriggerInvocationRequest {
|
|
372
|
+
projectId: string;
|
|
373
|
+
triggerId: string;
|
|
374
|
+
invocationId: string;
|
|
375
|
+
}
|
|
362
376
|
export interface GetProjectRequest {
|
|
363
377
|
projectId: string;
|
|
364
378
|
}
|
|
@@ -1091,6 +1105,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1091
1105
|
/**
|
|
1092
1106
|
*/
|
|
1093
1107
|
createPaymentTrigger(requestParameters: CreatePaymentTriggerOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentTriggerConfig>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Creates request options for createPaymentTriggerInvocation without sending the request
|
|
1110
|
+
*/
|
|
1111
|
+
createPaymentTriggerInvocationRequestOpts(requestParameters: CreatePaymentTriggerInvocationOperationRequest): Promise<runtime.RequestOpts>;
|
|
1112
|
+
/**
|
|
1113
|
+
*/
|
|
1114
|
+
createPaymentTriggerInvocationRaw(requestParameters: CreatePaymentTriggerInvocationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatePaymentTriggerInvocationResponse>>;
|
|
1115
|
+
/**
|
|
1116
|
+
*/
|
|
1117
|
+
createPaymentTriggerInvocation(requestParameters: CreatePaymentTriggerInvocationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatePaymentTriggerInvocationResponse>;
|
|
1094
1118
|
/**
|
|
1095
1119
|
* Creates request options for createProject without sending the request
|
|
1096
1120
|
*/
|
|
@@ -1401,6 +1425,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1401
1425
|
/**
|
|
1402
1426
|
*/
|
|
1403
1427
|
getPaymentAnalytics(requestParameters: GetPaymentAnalyticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAnalyticsResponse>;
|
|
1428
|
+
/**
|
|
1429
|
+
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
1430
|
+
*/
|
|
1431
|
+
getPaymentTriggerInvocationRequestOpts(requestParameters: GetPaymentTriggerInvocationRequest): Promise<runtime.RequestOpts>;
|
|
1432
|
+
/**
|
|
1433
|
+
*/
|
|
1434
|
+
getPaymentTriggerInvocationRaw(requestParameters: GetPaymentTriggerInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentTriggerInvocation>>;
|
|
1435
|
+
/**
|
|
1436
|
+
*/
|
|
1437
|
+
getPaymentTriggerInvocation(requestParameters: GetPaymentTriggerInvocationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentTriggerInvocation>;
|
|
1404
1438
|
/**
|
|
1405
1439
|
* Creates request options for getProject without sending the request
|
|
1406
1440
|
*/
|
|
@@ -1657,10 +1691,10 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
|
|
|
1657
1691
|
listPaymentTriggerInvocationsRequestOpts(requestParameters: ListPaymentTriggerInvocationsRequest): Promise<runtime.RequestOpts>;
|
|
1658
1692
|
/**
|
|
1659
1693
|
*/
|
|
1660
|
-
listPaymentTriggerInvocationsRaw(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1694
|
+
listPaymentTriggerInvocationsRaw(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponsePaymentTriggerInvocation>>;
|
|
1661
1695
|
/**
|
|
1662
1696
|
*/
|
|
1663
|
-
listPaymentTriggerInvocations(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1697
|
+
listPaymentTriggerInvocations(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePaymentTriggerInvocation>;
|
|
1664
1698
|
/**
|
|
1665
1699
|
* Creates request options for listPaymentTriggers without sending the request
|
|
1666
1700
|
*/
|
|
@@ -91,6 +91,8 @@ var CreatePaymentPreviewRequest_1 = require("../models/CreatePaymentPreviewReque
|
|
|
91
91
|
var CreatePaymentPreviewResponse_1 = require("../models/CreatePaymentPreviewResponse");
|
|
92
92
|
var CreatePaymentRequest_1 = require("../models/CreatePaymentRequest");
|
|
93
93
|
var CreatePaymentResponse_1 = require("../models/CreatePaymentResponse");
|
|
94
|
+
var CreatePaymentTriggerInvocationRequest_1 = require("../models/CreatePaymentTriggerInvocationRequest");
|
|
95
|
+
var CreatePaymentTriggerInvocationResponse_1 = require("../models/CreatePaymentTriggerInvocationResponse");
|
|
94
96
|
var CreatePaymentTriggerRequest_1 = require("../models/CreatePaymentTriggerRequest");
|
|
95
97
|
var CreateProjectApiKeyRequest_1 = require("../models/CreateProjectApiKeyRequest");
|
|
96
98
|
var CreateProjectApiKeyResponse_1 = require("../models/CreateProjectApiKeyResponse");
|
|
@@ -121,6 +123,7 @@ var PaginatedResponseAccountActionLogObject_1 = require("../models/PaginatedResp
|
|
|
121
123
|
var PaginatedResponseActionInvocationObject_1 = require("../models/PaginatedResponseActionInvocationObject");
|
|
122
124
|
var PaginatedResponseLogLineObject_1 = require("../models/PaginatedResponseLogLineObject");
|
|
123
125
|
var PaginatedResponsePaymentObject_1 = require("../models/PaginatedResponsePaymentObject");
|
|
126
|
+
var PaginatedResponsePaymentTriggerInvocation_1 = require("../models/PaginatedResponsePaymentTriggerInvocation");
|
|
124
127
|
var PaginatedResponseRequestLogSummary_1 = require("../models/PaginatedResponseRequestLogSummary");
|
|
125
128
|
var PaginatedResponseServiceBuildRequestObject_1 = require("../models/PaginatedResponseServiceBuildRequestObject");
|
|
126
129
|
var PaginatedResponseUserActionLogObject_1 = require("../models/PaginatedResponseUserActionLogObject");
|
|
@@ -131,6 +134,7 @@ var PaymentMethodObject_1 = require("../models/PaymentMethodObject");
|
|
|
131
134
|
var PaymentObject_1 = require("../models/PaymentObject");
|
|
132
135
|
var PaymentSearchRequest_1 = require("../models/PaymentSearchRequest");
|
|
133
136
|
var PaymentTriggerConfig_1 = require("../models/PaymentTriggerConfig");
|
|
137
|
+
var PaymentTriggerInvocation_1 = require("../models/PaymentTriggerInvocation");
|
|
134
138
|
var ProjectObject_1 = require("../models/ProjectObject");
|
|
135
139
|
var PutSubscriptionItemsRequest_1 = require("../models/PutSubscriptionItemsRequest");
|
|
136
140
|
var RequestLogObject_1 = require("../models/RequestLogObject");
|
|
@@ -1578,6 +1582,75 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
1578
1582
|
});
|
|
1579
1583
|
});
|
|
1580
1584
|
};
|
|
1585
|
+
/**
|
|
1586
|
+
* Creates request options for createPaymentTriggerInvocation without sending the request
|
|
1587
|
+
*/
|
|
1588
|
+
ProjectsServerApi.prototype.createPaymentTriggerInvocationRequestOpts = function (requestParameters) {
|
|
1589
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1590
|
+
var queryParameters, headerParameters, urlPath;
|
|
1591
|
+
return __generator(this, function (_a) {
|
|
1592
|
+
if (requestParameters['projectId'] == null) {
|
|
1593
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling createPaymentTriggerInvocation().');
|
|
1594
|
+
}
|
|
1595
|
+
if (requestParameters['triggerId'] == null) {
|
|
1596
|
+
throw new runtime.RequiredError('triggerId', 'Required parameter "triggerId" was null or undefined when calling createPaymentTriggerInvocation().');
|
|
1597
|
+
}
|
|
1598
|
+
if (requestParameters['createPaymentTriggerInvocationRequest'] == null) {
|
|
1599
|
+
throw new runtime.RequiredError('createPaymentTriggerInvocationRequest', 'Required parameter "createPaymentTriggerInvocationRequest" was null or undefined when calling createPaymentTriggerInvocation().');
|
|
1600
|
+
}
|
|
1601
|
+
queryParameters = {};
|
|
1602
|
+
headerParameters = {};
|
|
1603
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1604
|
+
if (headerParameters['Idempotency-Key'] == null) {
|
|
1605
|
+
headerParameters['Idempotency-Key'] = forteIdempotencyKey();
|
|
1606
|
+
}
|
|
1607
|
+
urlPath = "/api/v1/projects/{projectId}/payment-triggers/{triggerId}/invocations";
|
|
1608
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
1609
|
+
urlPath = urlPath.replace('{triggerId}', encodeURIComponent(String(requestParameters['triggerId'])));
|
|
1610
|
+
return [2 /*return*/, {
|
|
1611
|
+
path: urlPath,
|
|
1612
|
+
method: 'POST',
|
|
1613
|
+
headers: headerParameters,
|
|
1614
|
+
query: queryParameters,
|
|
1615
|
+
body: (0, CreatePaymentTriggerInvocationRequest_1.CreatePaymentTriggerInvocationRequestToJSON)(requestParameters['createPaymentTriggerInvocationRequest']),
|
|
1616
|
+
}];
|
|
1617
|
+
});
|
|
1618
|
+
});
|
|
1619
|
+
};
|
|
1620
|
+
/**
|
|
1621
|
+
*/
|
|
1622
|
+
ProjectsServerApi.prototype.createPaymentTriggerInvocationRaw = function (requestParameters, initOverrides) {
|
|
1623
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1624
|
+
var requestOptions, response;
|
|
1625
|
+
return __generator(this, function (_a) {
|
|
1626
|
+
switch (_a.label) {
|
|
1627
|
+
case 0: return [4 /*yield*/, this.createPaymentTriggerInvocationRequestOpts(requestParameters)];
|
|
1628
|
+
case 1:
|
|
1629
|
+
requestOptions = _a.sent();
|
|
1630
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1631
|
+
case 2:
|
|
1632
|
+
response = _a.sent();
|
|
1633
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, CreatePaymentTriggerInvocationResponse_1.CreatePaymentTriggerInvocationResponseFromJSON)(jsonValue); })];
|
|
1634
|
+
}
|
|
1635
|
+
});
|
|
1636
|
+
});
|
|
1637
|
+
};
|
|
1638
|
+
/**
|
|
1639
|
+
*/
|
|
1640
|
+
ProjectsServerApi.prototype.createPaymentTriggerInvocation = function (requestParameters, initOverrides) {
|
|
1641
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1642
|
+
var response;
|
|
1643
|
+
return __generator(this, function (_a) {
|
|
1644
|
+
switch (_a.label) {
|
|
1645
|
+
case 0: return [4 /*yield*/, this.createPaymentTriggerInvocationRaw(requestParameters, initOverrides)];
|
|
1646
|
+
case 1:
|
|
1647
|
+
response = _a.sent();
|
|
1648
|
+
return [4 /*yield*/, response.value()];
|
|
1649
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1650
|
+
}
|
|
1651
|
+
});
|
|
1652
|
+
});
|
|
1653
|
+
};
|
|
1581
1654
|
/**
|
|
1582
1655
|
* Creates request options for createProject without sending the request
|
|
1583
1656
|
*/
|
|
@@ -3527,6 +3600,71 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
3527
3600
|
});
|
|
3528
3601
|
});
|
|
3529
3602
|
};
|
|
3603
|
+
/**
|
|
3604
|
+
* Creates request options for getPaymentTriggerInvocation without sending the request
|
|
3605
|
+
*/
|
|
3606
|
+
ProjectsServerApi.prototype.getPaymentTriggerInvocationRequestOpts = function (requestParameters) {
|
|
3607
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3608
|
+
var queryParameters, headerParameters, urlPath;
|
|
3609
|
+
return __generator(this, function (_a) {
|
|
3610
|
+
if (requestParameters['projectId'] == null) {
|
|
3611
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling getPaymentTriggerInvocation().');
|
|
3612
|
+
}
|
|
3613
|
+
if (requestParameters['triggerId'] == null) {
|
|
3614
|
+
throw new runtime.RequiredError('triggerId', 'Required parameter "triggerId" was null or undefined when calling getPaymentTriggerInvocation().');
|
|
3615
|
+
}
|
|
3616
|
+
if (requestParameters['invocationId'] == null) {
|
|
3617
|
+
throw new runtime.RequiredError('invocationId', 'Required parameter "invocationId" was null or undefined when calling getPaymentTriggerInvocation().');
|
|
3618
|
+
}
|
|
3619
|
+
queryParameters = {};
|
|
3620
|
+
headerParameters = {};
|
|
3621
|
+
urlPath = "/api/v1/projects/{projectId}/payment-triggers/{triggerId}/invocations/{invocationId}";
|
|
3622
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
3623
|
+
urlPath = urlPath.replace('{triggerId}', encodeURIComponent(String(requestParameters['triggerId'])));
|
|
3624
|
+
urlPath = urlPath.replace('{invocationId}', encodeURIComponent(String(requestParameters['invocationId'])));
|
|
3625
|
+
return [2 /*return*/, {
|
|
3626
|
+
path: urlPath,
|
|
3627
|
+
method: 'GET',
|
|
3628
|
+
headers: headerParameters,
|
|
3629
|
+
query: queryParameters,
|
|
3630
|
+
}];
|
|
3631
|
+
});
|
|
3632
|
+
});
|
|
3633
|
+
};
|
|
3634
|
+
/**
|
|
3635
|
+
*/
|
|
3636
|
+
ProjectsServerApi.prototype.getPaymentTriggerInvocationRaw = function (requestParameters, initOverrides) {
|
|
3637
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3638
|
+
var requestOptions, response;
|
|
3639
|
+
return __generator(this, function (_a) {
|
|
3640
|
+
switch (_a.label) {
|
|
3641
|
+
case 0: return [4 /*yield*/, this.getPaymentTriggerInvocationRequestOpts(requestParameters)];
|
|
3642
|
+
case 1:
|
|
3643
|
+
requestOptions = _a.sent();
|
|
3644
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
3645
|
+
case 2:
|
|
3646
|
+
response = _a.sent();
|
|
3647
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaymentTriggerInvocation_1.PaymentTriggerInvocationFromJSON)(jsonValue); })];
|
|
3648
|
+
}
|
|
3649
|
+
});
|
|
3650
|
+
});
|
|
3651
|
+
};
|
|
3652
|
+
/**
|
|
3653
|
+
*/
|
|
3654
|
+
ProjectsServerApi.prototype.getPaymentTriggerInvocation = function (requestParameters, initOverrides) {
|
|
3655
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
3656
|
+
var response;
|
|
3657
|
+
return __generator(this, function (_a) {
|
|
3658
|
+
switch (_a.label) {
|
|
3659
|
+
case 0: return [4 /*yield*/, this.getPaymentTriggerInvocationRaw(requestParameters, initOverrides)];
|
|
3660
|
+
case 1:
|
|
3661
|
+
response = _a.sent();
|
|
3662
|
+
return [4 /*yield*/, response.value()];
|
|
3663
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
3664
|
+
}
|
|
3665
|
+
});
|
|
3666
|
+
});
|
|
3667
|
+
};
|
|
3530
3668
|
/**
|
|
3531
3669
|
* Creates request options for getProject without sending the request
|
|
3532
3670
|
*/
|
|
@@ -5199,7 +5337,7 @@ var ProjectsServerApi = /** @class */ (function (_super) {
|
|
|
5199
5337
|
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
5200
5338
|
case 2:
|
|
5201
5339
|
response = _a.sent();
|
|
5202
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
5340
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponsePaymentTriggerInvocation_1.PaginatedResponsePaymentTriggerInvocationFromJSON)(jsonValue); })];
|
|
5203
5341
|
}
|
|
5204
5342
|
});
|
|
5205
5343
|
});
|
|
@@ -81,6 +81,7 @@ export declare const AccountActionLogObjectActionTypeType: {
|
|
|
81
81
|
readonly PROJECT_CREATED: "PROJECT_CREATED";
|
|
82
82
|
readonly PROJECT_UPDATED: "PROJECT_UPDATED";
|
|
83
83
|
readonly PROJECT_DELETED: "PROJECT_DELETED";
|
|
84
|
+
readonly PAYMENT_TRIGGER_INVOCATION_REPLAYED: "PAYMENT_TRIGGER_INVOCATION_REPLAYED";
|
|
84
85
|
readonly SERVICE_CREATED: "SERVICE_CREATED";
|
|
85
86
|
readonly SERVICE_UPDATED: "SERVICE_UPDATED";
|
|
86
87
|
readonly SERVICE_DELETED: "SERVICE_DELETED";
|
|
@@ -34,6 +34,7 @@ exports.AccountActionLogObjectActionTypeType = {
|
|
|
34
34
|
PROJECT_CREATED: 'PROJECT_CREATED',
|
|
35
35
|
PROJECT_UPDATED: 'PROJECT_UPDATED',
|
|
36
36
|
PROJECT_DELETED: 'PROJECT_DELETED',
|
|
37
|
+
PAYMENT_TRIGGER_INVOCATION_REPLAYED: 'PAYMENT_TRIGGER_INVOCATION_REPLAYED',
|
|
37
38
|
SERVICE_CREATED: 'SERVICE_CREATED',
|
|
38
39
|
SERVICE_UPDATED: 'SERVICE_UPDATED',
|
|
39
40
|
SERVICE_DELETED: 'SERVICE_DELETED',
|
|
@@ -0,0 +1,38 @@
|
|
|
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 CreatePaymentTriggerInvocationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentTriggerInvocationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePaymentTriggerInvocationRequest
|
|
22
|
+
*/
|
|
23
|
+
replayInvocationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentTriggerInvocationRequest
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreatePaymentTriggerInvocationRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreatePaymentTriggerInvocationRequest(value: object): value is CreatePaymentTriggerInvocationRequest;
|
|
35
|
+
export declare function CreatePaymentTriggerInvocationRequestFromJSON(json: any): CreatePaymentTriggerInvocationRequest;
|
|
36
|
+
export declare function CreatePaymentTriggerInvocationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentTriggerInvocationRequest;
|
|
37
|
+
export declare function CreatePaymentTriggerInvocationRequestToJSON(json: any): CreatePaymentTriggerInvocationRequest;
|
|
38
|
+
export declare function CreatePaymentTriggerInvocationRequestToJSONTyped(value?: CreatePaymentTriggerInvocationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.instanceOfCreatePaymentTriggerInvocationRequest = instanceOfCreatePaymentTriggerInvocationRequest;
|
|
17
|
+
exports.CreatePaymentTriggerInvocationRequestFromJSON = CreatePaymentTriggerInvocationRequestFromJSON;
|
|
18
|
+
exports.CreatePaymentTriggerInvocationRequestFromJSONTyped = CreatePaymentTriggerInvocationRequestFromJSONTyped;
|
|
19
|
+
exports.CreatePaymentTriggerInvocationRequestToJSON = CreatePaymentTriggerInvocationRequestToJSON;
|
|
20
|
+
exports.CreatePaymentTriggerInvocationRequestToJSONTyped = CreatePaymentTriggerInvocationRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreatePaymentTriggerInvocationRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreatePaymentTriggerInvocationRequest(value) {
|
|
25
|
+
if (!('replayInvocationId' in value) || value['replayInvocationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreatePaymentTriggerInvocationRequestFromJSON(json) {
|
|
30
|
+
return CreatePaymentTriggerInvocationRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreatePaymentTriggerInvocationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'replayInvocationId': json['replayInvocationId'],
|
|
38
|
+
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreatePaymentTriggerInvocationRequestToJSON(json) {
|
|
42
|
+
return CreatePaymentTriggerInvocationRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreatePaymentTriggerInvocationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'replayInvocationId': value['replayInvocationId'],
|
|
51
|
+
'requestId': value['requestId'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -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 CreatePaymentTriggerInvocationResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentTriggerInvocationResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePaymentTriggerInvocationResponse
|
|
22
|
+
*/
|
|
23
|
+
invocationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentTriggerInvocationResponse
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreatePaymentTriggerInvocationResponse
|
|
34
|
+
*/
|
|
35
|
+
statusCode: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreatePaymentTriggerInvocationResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCreatePaymentTriggerInvocationResponse(value: object): value is CreatePaymentTriggerInvocationResponse;
|
|
41
|
+
export declare function CreatePaymentTriggerInvocationResponseFromJSON(json: any): CreatePaymentTriggerInvocationResponse;
|
|
42
|
+
export declare function CreatePaymentTriggerInvocationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentTriggerInvocationResponse;
|
|
43
|
+
export declare function CreatePaymentTriggerInvocationResponseToJSON(json: any): CreatePaymentTriggerInvocationResponse;
|
|
44
|
+
export declare function CreatePaymentTriggerInvocationResponseToJSONTyped(value?: CreatePaymentTriggerInvocationResponse | 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.instanceOfCreatePaymentTriggerInvocationResponse = instanceOfCreatePaymentTriggerInvocationResponse;
|
|
17
|
+
exports.CreatePaymentTriggerInvocationResponseFromJSON = CreatePaymentTriggerInvocationResponseFromJSON;
|
|
18
|
+
exports.CreatePaymentTriggerInvocationResponseFromJSONTyped = CreatePaymentTriggerInvocationResponseFromJSONTyped;
|
|
19
|
+
exports.CreatePaymentTriggerInvocationResponseToJSON = CreatePaymentTriggerInvocationResponseToJSON;
|
|
20
|
+
exports.CreatePaymentTriggerInvocationResponseToJSONTyped = CreatePaymentTriggerInvocationResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreatePaymentTriggerInvocationResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreatePaymentTriggerInvocationResponse(value) {
|
|
25
|
+
if (!('invocationId' in value) || value['invocationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreatePaymentTriggerInvocationResponseFromJSON(json) {
|
|
32
|
+
return CreatePaymentTriggerInvocationResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreatePaymentTriggerInvocationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'invocationId': json['invocationId'],
|
|
40
|
+
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
41
|
+
'statusCode': json['statusCode'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function CreatePaymentTriggerInvocationResponseToJSON(json) {
|
|
45
|
+
return CreatePaymentTriggerInvocationResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function CreatePaymentTriggerInvocationResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'invocationId': value['invocationId'],
|
|
54
|
+
'requestId': value['requestId'],
|
|
55
|
+
'statusCode': value['statusCode'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -215,6 +215,8 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
215
215
|
readonly USER_FILTER_INVALID: "USER_FILTER_INVALID";
|
|
216
216
|
readonly PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND: "PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND";
|
|
217
217
|
readonly PAYMENT_TRIGGER_NOT_FOUND: "PAYMENT_TRIGGER_NOT_FOUND";
|
|
218
|
+
readonly PAYMENT_TRIGGER_NOT_ENABLED: "PAYMENT_TRIGGER_NOT_ENABLED";
|
|
219
|
+
readonly PAYMENT_TRIGGER_INVOCATION_NOT_REPLAYABLE: "PAYMENT_TRIGGER_INVOCATION_NOT_REPLAYABLE";
|
|
218
220
|
readonly ACTION_NOT_FOUND: "ACTION_NOT_FOUND";
|
|
219
221
|
readonly ACTION_INVOCATION_NOT_FOUND: "ACTION_INVOCATION_NOT_FOUND";
|
|
220
222
|
readonly ACTION_TARGET_SERVICE_NOT_FOUND: "ACTION_TARGET_SERVICE_NOT_FOUND";
|
|
@@ -329,6 +331,7 @@ export declare const ForteApiExceptionErrorCodeType: {
|
|
|
329
331
|
readonly OPS_SUGGESTION_NOT_FOUND: "OPS_SUGGESTION_NOT_FOUND";
|
|
330
332
|
readonly OPS_SUGGESTION_INVALID_STATUS_TRANSITION: "OPS_SUGGESTION_INVALID_STATUS_TRANSITION";
|
|
331
333
|
readonly ADMIN_SOCIAL_EXCEPTION: "ADMIN_SOCIAL_EXCEPTION";
|
|
334
|
+
readonly ADMIN_CRM_EXCEPTION: "ADMIN_CRM_EXCEPTION";
|
|
332
335
|
readonly ADMIN_SMS_EXCEPTION: "ADMIN_SMS_EXCEPTION";
|
|
333
336
|
readonly IDEMPOTENCY_KEY_INVALID: "IDEMPOTENCY_KEY_INVALID";
|
|
334
337
|
readonly IDEMPOTENCY_KEY_REUSED: "IDEMPOTENCY_KEY_REUSED";
|
|
@@ -200,6 +200,8 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
200
200
|
USER_FILTER_INVALID: 'USER_FILTER_INVALID',
|
|
201
201
|
PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND: 'PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND',
|
|
202
202
|
PAYMENT_TRIGGER_NOT_FOUND: 'PAYMENT_TRIGGER_NOT_FOUND',
|
|
203
|
+
PAYMENT_TRIGGER_NOT_ENABLED: 'PAYMENT_TRIGGER_NOT_ENABLED',
|
|
204
|
+
PAYMENT_TRIGGER_INVOCATION_NOT_REPLAYABLE: 'PAYMENT_TRIGGER_INVOCATION_NOT_REPLAYABLE',
|
|
203
205
|
ACTION_NOT_FOUND: 'ACTION_NOT_FOUND',
|
|
204
206
|
ACTION_INVOCATION_NOT_FOUND: 'ACTION_INVOCATION_NOT_FOUND',
|
|
205
207
|
ACTION_TARGET_SERVICE_NOT_FOUND: 'ACTION_TARGET_SERVICE_NOT_FOUND',
|
|
@@ -314,6 +316,7 @@ exports.ForteApiExceptionErrorCodeType = {
|
|
|
314
316
|
OPS_SUGGESTION_NOT_FOUND: 'OPS_SUGGESTION_NOT_FOUND',
|
|
315
317
|
OPS_SUGGESTION_INVALID_STATUS_TRANSITION: 'OPS_SUGGESTION_INVALID_STATUS_TRANSITION',
|
|
316
318
|
ADMIN_SOCIAL_EXCEPTION: 'ADMIN_SOCIAL_EXCEPTION',
|
|
319
|
+
ADMIN_CRM_EXCEPTION: 'ADMIN_CRM_EXCEPTION',
|
|
317
320
|
ADMIN_SMS_EXCEPTION: 'ADMIN_SMS_EXCEPTION',
|
|
318
321
|
IDEMPOTENCY_KEY_INVALID: 'IDEMPOTENCY_KEY_INVALID',
|
|
319
322
|
IDEMPOTENCY_KEY_REUSED: 'IDEMPOTENCY_KEY_REUSED',
|
|
@@ -47,6 +47,7 @@ function InternalSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'type': json['type'],
|
|
48
48
|
'id': json['id'],
|
|
49
49
|
'subjectId': json['subjectId'] == null ? undefined : json['subjectId'],
|
|
50
|
+
'replay': json['replay'] == null ? undefined : json['replay'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
function InternalSourceToJSON(json) {
|
|
@@ -61,5 +62,6 @@ function InternalSourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
61
62
|
'type': value['type'],
|
|
62
63
|
'id': value['id'],
|
|
63
64
|
'subjectId': value['subjectId'],
|
|
65
|
+
'replay': value['replay'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import type { PaymentTriggerInvocation } from './PaymentTriggerInvocation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponsePaymentTriggerInvocation
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponsePaymentTriggerInvocation {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PaymentTriggerInvocation>}
|
|
22
|
+
* @memberof PaginatedResponsePaymentTriggerInvocation
|
|
23
|
+
*/
|
|
24
|
+
items: Array<PaymentTriggerInvocation>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PaginatedResponsePaymentTriggerInvocation
|
|
29
|
+
*/
|
|
30
|
+
hasNextPage: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaginatedResponsePaymentTriggerInvocation
|
|
35
|
+
*/
|
|
36
|
+
nextPageToken?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PaginatedResponsePaymentTriggerInvocation interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPaginatedResponsePaymentTriggerInvocation(value: object): value is PaginatedResponsePaymentTriggerInvocation;
|
|
42
|
+
export declare function PaginatedResponsePaymentTriggerInvocationFromJSON(json: any): PaginatedResponsePaymentTriggerInvocation;
|
|
43
|
+
export declare function PaginatedResponsePaymentTriggerInvocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponsePaymentTriggerInvocation;
|
|
44
|
+
export declare function PaginatedResponsePaymentTriggerInvocationToJSON(json: any): PaginatedResponsePaymentTriggerInvocation;
|
|
45
|
+
export declare function PaginatedResponsePaymentTriggerInvocationToJSONTyped(value?: PaginatedResponsePaymentTriggerInvocation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfPaginatedResponsePaymentTriggerInvocation = instanceOfPaginatedResponsePaymentTriggerInvocation;
|
|
17
|
+
exports.PaginatedResponsePaymentTriggerInvocationFromJSON = PaginatedResponsePaymentTriggerInvocationFromJSON;
|
|
18
|
+
exports.PaginatedResponsePaymentTriggerInvocationFromJSONTyped = PaginatedResponsePaymentTriggerInvocationFromJSONTyped;
|
|
19
|
+
exports.PaginatedResponsePaymentTriggerInvocationToJSON = PaginatedResponsePaymentTriggerInvocationToJSON;
|
|
20
|
+
exports.PaginatedResponsePaymentTriggerInvocationToJSONTyped = PaginatedResponsePaymentTriggerInvocationToJSONTyped;
|
|
21
|
+
var PaymentTriggerInvocation_1 = require("./PaymentTriggerInvocation");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaginatedResponsePaymentTriggerInvocation interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaginatedResponsePaymentTriggerInvocation(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('hasNextPage' in value) || value['hasNextPage'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function PaginatedResponsePaymentTriggerInvocationFromJSON(json) {
|
|
33
|
+
return PaginatedResponsePaymentTriggerInvocationFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function PaginatedResponsePaymentTriggerInvocationFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'items': (json['items'].map(PaymentTriggerInvocation_1.PaymentTriggerInvocationFromJSON)),
|
|
41
|
+
'hasNextPage': json['hasNextPage'],
|
|
42
|
+
'nextPageToken': json['nextPageToken'] == null ? undefined : json['nextPageToken'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedResponsePaymentTriggerInvocationToJSON(json) {
|
|
46
|
+
return PaginatedResponsePaymentTriggerInvocationToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedResponsePaymentTriggerInvocationToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(PaymentTriggerInvocation_1.PaymentTriggerInvocationToJSON)),
|
|
55
|
+
'hasNextPage': value['hasNextPage'],
|
|
56
|
+
'nextPageToken': value['nextPageToken'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
import type { RequestLogSummary } from './RequestLogSummary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaymentTriggerInvocation
|
|
17
|
+
*/
|
|
18
|
+
export interface PaymentTriggerInvocation {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PaymentTriggerInvocation
|
|
23
|
+
*/
|
|
24
|
+
invocationId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaymentTriggerInvocation
|
|
29
|
+
*/
|
|
30
|
+
triggerId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof PaymentTriggerInvocation
|
|
35
|
+
*/
|
|
36
|
+
lastAttemptAt: Date;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PaymentTriggerInvocation
|
|
41
|
+
*/
|
|
42
|
+
lastStatusCode: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<RequestLogSummary>}
|
|
46
|
+
* @memberof PaymentTriggerInvocation
|
|
47
|
+
*/
|
|
48
|
+
requestLogs: Array<RequestLogSummary>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the PaymentTriggerInvocation interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfPaymentTriggerInvocation(value: object): value is PaymentTriggerInvocation;
|
|
54
|
+
export declare function PaymentTriggerInvocationFromJSON(json: any): PaymentTriggerInvocation;
|
|
55
|
+
export declare function PaymentTriggerInvocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTriggerInvocation;
|
|
56
|
+
export declare function PaymentTriggerInvocationToJSON(json: any): PaymentTriggerInvocation;
|
|
57
|
+
export declare function PaymentTriggerInvocationToJSONTyped(value?: PaymentTriggerInvocation | 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.instanceOfPaymentTriggerInvocation = instanceOfPaymentTriggerInvocation;
|
|
17
|
+
exports.PaymentTriggerInvocationFromJSON = PaymentTriggerInvocationFromJSON;
|
|
18
|
+
exports.PaymentTriggerInvocationFromJSONTyped = PaymentTriggerInvocationFromJSONTyped;
|
|
19
|
+
exports.PaymentTriggerInvocationToJSON = PaymentTriggerInvocationToJSON;
|
|
20
|
+
exports.PaymentTriggerInvocationToJSONTyped = PaymentTriggerInvocationToJSONTyped;
|
|
21
|
+
var RequestLogSummary_1 = require("./RequestLogSummary");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PaymentTriggerInvocation interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPaymentTriggerInvocation(value) {
|
|
26
|
+
if (!('invocationId' in value) || value['invocationId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('triggerId' in value) || value['triggerId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('lastAttemptAt' in value) || value['lastAttemptAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('lastStatusCode' in value) || value['lastStatusCode'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('requestLogs' in value) || value['requestLogs'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function PaymentTriggerInvocationFromJSON(json) {
|
|
39
|
+
return PaymentTriggerInvocationFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function PaymentTriggerInvocationFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'invocationId': json['invocationId'],
|
|
47
|
+
'triggerId': json['triggerId'],
|
|
48
|
+
'lastAttemptAt': (new Date(json['lastAttemptAt'])),
|
|
49
|
+
'lastStatusCode': json['lastStatusCode'],
|
|
50
|
+
'requestLogs': (json['requestLogs'].map(RequestLogSummary_1.RequestLogSummaryFromJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function PaymentTriggerInvocationToJSON(json) {
|
|
54
|
+
return PaymentTriggerInvocationToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function PaymentTriggerInvocationToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'invocationId': value['invocationId'],
|
|
63
|
+
'triggerId': value['triggerId'],
|
|
64
|
+
'lastAttemptAt': value['lastAttemptAt'].toISOString(),
|
|
65
|
+
'lastStatusCode': value['lastStatusCode'],
|
|
66
|
+
'requestLogs': (value['requestLogs'].map(RequestLogSummary_1.RequestLogSummaryToJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -123,16 +123,16 @@ export interface UserObject {
|
|
|
123
123
|
backupCodesGeneratedAt?: Date;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
|
-
* @type {
|
|
126
|
+
* @type {boolean}
|
|
127
127
|
* @memberof UserObject
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
hasPassword?: boolean;
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
|
-
* @type {
|
|
132
|
+
* @type {number}
|
|
133
133
|
* @memberof UserObject
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
remainingBackupCodeCount?: number;
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* @export
|
|
@@ -72,8 +72,8 @@ function UserObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'passwordResetLastRequestedAt': json['passwordResetLastRequestedAt'] == null ? undefined : (new Date(json['passwordResetLastRequestedAt'])),
|
|
73
73
|
'mfaMethods': json['mfaMethods'] == null ? undefined : (json['mfaMethods'].map(MfaMethod_1.MfaMethodFromJSON)),
|
|
74
74
|
'backupCodesGeneratedAt': json['backupCodesGeneratedAt'] == null ? undefined : (new Date(json['backupCodesGeneratedAt'])),
|
|
75
|
-
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
76
75
|
'hasPassword': json['hasPassword'] == null ? undefined : json['hasPassword'],
|
|
76
|
+
'remainingBackupCodeCount': json['remainingBackupCodeCount'] == null ? undefined : json['remainingBackupCodeCount'],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
function UserObjectToJSON(json) {
|
|
@@ -102,7 +102,7 @@ function UserObjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
102
|
'passwordResetLastRequestedAt': value['passwordResetLastRequestedAt'] == null ? value['passwordResetLastRequestedAt'] : value['passwordResetLastRequestedAt'].toISOString(),
|
|
103
103
|
'mfaMethods': value['mfaMethods'] == null ? undefined : (value['mfaMethods'].map(MfaMethod_1.MfaMethodToJSON)),
|
|
104
104
|
'backupCodesGeneratedAt': value['backupCodesGeneratedAt'] == null ? value['backupCodesGeneratedAt'] : value['backupCodesGeneratedAt'].toISOString(),
|
|
105
|
-
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
106
105
|
'hasPassword': value['hasPassword'],
|
|
106
|
+
'remainingBackupCodeCount': value['remainingBackupCodeCount'],
|
|
107
107
|
};
|
|
108
108
|
}
|
|
@@ -41,6 +41,8 @@ export * from './CreatePaymentPreviewRequest';
|
|
|
41
41
|
export * from './CreatePaymentPreviewResponse';
|
|
42
42
|
export * from './CreatePaymentRequest';
|
|
43
43
|
export * from './CreatePaymentResponse';
|
|
44
|
+
export * from './CreatePaymentTriggerInvocationRequest';
|
|
45
|
+
export * from './CreatePaymentTriggerInvocationResponse';
|
|
44
46
|
export * from './CreatePaymentTriggerRequest';
|
|
45
47
|
export * from './CreateProjectApiKeyRequest';
|
|
46
48
|
export * from './CreateProjectApiKeyResponse';
|
|
@@ -112,6 +114,7 @@ export * from './PaginatedResponseActionInvocationObject';
|
|
|
112
114
|
export * from './PaginatedResponseLogLineObject';
|
|
113
115
|
export * from './PaginatedResponseLoginHistoryEntry';
|
|
114
116
|
export * from './PaginatedResponsePaymentObject';
|
|
117
|
+
export * from './PaginatedResponsePaymentTriggerInvocation';
|
|
115
118
|
export * from './PaginatedResponseRequestLogSummary';
|
|
116
119
|
export * from './PaginatedResponseServiceBuildRequestObject';
|
|
117
120
|
export * from './PaginatedResponseUserActionLogObject';
|
|
@@ -129,6 +132,7 @@ export * from './PaymentObject';
|
|
|
129
132
|
export * from './PaymentSearchRequest';
|
|
130
133
|
export * from './PaymentSort';
|
|
131
134
|
export * from './PaymentTriggerConfig';
|
|
135
|
+
export * from './PaymentTriggerInvocation';
|
|
132
136
|
export * from './PendingUserInviteObject';
|
|
133
137
|
export * from './ProductAggregate';
|
|
134
138
|
export * from './ProjectObject';
|
|
@@ -59,6 +59,8 @@ __exportStar(require("./CreatePaymentPreviewRequest"), exports);
|
|
|
59
59
|
__exportStar(require("./CreatePaymentPreviewResponse"), exports);
|
|
60
60
|
__exportStar(require("./CreatePaymentRequest"), exports);
|
|
61
61
|
__exportStar(require("./CreatePaymentResponse"), exports);
|
|
62
|
+
__exportStar(require("./CreatePaymentTriggerInvocationRequest"), exports);
|
|
63
|
+
__exportStar(require("./CreatePaymentTriggerInvocationResponse"), exports);
|
|
62
64
|
__exportStar(require("./CreatePaymentTriggerRequest"), exports);
|
|
63
65
|
__exportStar(require("./CreateProjectApiKeyRequest"), exports);
|
|
64
66
|
__exportStar(require("./CreateProjectApiKeyResponse"), exports);
|
|
@@ -130,6 +132,7 @@ __exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
|
|
|
130
132
|
__exportStar(require("./PaginatedResponseLogLineObject"), exports);
|
|
131
133
|
__exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
|
|
132
134
|
__exportStar(require("./PaginatedResponsePaymentObject"), exports);
|
|
135
|
+
__exportStar(require("./PaginatedResponsePaymentTriggerInvocation"), exports);
|
|
133
136
|
__exportStar(require("./PaginatedResponseRequestLogSummary"), exports);
|
|
134
137
|
__exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
|
|
135
138
|
__exportStar(require("./PaginatedResponseUserActionLogObject"), exports);
|
|
@@ -147,6 +150,7 @@ __exportStar(require("./PaymentObject"), exports);
|
|
|
147
150
|
__exportStar(require("./PaymentSearchRequest"), exports);
|
|
148
151
|
__exportStar(require("./PaymentSort"), exports);
|
|
149
152
|
__exportStar(require("./PaymentTriggerConfig"), exports);
|
|
153
|
+
__exportStar(require("./PaymentTriggerInvocation"), exports);
|
|
150
154
|
__exportStar(require("./PendingUserInviteObject"), exports);
|
|
151
155
|
__exportStar(require("./ProductAggregate"), exports);
|
|
152
156
|
__exportStar(require("./ProjectObject"), exports);
|