@forteplatforms/sdk 1.0.176 → 1.0.245

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.
Files changed (137) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +661 -0
  2. package/dist/generated/apis/ProjectsServerApi.js +3471 -836
  3. package/dist/generated/apis/UsersServerApi.d.ts +330 -0
  4. package/dist/generated/apis/UsersServerApi.js +1704 -333
  5. package/dist/generated/models/ActionInvocationObject.d.ts +112 -0
  6. package/dist/generated/models/ActionInvocationObject.js +89 -0
  7. package/dist/generated/models/ActionInvocationStatus.d.ts +30 -0
  8. package/dist/generated/models/ActionInvocationStatus.js +56 -0
  9. package/dist/generated/models/ActionInvocationTrigger.d.ts +25 -0
  10. package/dist/generated/models/ActionInvocationTrigger.js +51 -0
  11. package/dist/generated/models/ActionObject.d.ts +147 -0
  12. package/dist/generated/models/ActionObject.js +108 -0
  13. package/dist/generated/models/ActionScheduleType.d.ts +25 -0
  14. package/dist/generated/models/ActionScheduleType.js +51 -0
  15. package/dist/generated/models/ActionsMetricsBucket.d.ts +50 -0
  16. package/dist/generated/models/ActionsMetricsBucket.js +55 -0
  17. package/dist/generated/models/ActionsMetricsResponse.d.ts +87 -0
  18. package/dist/generated/models/ActionsMetricsResponse.js +68 -0
  19. package/dist/generated/models/ActivateMfaMethodRequest.d.ts +38 -0
  20. package/dist/generated/models/ActivateMfaMethodRequest.js +51 -0
  21. package/dist/generated/models/BackupCodesResponse.d.ts +44 -0
  22. package/dist/generated/models/BackupCodesResponse.js +53 -0
  23. package/dist/generated/models/BuildStepLog.d.ts +2 -0
  24. package/dist/generated/models/BuildStepLog.js +2 -0
  25. package/dist/generated/models/CreateActionRequest.d.ts +99 -0
  26. package/dist/generated/models/CreateActionRequest.js +80 -0
  27. package/dist/generated/models/CreateMfaMethodRequest.d.ts +46 -0
  28. package/dist/generated/models/CreateMfaMethodRequest.js +61 -0
  29. package/dist/generated/models/CreateMfaMethodResponse.d.ts +50 -0
  30. package/dist/generated/models/CreateMfaMethodResponse.js +57 -0
  31. package/dist/generated/models/CreatePaymentMethodResponse.d.ts +44 -0
  32. package/dist/generated/models/CreatePaymentMethodResponse.js +59 -0
  33. package/dist/generated/models/CreatePaymentRequest.d.ts +19 -0
  34. package/dist/generated/models/CreatePaymentRequest.js +7 -0
  35. package/dist/generated/models/CreateSubscriptionPreviewRequest.d.ts +72 -0
  36. package/dist/generated/models/CreateSubscriptionPreviewRequest.js +75 -0
  37. package/dist/generated/models/CreateSubscriptionPreviewResponse.d.ts +90 -0
  38. package/dist/generated/models/CreateSubscriptionPreviewResponse.js +87 -0
  39. package/dist/generated/models/CreateSubscriptionRequest.d.ts +92 -0
  40. package/dist/generated/models/CreateSubscriptionRequest.js +81 -0
  41. package/dist/generated/models/CreateSubscriptionResponse.d.ts +51 -0
  42. package/dist/generated/models/CreateSubscriptionResponse.js +62 -0
  43. package/dist/generated/models/CurrencyTotals.d.ts +56 -0
  44. package/dist/generated/models/CurrencyTotals.js +67 -0
  45. package/dist/generated/models/ForteApiException.d.ts +57 -0
  46. package/dist/generated/models/ForteApiException.js +58 -1
  47. package/dist/generated/models/ListCustomDomainsResponse.d.ts +6 -0
  48. package/dist/generated/models/ListCustomDomainsResponse.js +2 -0
  49. package/dist/generated/models/ListMfaMethodsResponse.d.ts +33 -0
  50. package/dist/generated/models/ListMfaMethodsResponse.js +52 -0
  51. package/dist/generated/models/LoginUserResponse.d.ts +22 -0
  52. package/dist/generated/models/LoginUserResponse.js +14 -0
  53. package/dist/generated/models/MfaChallengeRequest.d.ts +43 -0
  54. package/dist/generated/models/MfaChallengeRequest.js +62 -0
  55. package/dist/generated/models/MfaChallengeResponse.d.ts +38 -0
  56. package/dist/generated/models/MfaChallengeResponse.js +51 -0
  57. package/dist/generated/models/MfaConfig.d.ts +71 -0
  58. package/dist/generated/models/MfaConfig.js +68 -0
  59. package/dist/generated/models/MfaMethod.d.ts +76 -0
  60. package/dist/generated/models/MfaMethod.js +75 -0
  61. package/dist/generated/models/MfaMethodSummary.d.ts +55 -0
  62. package/dist/generated/models/MfaMethodSummary.js +66 -0
  63. package/dist/generated/models/MfaVerifyRequest.d.ts +55 -0
  64. package/dist/generated/models/MfaVerifyRequest.js +66 -0
  65. package/dist/generated/models/PaginatedResponseActionInvocationObject.d.ts +45 -0
  66. package/dist/generated/models/PaginatedResponseActionInvocationObject.js +58 -0
  67. package/dist/generated/models/PaymentAnalyticsResponse.d.ts +87 -0
  68. package/dist/generated/models/PaymentAnalyticsResponse.js +92 -0
  69. package/dist/generated/models/PaymentMethodObject.d.ts +86 -0
  70. package/dist/generated/models/PaymentMethodObject.js +73 -0
  71. package/dist/generated/models/PaymentMethodType.d.ts +25 -0
  72. package/dist/generated/models/PaymentMethodType.js +51 -0
  73. package/dist/generated/models/PaymentObject.d.ts +19 -0
  74. package/dist/generated/models/PaymentObject.js +9 -0
  75. package/dist/generated/models/ProductAggregate.d.ts +56 -0
  76. package/dist/generated/models/ProductAggregate.js +67 -0
  77. package/dist/generated/models/ProjectObject.d.ts +7 -0
  78. package/dist/generated/models/ProjectObject.js +3 -0
  79. package/dist/generated/models/PutSubscriptionItemsRequest.d.ts +33 -0
  80. package/dist/generated/models/PutSubscriptionItemsRequest.js +52 -0
  81. package/dist/generated/models/RegisterUserResponse.d.ts +22 -0
  82. package/dist/generated/models/RegisterUserResponse.js +14 -0
  83. package/dist/generated/models/RenameMfaMethodRequest.d.ts +32 -0
  84. package/dist/generated/models/RenameMfaMethodRequest.js +49 -0
  85. package/dist/generated/models/RequestLogObject.d.ts +30 -0
  86. package/dist/generated/models/RequestLogObject.js +10 -0
  87. package/dist/generated/models/RouteMetric.d.ts +80 -0
  88. package/dist/generated/models/RouteMetric.js +83 -0
  89. package/dist/generated/models/ServiceBuildRequestObject.d.ts +15 -0
  90. package/dist/generated/models/ServiceBuildRequestObject.js +8 -1
  91. package/dist/generated/models/ServiceObject.d.ts +7 -0
  92. package/dist/generated/models/ServiceObject.js +3 -0
  93. package/dist/generated/models/ServiceRouteMetricsResponse.d.ts +33 -0
  94. package/dist/generated/models/ServiceRouteMetricsResponse.js +52 -0
  95. package/dist/generated/models/SpenderAggregate.d.ts +56 -0
  96. package/dist/generated/models/SpenderAggregate.js +67 -0
  97. package/dist/generated/models/StateCurrencyTotals.d.ts +62 -0
  98. package/dist/generated/models/StateCurrencyTotals.js +75 -0
  99. package/dist/generated/models/StateHistory.d.ts +3 -5
  100. package/dist/generated/models/StateHistory.js +4 -6
  101. package/dist/generated/models/SubscriptionObject.d.ts +271 -0
  102. package/dist/generated/models/SubscriptionObject.js +169 -0
  103. package/dist/generated/models/TriggerEvent.d.ts +2 -0
  104. package/dist/generated/models/TriggerEvent.js +3 -1
  105. package/dist/generated/models/UpdateActionRequest.d.ts +99 -0
  106. package/dist/generated/models/UpdateActionRequest.js +72 -0
  107. package/dist/generated/models/UpdateContentOwnerRequest.d.ts +46 -0
  108. package/dist/generated/models/UpdateContentOwnerRequest.js +61 -0
  109. package/dist/generated/models/UpdateForteServiceRequest.d.ts +26 -0
  110. package/dist/generated/models/UpdateForteServiceRequest.js +14 -0
  111. package/dist/generated/models/UpdatePaymentMethodRequest.d.ts +32 -0
  112. package/dist/generated/models/UpdatePaymentMethodRequest.js +51 -0
  113. package/dist/generated/models/UpdateProjectRequest.d.ts +7 -0
  114. package/dist/generated/models/UpdateProjectRequest.js +3 -0
  115. package/dist/generated/models/UpdateSubscriptionPreviewRequest.d.ts +33 -0
  116. package/dist/generated/models/UpdateSubscriptionPreviewRequest.js +50 -0
  117. package/dist/generated/models/UpdateSubscriptionRequest.d.ts +45 -0
  118. package/dist/generated/models/UpdateSubscriptionRequest.js +54 -0
  119. package/dist/generated/models/UpdateWebAppRequest.d.ts +26 -0
  120. package/dist/generated/models/UpdateWebAppRequest.js +14 -0
  121. package/dist/generated/models/UserActionLogObject.d.ts +20 -0
  122. package/dist/generated/models/UserActionLogObject.js +17 -1
  123. package/dist/generated/models/UserObject.d.ts +19 -0
  124. package/dist/generated/models/UserObject.js +7 -0
  125. package/dist/generated/models/WebAppBuildRequestObject.d.ts +15 -0
  126. package/dist/generated/models/WebAppBuildRequestObject.js +8 -1
  127. package/dist/generated/models/WebAppDetectionResponse.d.ts +1 -1
  128. package/dist/generated/models/WebAppObject.d.ts +6 -6
  129. package/dist/generated/models/WebAppObject.js +2 -2
  130. package/dist/generated/models/WebAppRuntimeMetricsResponse.d.ts +80 -0
  131. package/dist/generated/models/WebAppRuntimeMetricsResponse.js +83 -0
  132. package/dist/generated/models/index.d.ts +43 -0
  133. package/dist/generated/models/index.js +43 -0
  134. package/dist/index.js +4 -0
  135. package/dist/transport.d.ts +8 -0
  136. package/dist/transport.js +114 -0
  137. package/package.json +1 -1
