@forteplatforms/sdk 1.0.395 → 1.0.398

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.
@@ -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
  }
@@ -493,6 +507,11 @@ export interface ListManagedDatabasesRequest {
493
507
  page?: number;
494
508
  pageSize?: number;
495
509
  }
510
+ export interface ListPaymentTriggerInvocationsRequest {
511
+ projectId: string;
512
+ triggerId: string;
513
+ nextToken?: string;
514
+ }
496
515
  export interface ListPaymentTriggersRequest {
497
516
  projectId: string;
498
517
  }
@@ -1086,6 +1105,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1086
1105
  /**
1087
1106
  */
1088
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>;
1089
1118
  /**
1090
1119
  * Creates request options for createProject without sending the request
1091
1120
  */
@@ -1396,6 +1425,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1396
1425
  /**
1397
1426
  */
1398
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>;
1399
1438
  /**
1400
1439
  * Creates request options for getProject without sending the request
1401
1440
  */
@@ -1646,6 +1685,16 @@ export declare class ProjectsServerApi extends runtime.BaseAPI {
1646
1685
  /**
1647
1686
  */
1648
1687
  listManagedDatabases(requestParameters: ListManagedDatabasesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListManagedDatabasesResponse>;
1688
+ /**
1689
+ * Creates request options for listPaymentTriggerInvocations without sending the request
1690
+ */
1691
+ listPaymentTriggerInvocationsRequestOpts(requestParameters: ListPaymentTriggerInvocationsRequest): Promise<runtime.RequestOpts>;
1692
+ /**
1693
+ */
1694
+ listPaymentTriggerInvocationsRaw(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponsePaymentTriggerInvocation>>;
1695
+ /**
1696
+ */
1697
+ listPaymentTriggerInvocations(requestParameters: ListPaymentTriggerInvocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePaymentTriggerInvocation>;
1649
1698
  /**
1650
1699
  * Creates request options for listPaymentTriggers without sending the request
1651
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
  */
@@ -5156,6 +5294,70 @@ var ProjectsServerApi = /** @class */ (function (_super) {
5156
5294
  });
5157
5295
  });
5158
5296
  };
5297
+ /**
5298
+ * Creates request options for listPaymentTriggerInvocations without sending the request
5299
+ */
5300
+ ProjectsServerApi.prototype.listPaymentTriggerInvocationsRequestOpts = function (requestParameters) {
5301
+ return __awaiter(this, void 0, void 0, function () {
5302
+ var queryParameters, headerParameters, urlPath;
5303
+ return __generator(this, function (_a) {
5304
+ if (requestParameters['projectId'] == null) {
5305
+ throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling listPaymentTriggerInvocations().');
5306
+ }
5307
+ if (requestParameters['triggerId'] == null) {
5308
+ throw new runtime.RequiredError('triggerId', 'Required parameter "triggerId" was null or undefined when calling listPaymentTriggerInvocations().');
5309
+ }
5310
+ queryParameters = {};
5311
+ if (requestParameters['nextToken'] != null) {
5312
+ queryParameters['nextToken'] = requestParameters['nextToken'];
5313
+ }
5314
+ headerParameters = {};
5315
+ urlPath = "/api/v1/projects/{projectId}/payment-triggers/{triggerId}/invocations";
5316
+ urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
5317
+ urlPath = urlPath.replace('{triggerId}', encodeURIComponent(String(requestParameters['triggerId'])));
5318
+ return [2 /*return*/, {
5319
+ path: urlPath,
5320
+ method: 'GET',
5321
+ headers: headerParameters,
5322
+ query: queryParameters,
5323
+ }];
5324
+ });
5325
+ });
5326
+ };
5327
+ /**
5328
+ */
5329
+ ProjectsServerApi.prototype.listPaymentTriggerInvocationsRaw = function (requestParameters, initOverrides) {
5330
+ return __awaiter(this, void 0, void 0, function () {
5331
+ var requestOptions, response;
5332
+ return __generator(this, function (_a) {
5333
+ switch (_a.label) {
5334
+ case 0: return [4 /*yield*/, this.listPaymentTriggerInvocationsRequestOpts(requestParameters)];
5335
+ case 1:
5336
+ requestOptions = _a.sent();
5337
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
5338
+ case 2:
5339
+ response = _a.sent();
5340
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, PaginatedResponsePaymentTriggerInvocation_1.PaginatedResponsePaymentTriggerInvocationFromJSON)(jsonValue); })];
5341
+ }
5342
+ });
5343
+ });
5344
+ };
5345
+ /**
5346
+ */
5347
+ ProjectsServerApi.prototype.listPaymentTriggerInvocations = function (requestParameters, initOverrides) {
5348
+ return __awaiter(this, void 0, void 0, function () {
5349
+ var response;
5350
+ return __generator(this, function (_a) {
5351
+ switch (_a.label) {
5352
+ case 0: return [4 /*yield*/, this.listPaymentTriggerInvocationsRaw(requestParameters, initOverrides)];
5353
+ case 1:
5354
+ response = _a.sent();
5355
+ return [4 /*yield*/, response.value()];
5356
+ case 2: return [2 /*return*/, _a.sent()];
5357
+ }
5358
+ });
5359
+ });
5360
+ };
5159
5361
  /**
5160
5362
  * Creates request options for listPaymentTriggers without sending the request
5161
5363
  */