@@ -0,0 +1,112 @@
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 { ActionInvocationStatus } from './ActionInvocationStatus';
13
+ import type { ActionInvocationTrigger } from './ActionInvocationTrigger';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ActionInvocationObject
18
+ */
19
+ export interface ActionInvocationObject {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof ActionInvocationObject
24
+ */
25
+ invocationId?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ActionInvocationObject
30
+ */
31
+ actionId: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ActionInvocationObject
36
+ */
37
+ projectId: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ActionInvocationObject
42
+ */
43
+ idempotencyKey?: string;
44
+ /**
45
+ *
46
+ * @type {ActionInvocationStatus}
47
+ * @memberof ActionInvocationObject
48
+ */
49
+ status: ActionInvocationStatus;
50
+ /**
51
+ *
52
+ * @type {ActionInvocationTrigger}
53
+ * @memberof ActionInvocationObject
54
+ */
55
+ trigger: ActionInvocationTrigger;
56
+ /**
57
+ *
58
+ * @type {Date}
59
+ * @memberof ActionInvocationObject
60
+ */
61
+ scheduledAt?: Date;
62
+ /**
63
+ *
64
+ * @type {Date}
65
+ * @memberof ActionInvocationObject
66
+ */
67
+ startedAt?: Date;
68
+ /**
69
+ *
70
+ * @type {Date}
71
+ * @memberof ActionInvocationObject
72
+ */
73
+ completedAt?: Date;
74
+ /**
75
+ *
76
+ * @type {Date}
77
+ * @memberof ActionInvocationObject
78
+ */
79
+ nextAttemptAt?: Date;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof ActionInvocationObject
84
+ */
85
+ attemptCount: number;
86
+ /**
87
+ *
88
+ * @type {number}
89
+ * @memberof ActionInvocationObject
90
+ */
91
+ responseStatusCode?: number;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof ActionInvocationObject
96
+ */
97
+ errorMessage?: string;
98
+ /**
99
+ *
100
+ * @type {Date}
101
+ * @memberof ActionInvocationObject
102
+ */
103
+ createdTimestamp: Date;
104
+ }
105
+ /**
106
+ * Check if a given object implements the ActionInvocationObject interface.
107
+ */
108
+ export declare function instanceOfActionInvocationObject(value: object): value is ActionInvocationObject;
109
+ export declare function ActionInvocationObjectFromJSON(json: any): ActionInvocationObject;
110
+ export declare function ActionInvocationObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionInvocationObject;
111
+ export declare function ActionInvocationObjectToJSON(json: any): ActionInvocationObject;
112
+ export declare function ActionInvocationObjectToJSONTyped(value?: ActionInvocationObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,89 @@
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.instanceOfActionInvocationObject = instanceOfActionInvocationObject;
17
+ exports.ActionInvocationObjectFromJSON = ActionInvocationObjectFromJSON;
18
+ exports.ActionInvocationObjectFromJSONTyped = ActionInvocationObjectFromJSONTyped;
19
+ exports.ActionInvocationObjectToJSON = ActionInvocationObjectToJSON;
20
+ exports.ActionInvocationObjectToJSONTyped = ActionInvocationObjectToJSONTyped;
21
+ var ActionInvocationStatus_1 = require("./ActionInvocationStatus");
22
+ var ActionInvocationTrigger_1 = require("./ActionInvocationTrigger");
23
+ /**
24
+ * Check if a given object implements the ActionInvocationObject interface.
25
+ */
26
+ function instanceOfActionInvocationObject(value) {
27
+ if (!('actionId' in value) || value['actionId'] === undefined)
28
+ return false;
29
+ if (!('projectId' in value) || value['projectId'] === undefined)
30
+ return false;
31
+ if (!('status' in value) || value['status'] === undefined)
32
+ return false;
33
+ if (!('trigger' in value) || value['trigger'] === undefined)
34
+ return false;
35
+ if (!('attemptCount' in value) || value['attemptCount'] === undefined)
36
+ return false;
37
+ if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function ActionInvocationObjectFromJSON(json) {
42
+ return ActionInvocationObjectFromJSONTyped(json, false);
43
+ }
44
+ function ActionInvocationObjectFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'invocationId': json['invocationId'] == null ? undefined : json['invocationId'],
50
+ 'actionId': json['actionId'],
51
+ 'projectId': json['projectId'],
52
+ 'idempotencyKey': json['idempotencyKey'] == null ? undefined : json['idempotencyKey'],
53
+ 'status': (0, ActionInvocationStatus_1.ActionInvocationStatusFromJSON)(json['status']),
54
+ 'trigger': (0, ActionInvocationTrigger_1.ActionInvocationTriggerFromJSON)(json['trigger']),
55
+ 'scheduledAt': json['scheduledAt'] == null ? undefined : (new Date(json['scheduledAt'])),
56
+ 'startedAt': json['startedAt'] == null ? undefined : (new Date(json['startedAt'])),
57
+ 'completedAt': json['completedAt'] == null ? undefined : (new Date(json['completedAt'])),
58
+ 'nextAttemptAt': json['nextAttemptAt'] == null ? undefined : (new Date(json['nextAttemptAt'])),
59
+ 'attemptCount': json['attemptCount'],
60
+ 'responseStatusCode': json['responseStatusCode'] == null ? undefined : json['responseStatusCode'],
61
+ 'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
62
+ 'createdTimestamp': (new Date(json['createdTimestamp'])),
63
+ };
64
+ }
65
+ function ActionInvocationObjectToJSON(json) {
66
+ return ActionInvocationObjectToJSONTyped(json, false);
67
+ }
68
+ function ActionInvocationObjectToJSONTyped(value, ignoreDiscriminator) {
69
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'invocationId': value['invocationId'],
75
+ 'actionId': value['actionId'],
76
+ 'projectId': value['projectId'],
77
+ 'idempotencyKey': value['idempotencyKey'],
78
+ 'status': (0, ActionInvocationStatus_1.ActionInvocationStatusToJSON)(value['status']),
79
+ 'trigger': (0, ActionInvocationTrigger_1.ActionInvocationTriggerToJSON)(value['trigger']),
80
+ 'scheduledAt': value['scheduledAt'] == null ? value['scheduledAt'] : value['scheduledAt'].toISOString(),
81
+ 'startedAt': value['startedAt'] == null ? value['startedAt'] : value['startedAt'].toISOString(),
82
+ 'completedAt': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
83
+ 'nextAttemptAt': value['nextAttemptAt'] == null ? value['nextAttemptAt'] : value['nextAttemptAt'].toISOString(),
84
+ 'attemptCount': value['attemptCount'],
85
+ 'responseStatusCode': value['responseStatusCode'],
86
+ 'errorMessage': value['errorMessage'],
87
+ 'createdTimestamp': value['createdTimestamp'].toISOString(),
88
+ };
89
+ }
@@ -0,0 +1,30 @@
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
+ */
16
+ export declare const ActionInvocationStatus: {
17
+ readonly PENDING: "PENDING";
18
+ readonly RUNNING: "RUNNING";
19
+ readonly RETRYING: "RETRYING";
20
+ readonly SUCCEEDED: "SUCCEEDED";
21
+ readonly FAILED: "FAILED";
22
+ readonly CANCELLED: "CANCELLED";
23
+ readonly MISSED: "MISSED";
24
+ };
25
+ export type ActionInvocationStatus = typeof ActionInvocationStatus[keyof typeof ActionInvocationStatus];
26
+ export declare function instanceOfActionInvocationStatus(value: any): boolean;
27
+ export declare function ActionInvocationStatusFromJSON(json: any): ActionInvocationStatus;
28
+ export declare function ActionInvocationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionInvocationStatus;
29
+ export declare function ActionInvocationStatusToJSON(value?: ActionInvocationStatus | null): any;
30
+ export declare function ActionInvocationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ActionInvocationStatus;
@@ -0,0 +1,56 @@
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.ActionInvocationStatus = void 0;
17
+ exports.instanceOfActionInvocationStatus = instanceOfActionInvocationStatus;
18
+ exports.ActionInvocationStatusFromJSON = ActionInvocationStatusFromJSON;
19
+ exports.ActionInvocationStatusFromJSONTyped = ActionInvocationStatusFromJSONTyped;
20
+ exports.ActionInvocationStatusToJSON = ActionInvocationStatusToJSON;
21
+ exports.ActionInvocationStatusToJSONTyped = ActionInvocationStatusToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ActionInvocationStatus = {
27
+ PENDING: 'PENDING',
28
+ RUNNING: 'RUNNING',
29
+ RETRYING: 'RETRYING',
30
+ SUCCEEDED: 'SUCCEEDED',
31
+ FAILED: 'FAILED',
32
+ CANCELLED: 'CANCELLED',
33
+ MISSED: 'MISSED'
34
+ };
35
+ function instanceOfActionInvocationStatus(value) {
36
+ for (var key in exports.ActionInvocationStatus) {
37
+ if (Object.prototype.hasOwnProperty.call(exports.ActionInvocationStatus, key)) {
38
+ if (exports.ActionInvocationStatus[key] === value) {
39
+ return true;
40
+ }
41
+ }
42
+ }
43
+ return false;
44
+ }
45
+ function ActionInvocationStatusFromJSON(json) {
46
+ return ActionInvocationStatusFromJSONTyped(json, false);
47
+ }
48
+ function ActionInvocationStatusFromJSONTyped(json, ignoreDiscriminator) {
49
+ return json;
50
+ }
51
+ function ActionInvocationStatusToJSON(value) {
52
+ return value;
53
+ }
54
+ function ActionInvocationStatusToJSONTyped(value, ignoreDiscriminator) {
55
+ return value;
56
+ }
@@ -0,0 +1,25 @@
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
+ */
16
+ export declare const ActionInvocationTrigger: {
17
+ readonly SCHEDULED: "SCHEDULED";
18
+ readonly MANUAL: "MANUAL";
19
+ };
20
+ export type ActionInvocationTrigger = typeof ActionInvocationTrigger[keyof typeof ActionInvocationTrigger];
21
+ export declare function instanceOfActionInvocationTrigger(value: any): boolean;
22
+ export declare function ActionInvocationTriggerFromJSON(json: any): ActionInvocationTrigger;
23
+ export declare function ActionInvocationTriggerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionInvocationTrigger;
24
+ export declare function ActionInvocationTriggerToJSON(value?: ActionInvocationTrigger | null): any;
25
+ export declare function ActionInvocationTriggerToJSONTyped(value: any, ignoreDiscriminator: boolean): ActionInvocationTrigger;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ActionInvocationTrigger = void 0;
17
+ exports.instanceOfActionInvocationTrigger = instanceOfActionInvocationTrigger;
18
+ exports.ActionInvocationTriggerFromJSON = ActionInvocationTriggerFromJSON;
19
+ exports.ActionInvocationTriggerFromJSONTyped = ActionInvocationTriggerFromJSONTyped;
20
+ exports.ActionInvocationTriggerToJSON = ActionInvocationTriggerToJSON;
21
+ exports.ActionInvocationTriggerToJSONTyped = ActionInvocationTriggerToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ActionInvocationTrigger = {
27
+ SCHEDULED: 'SCHEDULED',
28
+ MANUAL: 'MANUAL'
29
+ };
30
+ function instanceOfActionInvocationTrigger(value) {
31
+ for (var key in exports.ActionInvocationTrigger) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.ActionInvocationTrigger, key)) {
33
+ if (exports.ActionInvocationTrigger[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function ActionInvocationTriggerFromJSON(json) {
41
+ return ActionInvocationTriggerFromJSONTyped(json, false);
42
+ }
43
+ function ActionInvocationTriggerFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function ActionInvocationTriggerToJSON(value) {
47
+ return value;
48
+ }
49
+ function ActionInvocationTriggerToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -0,0 +1,147 @@
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 { ActionScheduleType } from './ActionScheduleType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ActionObject
17
+ */
18
+ export interface ActionObject {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ActionObject
23
+ */
24
+ actionId?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ActionObject
29
+ */
30
+ projectId: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ActionObject
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ActionObject
41
+ */
42
+ targetServiceId: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ActionObject
47
+ */
48
+ targetPath: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ActionObject
53
+ */
54
+ requestBody?: string;
55
+ /**
56
+ *
57
+ * @type {ActionScheduleType}
58
+ * @memberof ActionObject
59
+ */
60
+ scheduleType: ActionScheduleType;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof ActionObject
65
+ */
66
+ cronExpression?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof ActionObject
71
+ */
72
+ timezone?: string;
73
+ /**
74
+ *
75
+ * @type {Date}
76
+ * @memberof ActionObject
77
+ */
78
+ windowStart?: Date;
79
+ /**
80
+ *
81
+ * @type {Date}
82
+ * @memberof ActionObject
83
+ */
84
+ windowEnd?: Date;
85
+ /**
86
+ *
87
+ * @type {Date}
88
+ * @memberof ActionObject
89
+ */
90
+ scheduledAt?: Date;
91
+ /**
92
+ *
93
+ * @type {boolean}
94
+ * @memberof ActionObject
95
+ */
96
+ retryable: boolean;
97
+ /**
98
+ *
99
+ * @type {boolean}
100
+ * @memberof ActionObject
101
+ */
102
+ enabled: boolean;
103
+ /**
104
+ *
105
+ * @type {Date}
106
+ * @memberof ActionObject
107
+ */
108
+ nextInvocationAt?: Date;
109
+ /**
110
+ *
111
+ * @type {Date}
112
+ * @memberof ActionObject
113
+ */
114
+ lastInvocationAt?: Date;
115
+ /**
116
+ *
117
+ * @type {number}
118
+ * @memberof ActionObject
119
+ */
120
+ consecutiveFailureCount: number;
121
+ /**
122
+ *
123
+ * @type {number}
124
+ * @memberof ActionObject
125
+ */
126
+ skippedOccurrences: number;
127
+ /**
128
+ *
129
+ * @type {Date}
130
+ * @memberof ActionObject
131
+ */
132
+ createdTimestamp: Date;
133
+ /**
134
+ *
135
+ * @type {Date}
136
+ * @memberof ActionObject
137
+ */
138
+ lastModifiedTimestamp?: Date;
139
+ }
140
+ /**
141
+ * Check if a given object implements the ActionObject interface.
142
+ */
143
+ export declare function instanceOfActionObject(value: object): value is ActionObject;
144
+ export declare function ActionObjectFromJSON(json: any): ActionObject;
145
+ export declare function ActionObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionObject;
146
+ export declare function ActionObjectToJSON(json: any): ActionObject;
147
+ export declare function ActionObjectToJSONTyped(value?: ActionObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,108 @@
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.instanceOfActionObject = instanceOfActionObject;
17
+ exports.ActionObjectFromJSON = ActionObjectFromJSON;
18
+ exports.ActionObjectFromJSONTyped = ActionObjectFromJSONTyped;
19
+ exports.ActionObjectToJSON = ActionObjectToJSON;
20
+ exports.ActionObjectToJSONTyped = ActionObjectToJSONTyped;
21
+ var ActionScheduleType_1 = require("./ActionScheduleType");
22
+ /**
23
+ * Check if a given object implements the ActionObject interface.
24
+ */
25
+ function instanceOfActionObject(value) {
26
+ if (!('projectId' in value) || value['projectId'] === undefined)
27
+ return false;
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('targetServiceId' in value) || value['targetServiceId'] === undefined)
31
+ return false;
32
+ if (!('targetPath' in value) || value['targetPath'] === undefined)
33
+ return false;
34
+ if (!('scheduleType' in value) || value['scheduleType'] === undefined)
35
+ return false;
36
+ if (!('retryable' in value) || value['retryable'] === undefined)
37
+ return false;
38
+ if (!('enabled' in value) || value['enabled'] === undefined)
39
+ return false;
40
+ if (!('consecutiveFailureCount' in value) || value['consecutiveFailureCount'] === undefined)
41
+ return false;
42
+ if (!('skippedOccurrences' in value) || value['skippedOccurrences'] === undefined)
43
+ return false;
44
+ if (!('createdTimestamp' in value) || value['createdTimestamp'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function ActionObjectFromJSON(json) {
49
+ return ActionObjectFromJSONTyped(json, false);
50
+ }
51
+ function ActionObjectFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'actionId': json['actionId'] == null ? undefined : json['actionId'],
57
+ 'projectId': json['projectId'],
58
+ 'name': json['name'],
59
+ 'targetServiceId': json['targetServiceId'],
60
+ 'targetPath': json['targetPath'],
61
+ 'requestBody': json['requestBody'] == null ? undefined : json['requestBody'],
62
+ 'scheduleType': (0, ActionScheduleType_1.ActionScheduleTypeFromJSON)(json['scheduleType']),
63
+ 'cronExpression': json['cronExpression'] == null ? undefined : json['cronExpression'],
64
+ 'timezone': json['timezone'] == null ? undefined : json['timezone'],
65
+ 'windowStart': json['windowStart'] == null ? undefined : (new Date(json['windowStart'])),
66
+ 'windowEnd': json['windowEnd'] == null ? undefined : (new Date(json['windowEnd'])),
67
+ 'scheduledAt': json['scheduledAt'] == null ? undefined : (new Date(json['scheduledAt'])),
68
+ 'retryable': json['retryable'],
69
+ 'enabled': json['enabled'],
70
+ 'nextInvocationAt': json['nextInvocationAt'] == null ? undefined : (new Date(json['nextInvocationAt'])),
71
+ 'lastInvocationAt': json['lastInvocationAt'] == null ? undefined : (new Date(json['lastInvocationAt'])),
72
+ 'consecutiveFailureCount': json['consecutiveFailureCount'],
73
+ 'skippedOccurrences': json['skippedOccurrences'],
74
+ 'createdTimestamp': (new Date(json['createdTimestamp'])),
75
+ 'lastModifiedTimestamp': json['lastModifiedTimestamp'] == null ? undefined : (new Date(json['lastModifiedTimestamp'])),
76
+ };
77
+ }
78
+ function ActionObjectToJSON(json) {
79
+ return ActionObjectToJSONTyped(json, false);
80
+ }
81
+ function ActionObjectToJSONTyped(value, ignoreDiscriminator) {
82
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'actionId': value['actionId'],
88
+ 'projectId': value['projectId'],
89
+ 'name': value['name'],
90
+ 'targetServiceId': value['targetServiceId'],
91
+ 'targetPath': value['targetPath'],
92
+ 'requestBody': value['requestBody'],
93
+ 'scheduleType': (0, ActionScheduleType_1.ActionScheduleTypeToJSON)(value['scheduleType']),
94
+ 'cronExpression': value['cronExpression'],
95
+ 'timezone': value['timezone'],
96
+ 'windowStart': value['windowStart'] == null ? value['windowStart'] : value['windowStart'].toISOString(),
97
+ 'windowEnd': value['windowEnd'] == null ? value['windowEnd'] : value['windowEnd'].toISOString(),
98
+ 'scheduledAt': value['scheduledAt'] == null ? value['scheduledAt'] : value['scheduledAt'].toISOString(),
99
+ 'retryable': value['retryable'],
100
+ 'enabled': value['enabled'],
101
+ 'nextInvocationAt': value['nextInvocationAt'] == null ? value['nextInvocationAt'] : value['nextInvocationAt'].toISOString(),
102
+ 'lastInvocationAt': value['lastInvocationAt'] == null ? value['lastInvocationAt'] : value['lastInvocationAt'].toISOString(),
103
+ 'consecutiveFailureCount': value['consecutiveFailureCount'],
104
+ 'skippedOccurrences': value['skippedOccurrences'],
105
+ 'createdTimestamp': value['createdTimestamp'].toISOString(),
106
+ 'lastModifiedTimestamp': value['lastModifiedTimestamp'] == null ? value['lastModifiedTimestamp'] : value['lastModifiedTimestamp'].toISOString(),
107
+ };
108
+ }
@@ -0,0 +1,25 @@
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
+ */
16
+ export declare const ActionScheduleType: {
17
+ readonly RECURRING: "RECURRING";
18
+ readonly ONE_TIME: "ONE_TIME";
19
+ };
20
+ export type ActionScheduleType = typeof ActionScheduleType[keyof typeof ActionScheduleType];
21
+ export declare function instanceOfActionScheduleType(value: any): boolean;
22
+ export declare function ActionScheduleTypeFromJSON(json: any): ActionScheduleType;
23
+ export declare function ActionScheduleTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActionScheduleType;
24
+ export declare function ActionScheduleTypeToJSON(value?: ActionScheduleType | null): any;
25
+ export declare function ActionScheduleTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ActionScheduleType;