@@ -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
+ }
@@ -132,6 +132,7 @@ export declare const ForteApiExceptionErrorCodeType: {
132
132
  readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
133
133
  readonly GOOGLE_OAUTH_NOT_CONFIGURED: "GOOGLE_OAUTH_NOT_CONFIGURED";
134
134
  readonly GOOGLE_IDENTITY_ALREADY_LINKED: "GOOGLE_IDENTITY_ALREADY_LINKED";
135
+ readonly INVALID_GOOGLE_CREDENTIAL: "INVALID_GOOGLE_CREDENTIAL";
135
136
  readonly TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: "TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED";
136
137
  readonly TERMS_OF_SERVICE_NOT_ACCEPTED: "TERMS_OF_SERVICE_NOT_ACCEPTED";
137
138
  readonly API_KEY_NOT_FOUND: "API_KEY_NOT_FOUND";
@@ -214,6 +215,8 @@ export declare const ForteApiExceptionErrorCodeType: {
214
215
  readonly USER_FILTER_INVALID: "USER_FILTER_INVALID";
215
216
  readonly PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND: "PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND";
216
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";
217
220
  readonly ACTION_NOT_FOUND: "ACTION_NOT_FOUND";
218
221
  readonly ACTION_INVOCATION_NOT_FOUND: "ACTION_INVOCATION_NOT_FOUND";
219
222
  readonly ACTION_TARGET_SERVICE_NOT_FOUND: "ACTION_TARGET_SERVICE_NOT_FOUND";
@@ -117,6 +117,7 @@ exports.ForteApiExceptionErrorCodeType = {
117
117
  SERVICE_QUOTA_EXCEEDED: 'SERVICE_QUOTA_EXCEEDED',
118
118
  GOOGLE_OAUTH_NOT_CONFIGURED: 'GOOGLE_OAUTH_NOT_CONFIGURED',
119
119
  GOOGLE_IDENTITY_ALREADY_LINKED: 'GOOGLE_IDENTITY_ALREADY_LINKED',
120
+ INVALID_GOOGLE_CREDENTIAL: 'INVALID_GOOGLE_CREDENTIAL',
120
121
  TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED: 'TERMS_OF_SERVICE_CANNOT_BE_UNACCEPTED',
121
122
  TERMS_OF_SERVICE_NOT_ACCEPTED: 'TERMS_OF_SERVICE_NOT_ACCEPTED',
122
123
  API_KEY_NOT_FOUND: 'API_KEY_NOT_FOUND',
@@ -199,6 +200,8 @@ exports.ForteApiExceptionErrorCodeType = {
199
200
  USER_FILTER_INVALID: 'USER_FILTER_INVALID',
200
201
  PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND: 'PAYMENT_TRIGGER_TARGET_SERVICE_NOT_FOUND',
201
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',
202
205
  ACTION_NOT_FOUND: 'ACTION_NOT_FOUND',
203
206
  ACTION_INVOCATION_NOT_FOUND: 'ACTION_INVOCATION_NOT_FOUND',
204
207
  ACTION_TARGET_SERVICE_NOT_FOUND: 'ACTION_TARGET_SERVICE_NOT_FOUND',
@@ -0,0 +1,58 @@
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 InternalSource
16
+ */
17
+ export interface InternalSource {
18
+ /**
19
+ *
20
+ * @type {InternalSourceTypeType}
21
+ * @memberof InternalSource
22
+ */
23
+ type: InternalSourceTypeType;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof InternalSource
28
+ */
29
+ id: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof InternalSource
34
+ */
35
+ subjectId?: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof InternalSource
40
+ */
41
+ replay?: boolean;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const InternalSourceTypeType: {
47
+ readonly PAYMENT_TRIGGER: "PAYMENT_TRIGGER";
48
+ readonly ACTION: "ACTION";
49
+ };
50
+ export type InternalSourceTypeType = typeof InternalSourceTypeType[keyof typeof InternalSourceTypeType];
51
+ /**
52
+ * Check if a given object implements the InternalSource interface.
53
+ */
54
+ export declare function instanceOfInternalSource(value: object): value is InternalSource;
55
+ export declare function InternalSourceFromJSON(json: any): InternalSource;
56
+ export declare function InternalSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): InternalSource;
57
+ export declare function InternalSourceToJSON(json: any): InternalSource;
58
+ export declare function InternalSourceToJSONTyped(value?: InternalSource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.InternalSourceTypeType = void 0;
17
+ exports.instanceOfInternalSource = instanceOfInternalSource;
18
+ exports.InternalSourceFromJSON = InternalSourceFromJSON;
19
+ exports.InternalSourceFromJSONTyped = InternalSourceFromJSONTyped;
20
+ exports.InternalSourceToJSON = InternalSourceToJSON;
21
+ exports.InternalSourceToJSONTyped = InternalSourceToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.InternalSourceTypeType = {
26
+ PAYMENT_TRIGGER: 'PAYMENT_TRIGGER',
27
+ ACTION: 'ACTION'
28
+ };
29
+ /**
30
+ * Check if a given object implements the InternalSource interface.
31
+ */
32
+ function instanceOfInternalSource(value) {
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function InternalSourceFromJSON(json) {
40
+ return InternalSourceFromJSONTyped(json, false);
41
+ }
42
+ function InternalSourceFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'type': json['type'],
48
+ 'id': json['id'],
49
+ 'subjectId': json['subjectId'] == null ? undefined : json['subjectId'],
50
+ 'replay': json['replay'] == null ? undefined : json['replay'],
51
+ };
52
+ }
53
+ function InternalSourceToJSON(json) {
54
+ return InternalSourceToJSONTyped(json, false);
55
+ }
56
+ function InternalSourceToJSONTyped(value, ignoreDiscriminator) {
57
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'type': value['type'],
63
+ 'id': value['id'],
64
+ 'subjectId': value['subjectId'],
65
+ 'replay': value['replay'],
66
+ };
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
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { RequestLogObjectMeta } from './RequestLogObjectMeta';
13
+ import type { InternalSource } from './InternalSource';
13
14
  import type { BodyRef } from './BodyRef';
14
15
  /**
15
16
  *
@@ -117,6 +118,12 @@ export interface RequestLogObject {
117
118
  * @memberof RequestLogObject
118
119
  */
119
120
  retryCount?: number;
121
+ /**
122
+ *
123
+ * @type {InternalSource}
124
+ * @memberof RequestLogObject
125
+ */
126
+ internalSource?: InternalSource;
120
127
  /**
121
128
  *
122
129
  * @type {string}
@@ -19,6 +19,7 @@ exports.RequestLogObjectFromJSONTyped = RequestLogObjectFromJSONTyped;
19
19
  exports.RequestLogObjectToJSON = RequestLogObjectToJSON;
20
20
  exports.RequestLogObjectToJSONTyped = RequestLogObjectToJSONTyped;
21
21
  var RequestLogObjectMeta_1 = require("./RequestLogObjectMeta");
22
+ var InternalSource_1 = require("./InternalSource");
22
23
  var BodyRef_1 = require("./BodyRef");
23
24
  /**
24
25
  * Check if a given object implements the RequestLogObject interface.
@@ -66,6 +67,7 @@ function RequestLogObjectFromJSONTyped(json, ignoreDiscriminator) {
66
67
  'requestHeaders': json['requestHeaders'],
67
68
  'responseHeaders': json['responseHeaders'],
68
69
  'retryCount': json['retryCount'] == null ? undefined : json['retryCount'],
70
+ 'internalSource': json['internalSource'] == null ? undefined : (0, InternalSource_1.InternalSourceFromJSON)(json['internalSource']),
69
71
  'exceptionType': json['exceptionType'] == null ? undefined : json['exceptionType'],
70
72
  'exceptionMessage': json['exceptionMessage'] == null ? undefined : json['exceptionMessage'],
71
73
  'exceptionStackTrace': json['exceptionStackTrace'] == null ? undefined : json['exceptionStackTrace'],
@@ -98,6 +100,7 @@ function RequestLogObjectToJSONTyped(value, ignoreDiscriminator) {
98
100
  'requestHeaders': value['requestHeaders'],
99
101
  'responseHeaders': value['responseHeaders'],
100
102
  'retryCount': value['retryCount'],
103
+ 'internalSource': (0, InternalSource_1.InternalSourceToJSON)(value['internalSource']),
101
104
  'exceptionType': value['exceptionType'],
102
105
  'exceptionMessage': value['exceptionMessage'],
103
106
  'exceptionStackTrace': value['exceptionStackTrace'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { RequestLogObjectMeta } from './RequestLogObjectMeta';
13
+ import type { InternalSource } from './InternalSource';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -52,6 +53,12 @@ export interface RequestLogSummary {
52
53
  * @memberof RequestLogSummary
53
54
  */
54
55
  exceptionType?: string;
56
+ /**
57
+ *
58
+ * @type {InternalSource}
59
+ * @memberof RequestLogSummary
60
+ */
61
+ internalSource?: InternalSource;
55
62
  }
56
63
  /**
57
64
  * Check if a given object implements the RequestLogSummary interface.
@@ -19,6 +19,7 @@ exports.RequestLogSummaryFromJSONTyped = RequestLogSummaryFromJSONTyped;
19
19
  exports.RequestLogSummaryToJSON = RequestLogSummaryToJSON;
20
20
  exports.RequestLogSummaryToJSONTyped = RequestLogSummaryToJSONTyped;
21
21
  var RequestLogObjectMeta_1 = require("./RequestLogObjectMeta");
22
+ var InternalSource_1 = require("./InternalSource");
22
23
  /**
23
24
  * Check if a given object implements the RequestLogSummary interface.
24
25
  */
@@ -49,6 +50,7 @@ function RequestLogSummaryFromJSONTyped(json, ignoreDiscriminator) {
49
50
  'statusCode': json['statusCode'],
50
51
  'totalLatencyMilliseconds': json['totalLatencyMilliseconds'],
51
52
  'exceptionType': json['exceptionType'] == null ? undefined : json['exceptionType'],
53
+ 'internalSource': json['internalSource'] == null ? undefined : (0, InternalSource_1.InternalSourceFromJSON)(json['internalSource']),
52
54
  };
53
55
  }
54
56
  function RequestLogSummaryToJSON(json) {
@@ -66,5 +68,6 @@ function RequestLogSummaryToJSONTyped(value, ignoreDiscriminator) {
66
68
  'statusCode': value['statusCode'],
67
69
  'totalLatencyMilliseconds': value['totalLatencyMilliseconds'],
68
70
  'exceptionType': value['exceptionType'],
71
+ 'internalSource': (0, InternalSource_1.InternalSourceToJSON)(value['internalSource']),
69
72
  };
70
73
  }
@@ -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';
@@ -75,6 +77,7 @@ export * from './HealthCheckDetectionOutput';
75
77
  export * from './HealthCheckDetectionResponse';
76
78
  export * from './ImpersonationTokenResponse';
77
79
  export * from './InstanceCountSeries';
80
+ export * from './InternalSource';
78
81
  export * from './LatencyMetrics';
79
82
  export * from './LatencyPercentileSeries';
80
83
  export * from './LatencyStats';
@@ -111,6 +114,7 @@ export * from './PaginatedResponseActionInvocationObject';
111
114
  export * from './PaginatedResponseLogLineObject';
112
115
  export * from './PaginatedResponseLoginHistoryEntry';
113
116
  export * from './PaginatedResponsePaymentObject';
117
+ export * from './PaginatedResponsePaymentTriggerInvocation';
114
118
  export * from './PaginatedResponseRequestLogSummary';
115
119
  export * from './PaginatedResponseServiceBuildRequestObject';
116
120
  export * from './PaginatedResponseUserActionLogObject';
@@ -128,6 +132,7 @@ export * from './PaymentObject';
128
132
  export * from './PaymentSearchRequest';
129
133
  export * from './PaymentSort';
130
134
  export * from './PaymentTriggerConfig';
135
+ export * from './PaymentTriggerInvocation';
131
136
  export * from './PendingUserInviteObject';
132
137
  export * from './ProductAggregate';
133
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);
@@ -93,6 +95,7 @@ __exportStar(require("./HealthCheckDetectionOutput"), exports);
93
95
  __exportStar(require("./HealthCheckDetectionResponse"), exports);
94
96
  __exportStar(require("./ImpersonationTokenResponse"), exports);
95
97
  __exportStar(require("./InstanceCountSeries"), exports);
98
+ __exportStar(require("./InternalSource"), exports);
96
99
  __exportStar(require("./LatencyMetrics"), exports);
97
100
  __exportStar(require("./LatencyPercentileSeries"), exports);
98
101
  __exportStar(require("./LatencyStats"), exports);
@@ -129,6 +132,7 @@ __exportStar(require("./PaginatedResponseActionInvocationObject"), exports);
129
132
  __exportStar(require("./PaginatedResponseLogLineObject"), exports);
130
133
  __exportStar(require("./PaginatedResponseLoginHistoryEntry"), exports);
131
134
  __exportStar(require("./PaginatedResponsePaymentObject"), exports);
135
+ __exportStar(require("./PaginatedResponsePaymentTriggerInvocation"), exports);
132
136
  __exportStar(require("./PaginatedResponseRequestLogSummary"), exports);
133
137
  __exportStar(require("./PaginatedResponseServiceBuildRequestObject"), exports);
134
138
  __exportStar(require("./PaginatedResponseUserActionLogObject"), exports);
@@ -146,6 +150,7 @@ __exportStar(require("./PaymentObject"), exports);
146
150
  __exportStar(require("./PaymentSearchRequest"), exports);
147
151
  __exportStar(require("./PaymentSort"), exports);
148
152
  __exportStar(require("./PaymentTriggerConfig"), exports);
153
+ __exportStar(require("./PaymentTriggerInvocation"), exports);
149
154
  __exportStar(require("./PendingUserInviteObject"), exports);
150
155
  __exportStar(require("./ProductAggregate"), exports);
151
156
  __exportStar(require("./ProjectObject"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.395",
3
+ "version": "1.0.398",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {