@dynamic-labs/sdk-api 0.76.0 → 0.78.0

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 (126) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/BusinessAccountsApi.cjs +1 -0
  11. package/src/apis/BusinessAccountsApi.js +1 -0
  12. package/src/apis/CaptchaApi.cjs +1 -0
  13. package/src/apis/CaptchaApi.js +1 -0
  14. package/src/apis/ChainalysisApi.cjs +1 -0
  15. package/src/apis/ChainalysisApi.js +1 -0
  16. package/src/apis/ChainsApi.cjs +1 -0
  17. package/src/apis/ChainsApi.js +1 -0
  18. package/src/apis/CheckoutApi.cjs +1 -0
  19. package/src/apis/CheckoutApi.js +1 -0
  20. package/src/apis/ClientGrantApi.cjs +1 -0
  21. package/src/apis/ClientGrantApi.js +1 -0
  22. package/src/apis/CustomFieldsApi.cjs +1 -0
  23. package/src/apis/CustomFieldsApi.js +1 -0
  24. package/src/apis/CustomHostnamesApi.cjs +1 -0
  25. package/src/apis/CustomHostnamesApi.js +1 -0
  26. package/src/apis/CustomNetworksApi.cjs +1 -0
  27. package/src/apis/CustomNetworksApi.js +1 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  29. package/src/apis/DeeplinkUrlsApi.js +1 -0
  30. package/src/apis/EnvironmentsApi.cjs +1 -0
  31. package/src/apis/EnvironmentsApi.js +1 -0
  32. package/src/apis/EventsApi.cjs +1 -0
  33. package/src/apis/EventsApi.js +1 -0
  34. package/src/apis/ExchangesApi.cjs +1 -0
  35. package/src/apis/ExchangesApi.js +1 -0
  36. package/src/apis/ExportsApi.cjs +1 -0
  37. package/src/apis/ExportsApi.js +1 -0
  38. package/src/apis/ExternalJwtApi.cjs +1 -0
  39. package/src/apis/ExternalJwtApi.js +1 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  41. package/src/apis/FlowAnalyticsApi.js +1 -0
  42. package/src/apis/GaslessApi.cjs +1 -0
  43. package/src/apis/GaslessApi.js +1 -0
  44. package/src/apis/GatesApi.cjs +1 -0
  45. package/src/apis/GatesApi.js +1 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  50. package/src/apis/GlobalWalletsApi.cjs +1 -0
  51. package/src/apis/GlobalWalletsApi.js +1 -0
  52. package/src/apis/InvitesApi.cjs +1 -0
  53. package/src/apis/InvitesApi.js +1 -0
  54. package/src/apis/KybApi.cjs +1 -0
  55. package/src/apis/KybApi.js +1 -0
  56. package/src/apis/MembersApi.cjs +1 -0
  57. package/src/apis/MembersApi.js +1 -0
  58. package/src/apis/MfaSettingsApi.cjs +1 -0
  59. package/src/apis/MfaSettingsApi.js +1 -0
  60. package/src/apis/NameServicesApi.cjs +1 -0
  61. package/src/apis/NameServicesApi.js +1 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  63. package/src/apis/OrganizationSettingsApi.js +1 -0
  64. package/src/apis/OrganizationsApi.cjs +1 -0
  65. package/src/apis/OrganizationsApi.js +1 -0
  66. package/src/apis/OriginsApi.cjs +1 -0
  67. package/src/apis/OriginsApi.js +1 -0
  68. package/src/apis/ProjectsApi.cjs +1 -0
  69. package/src/apis/ProjectsApi.js +1 -0
  70. package/src/apis/ProvidersApi.cjs +1 -0
  71. package/src/apis/ProvidersApi.js +1 -0
  72. package/src/apis/SDKApi.cjs +281 -4
  73. package/src/apis/SDKApi.d.ts +122 -5
  74. package/src/apis/SDKApi.js +281 -4
  75. package/src/apis/SDKViewsApi.cjs +1 -0
  76. package/src/apis/SDKViewsApi.js +1 -0
  77. package/src/apis/ScreeningPoliciesApi.cjs +1 -0
  78. package/src/apis/ScreeningPoliciesApi.js +1 -0
  79. package/src/apis/ServerApi.cjs +1 -0
  80. package/src/apis/ServerApi.js +1 -0
  81. package/src/apis/SessionsApi.cjs +1 -0
  82. package/src/apis/SessionsApi.js +1 -0
  83. package/src/apis/TestAccountApi.cjs +1 -0
  84. package/src/apis/TestAccountApi.js +1 -0
  85. package/src/apis/TokensApi.cjs +1 -0
  86. package/src/apis/TokensApi.js +1 -0
  87. package/src/apis/UserApiTokensApi.cjs +1 -0
  88. package/src/apis/UserApiTokensApi.js +1 -0
  89. package/src/apis/UsersApi.cjs +1 -0
  90. package/src/apis/UsersApi.js +1 -0
  91. package/src/apis/VisitsApi.cjs +1 -0
  92. package/src/apis/VisitsApi.js +1 -0
  93. package/src/apis/WaasApi.cjs +5 -4
  94. package/src/apis/WaasApi.d.ts +4 -4
  95. package/src/apis/WaasApi.js +5 -4
  96. package/src/apis/WalletConnectApi.cjs +1 -0
  97. package/src/apis/WalletConnectApi.js +1 -0
  98. package/src/apis/WalletsApi.cjs +1 -0
  99. package/src/apis/WalletsApi.js +1 -0
  100. package/src/apis/WebhooksApi.cjs +1 -0
  101. package/src/apis/WebhooksApi.js +1 -0
  102. package/src/apis/YieldApi.cjs +1 -0
  103. package/src/apis/YieldApi.js +1 -0
  104. package/src/apis/ZendeskApi.cjs +1 -0
  105. package/src/apis/ZendeskApi.js +1 -0
  106. package/src/index.cjs +16 -0
  107. package/src/index.js +3 -0
  108. package/src/models/BusinessAccountActivityExport.cjs +53 -0
  109. package/src/models/BusinessAccountActivityExport.d.ts +66 -0
  110. package/src/models/BusinessAccountActivityExport.js +47 -0
  111. package/src/models/BusinessAccountActivityExportRequest.cjs +38 -0
  112. package/src/models/BusinessAccountActivityExportRequest.d.ts +40 -0
  113. package/src/models/BusinessAccountActivityExportRequest.js +32 -0
  114. package/src/models/Export.cjs +2 -0
  115. package/src/models/Export.d.ts +6 -0
  116. package/src/models/Export.js +2 -0
  117. package/src/models/ExportCreateRequest.cjs +4 -0
  118. package/src/models/ExportCreateRequest.d.ts +7 -0
  119. package/src/models/ExportCreateRequest.js +4 -0
  120. package/src/models/ExportCreateRequestFilter.cjs +44 -0
  121. package/src/models/ExportCreateRequestFilter.d.ts +62 -0
  122. package/src/models/ExportCreateRequestFilter.js +38 -0
  123. package/src/models/ExportModelEnum.cjs +1 -0
  124. package/src/models/ExportModelEnum.d.ts +2 -1
  125. package/src/models/ExportModelEnum.js +1 -0
  126. package/src/models/index.d.ts +3 -0
@@ -54,6 +54,7 @@ require('../models/UnprocessableEntityErrorCode.cjs');
54
54
  require('../models/ChainalysisCheckResultEnum.cjs');
55
55
  var BusinessAccount = require('../models/BusinessAccount.cjs');
56
56
  require('../models/BusinessAccountActionEnum.cjs');
57
+ require('../models/BusinessAccountActivityExport.cjs');
57
58
  var BusinessAccountMember = require('../models/BusinessAccountMember.cjs');
58
59
  require('../models/BusinessAccountApprovalRequirement.cjs');
59
60
  require('../models/BusinessAccountApprovalsPending.cjs');
@@ -50,6 +50,7 @@ import '../models/UnprocessableEntityErrorCode.js';
50
50
  import '../models/ChainalysisCheckResultEnum.js';
51
51
  import { BusinessAccountFromJSON } from '../models/BusinessAccount.js';
52
52
  import '../models/BusinessAccountActionEnum.js';
53
+ import '../models/BusinessAccountActivityExport.js';
53
54
  import { BusinessAccountMemberFromJSON } from '../models/BusinessAccountMember.js';
54
55
  import '../models/BusinessAccountApprovalRequirement.js';
55
56
  import '../models/BusinessAccountApprovalsPending.js';
@@ -53,6 +53,7 @@ require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  var Session = require('../models/Session.cjs');
55
55
  require('../models/BusinessAccountActionEnum.cjs');
56
+ require('../models/BusinessAccountActivityExport.cjs');
56
57
  require('../models/BusinessAccountApprovalRequirement.cjs');
57
58
  require('../models/BusinessAccountApprovalsPending.cjs');
58
59
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -49,6 +49,7 @@ import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import { SessionFromJSON } from '../models/Session.js';
51
51
  import '../models/BusinessAccountActionEnum.js';
52
+ import '../models/BusinessAccountActivityExport.js';
52
53
  import '../models/BusinessAccountApprovalRequirement.js';
53
54
  import '../models/BusinessAccountApprovalsPending.js';
54
55
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -53,6 +53,7 @@ var BulkUserCreateResponse = require('../models/BulkUserCreateResponse.cjs');
53
53
  require('../models/UnprocessableEntityErrorCode.cjs');
54
54
  require('../models/ChainalysisCheckResultEnum.cjs');
55
55
  require('../models/BusinessAccountActionEnum.cjs');
56
+ require('../models/BusinessAccountActivityExport.cjs');
56
57
  require('../models/BusinessAccountApprovalRequirement.cjs');
57
58
  require('../models/BusinessAccountApprovalsPending.cjs');
58
59
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -49,6 +49,7 @@ import { BulkUserCreateResponseFromJSON } from '../models/BulkUserCreateResponse
49
49
  import '../models/UnprocessableEntityErrorCode.js';
50
50
  import '../models/ChainalysisCheckResultEnum.js';
51
51
  import '../models/BusinessAccountActionEnum.js';
52
+ import '../models/BusinessAccountActivityExport.js';
52
53
  import '../models/BusinessAccountApprovalRequirement.js';
53
54
  import '../models/BusinessAccountApprovalsPending.js';
54
55
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -53,6 +53,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
53
53
  require('../models/UnprocessableEntityErrorCode.cjs');
54
54
  require('../models/ChainalysisCheckResultEnum.cjs');
55
55
  require('../models/BusinessAccountActionEnum.cjs');
56
+ require('../models/BusinessAccountActivityExport.cjs');
56
57
  require('../models/BusinessAccountApprovalRequirement.cjs');
57
58
  require('../models/BusinessAccountApprovalsPending.cjs');
58
59
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -1016,7 +1017,7 @@ class WaasApi extends runtime.BaseAPI {
1016
1017
  return await response.value();
1017
1018
  }
1018
1019
  /**
1019
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1020
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1020
1021
  * Update a wallet-Layer\'s Rules by ruleId
1021
1022
  */
1022
1023
  async updateWaasPolicyLayerRaw(requestParameters, initOverrides) {
@@ -1042,7 +1043,7 @@ class WaasApi extends runtime.BaseAPI {
1042
1043
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
1043
1044
  }
1044
1045
  /**
1045
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1046
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1046
1047
  * Update a wallet-Layer\'s Rules by ruleId
1047
1048
  */
1048
1049
  async updateWaasPolicyLayer(requestParameters, initOverrides) {
@@ -1050,7 +1051,7 @@ class WaasApi extends runtime.BaseAPI {
1050
1051
  return await response.value();
1051
1052
  }
1052
1053
  /**
1053
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1054
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1054
1055
  * Update a signer-Layer\'s Rules by ruleId
1055
1056
  */
1056
1057
  async updateWaasSignerPolicyLayerRaw(requestParameters, initOverrides) {
@@ -1076,7 +1077,7 @@ class WaasApi extends runtime.BaseAPI {
1076
1077
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
1077
1078
  }
1078
1079
  /**
1079
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1080
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1080
1081
  * Update a signer-Layer\'s Rules by ruleId
1081
1082
  */
1082
1083
  async updateWaasSignerPolicyLayer(requestParameters, initOverrides) {
@@ -394,22 +394,22 @@ export declare class WaasApi extends runtime.BaseAPI {
394
394
  */
395
395
  updateWaasPolicy(requestParameters: UpdateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
396
396
  /**
397
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
397
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
398
398
  * Update a wallet-Layer\'s Rules by ruleId
399
399
  */
400
400
  updateWaasPolicyLayerRaw(requestParameters: UpdateWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
401
401
  /**
402
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
402
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
403
403
  * Update a wallet-Layer\'s Rules by ruleId
404
404
  */
405
405
  updateWaasPolicyLayer(requestParameters: UpdateWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
406
406
  /**
407
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
407
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
408
408
  * Update a signer-Layer\'s Rules by ruleId
409
409
  */
410
410
  updateWaasSignerPolicyLayerRaw(requestParameters: UpdateWaasSignerPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
411
411
  /**
412
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
412
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
413
413
  * Update a signer-Layer\'s Rules by ruleId
414
414
  */
415
415
  updateWaasSignerPolicyLayer(requestParameters: UpdateWaasSignerPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -49,6 +49,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
49
49
  import '../models/UnprocessableEntityErrorCode.js';
50
50
  import '../models/ChainalysisCheckResultEnum.js';
51
51
  import '../models/BusinessAccountActionEnum.js';
52
+ import '../models/BusinessAccountActivityExport.js';
52
53
  import '../models/BusinessAccountApprovalRequirement.js';
53
54
  import '../models/BusinessAccountApprovalsPending.js';
54
55
  import '../models/BusinessAccountGovernedAction.js';
@@ -1012,7 +1013,7 @@ class WaasApi extends BaseAPI {
1012
1013
  return await response.value();
1013
1014
  }
1014
1015
  /**
1015
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1016
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1016
1017
  * Update a wallet-Layer\'s Rules by ruleId
1017
1018
  */
1018
1019
  async updateWaasPolicyLayerRaw(requestParameters, initOverrides) {
@@ -1038,7 +1039,7 @@ class WaasApi extends BaseAPI {
1038
1039
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
1039
1040
  }
1040
1041
  /**
1041
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1042
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the specified wallet\'s Composition Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1042
1043
  * Update a wallet-Layer\'s Rules by ruleId
1043
1044
  */
1044
1045
  async updateWaasPolicyLayer(requestParameters, initOverrides) {
@@ -1046,7 +1047,7 @@ class WaasApi extends BaseAPI {
1046
1047
  return await response.value();
1047
1048
  }
1048
1049
  /**
1049
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1050
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1050
1051
  * Update a signer-Layer\'s Rules by ruleId
1051
1052
  */
1052
1053
  async updateWaasSignerPolicyLayerRaw(requestParameters, initOverrides) {
@@ -1072,7 +1073,7 @@ class WaasApi extends BaseAPI {
1072
1073
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
1073
1074
  }
1074
1075
  /**
1075
- * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1076
+ * Applies a single per-Rule upsert or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the Composition Layer of the specified wallet\'s active Signer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules.
1076
1077
  * Update a signer-Layer\'s Rules by ruleId
1077
1078
  */
1078
1079
  async updateWaasSignerPolicyLayer(requestParameters, initOverrides) {
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -53,6 +53,7 @@ require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  var Wallet = require('../models/Wallet.cjs');
55
55
  require('../models/BusinessAccountActionEnum.cjs');
56
+ require('../models/BusinessAccountActivityExport.cjs');
56
57
  require('../models/BusinessAccountApprovalRequirement.cjs');
57
58
  require('../models/BusinessAccountApprovalsPending.cjs');
58
59
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -49,6 +49,7 @@ import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import { WalletFromJSON } from '../models/Wallet.js';
51
51
  import '../models/BusinessAccountActionEnum.js';
52
+ import '../models/BusinessAccountActivityExport.js';
52
53
  import '../models/BusinessAccountApprovalRequirement.js';
53
54
  import '../models/BusinessAccountApprovalsPending.js';
54
55
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
package/src/index.cjs CHANGED
@@ -142,6 +142,8 @@ var BulkUserCreateResponseFailed = require('./models/BulkUserCreateResponseFaile
142
142
  var BusinessAccount = require('./models/BusinessAccount.cjs');
143
143
  var BusinessAccountActionEnum = require('./models/BusinessAccountActionEnum.cjs');
144
144
  var BusinessAccountActivityEntry = require('./models/BusinessAccountActivityEntry.cjs');
145
+ var BusinessAccountActivityExport = require('./models/BusinessAccountActivityExport.cjs');
146
+ var BusinessAccountActivityExportRequest = require('./models/BusinessAccountActivityExportRequest.cjs');
145
147
  var BusinessAccountActivityResponse = require('./models/BusinessAccountActivityResponse.cjs');
146
148
  var BusinessAccountAdminDetail = require('./models/BusinessAccountAdminDetail.cjs');
147
149
  var BusinessAccountAdminDetailAllOf = require('./models/BusinessAccountAdminDetailAllOf.cjs');
@@ -331,6 +333,7 @@ var ExchangeUpdateRequest = require('./models/ExchangeUpdateRequest.cjs');
331
333
  var Export = require('./models/Export.cjs');
332
334
  var ExportAleoViewKeyRequest = require('./models/ExportAleoViewKeyRequest.cjs');
333
335
  var ExportCreateRequest = require('./models/ExportCreateRequest.cjs');
336
+ var ExportCreateRequestFilter = require('./models/ExportCreateRequestFilter.cjs');
334
337
  var ExportEmbeddedWalletResponse = require('./models/ExportEmbeddedWalletResponse.cjs');
335
338
  var ExportFormatEnum = require('./models/ExportFormatEnum.cjs');
336
339
  var ExportModelEnum = require('./models/ExportModelEnum.cjs');
@@ -1478,6 +1481,16 @@ exports.BusinessAccountActionEnumToJSON = BusinessAccountActionEnum.BusinessAcco
1478
1481
  exports.BusinessAccountActivityEntryFromJSON = BusinessAccountActivityEntry.BusinessAccountActivityEntryFromJSON;
1479
1482
  exports.BusinessAccountActivityEntryFromJSONTyped = BusinessAccountActivityEntry.BusinessAccountActivityEntryFromJSONTyped;
1480
1483
  exports.BusinessAccountActivityEntryToJSON = BusinessAccountActivityEntry.BusinessAccountActivityEntryToJSON;
1484
+ exports.BusinessAccountActivityExportFromJSON = BusinessAccountActivityExport.BusinessAccountActivityExportFromJSON;
1485
+ exports.BusinessAccountActivityExportFromJSONTyped = BusinessAccountActivityExport.BusinessAccountActivityExportFromJSONTyped;
1486
+ Object.defineProperty(exports, 'BusinessAccountActivityExportStatusEnum', {
1487
+ enumerable: true,
1488
+ get: function () { return BusinessAccountActivityExport.BusinessAccountActivityExportStatusEnum; }
1489
+ });
1490
+ exports.BusinessAccountActivityExportToJSON = BusinessAccountActivityExport.BusinessAccountActivityExportToJSON;
1491
+ exports.BusinessAccountActivityExportRequestFromJSON = BusinessAccountActivityExportRequest.BusinessAccountActivityExportRequestFromJSON;
1492
+ exports.BusinessAccountActivityExportRequestFromJSONTyped = BusinessAccountActivityExportRequest.BusinessAccountActivityExportRequestFromJSONTyped;
1493
+ exports.BusinessAccountActivityExportRequestToJSON = BusinessAccountActivityExportRequest.BusinessAccountActivityExportRequestToJSON;
1481
1494
  exports.BusinessAccountActivityResponseFromJSON = BusinessAccountActivityResponse.BusinessAccountActivityResponseFromJSON;
1482
1495
  exports.BusinessAccountActivityResponseFromJSONTyped = BusinessAccountActivityResponse.BusinessAccountActivityResponseFromJSONTyped;
1483
1496
  exports.BusinessAccountActivityResponseToJSON = BusinessAccountActivityResponse.BusinessAccountActivityResponseToJSON;
@@ -2213,6 +2226,9 @@ exports.ExportAleoViewKeyRequestToJSON = ExportAleoViewKeyRequest.ExportAleoView
2213
2226
  exports.ExportCreateRequestFromJSON = ExportCreateRequest.ExportCreateRequestFromJSON;
2214
2227
  exports.ExportCreateRequestFromJSONTyped = ExportCreateRequest.ExportCreateRequestFromJSONTyped;
2215
2228
  exports.ExportCreateRequestToJSON = ExportCreateRequest.ExportCreateRequestToJSON;
2229
+ exports.ExportCreateRequestFilterFromJSON = ExportCreateRequestFilter.ExportCreateRequestFilterFromJSON;
2230
+ exports.ExportCreateRequestFilterFromJSONTyped = ExportCreateRequestFilter.ExportCreateRequestFilterFromJSONTyped;
2231
+ exports.ExportCreateRequestFilterToJSON = ExportCreateRequestFilter.ExportCreateRequestFilterToJSON;
2216
2232
  exports.ExportEmbeddedWalletResponseFromJSON = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseFromJSON;
2217
2233
  exports.ExportEmbeddedWalletResponseFromJSONTyped = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseFromJSONTyped;
2218
2234
  exports.ExportEmbeddedWalletResponseToJSON = ExportEmbeddedWalletResponse.ExportEmbeddedWalletResponseToJSON;
package/src/index.js CHANGED
@@ -138,6 +138,8 @@ export { BulkUserCreateResponseFailedFromJSON, BulkUserCreateResponseFailedFromJ
138
138
  export { BusinessAccountFromJSON, BusinessAccountFromJSONTyped, BusinessAccountToJSON } from './models/BusinessAccount.js';
139
139
  export { BusinessAccountActionEnum, BusinessAccountActionEnumFromJSON, BusinessAccountActionEnumFromJSONTyped, BusinessAccountActionEnumToJSON } from './models/BusinessAccountActionEnum.js';
140
140
  export { BusinessAccountActivityEntryFromJSON, BusinessAccountActivityEntryFromJSONTyped, BusinessAccountActivityEntryToJSON } from './models/BusinessAccountActivityEntry.js';
141
+ export { BusinessAccountActivityExportFromJSON, BusinessAccountActivityExportFromJSONTyped, BusinessAccountActivityExportStatusEnum, BusinessAccountActivityExportToJSON } from './models/BusinessAccountActivityExport.js';
142
+ export { BusinessAccountActivityExportRequestFromJSON, BusinessAccountActivityExportRequestFromJSONTyped, BusinessAccountActivityExportRequestToJSON } from './models/BusinessAccountActivityExportRequest.js';
141
143
  export { BusinessAccountActivityResponseFromJSON, BusinessAccountActivityResponseFromJSONTyped, BusinessAccountActivityResponseToJSON } from './models/BusinessAccountActivityResponse.js';
142
144
  export { BusinessAccountAdminDetailFromJSON, BusinessAccountAdminDetailFromJSONTyped, BusinessAccountAdminDetailToJSON } from './models/BusinessAccountAdminDetail.js';
143
145
  export { BusinessAccountAdminDetailAllOfFromJSON, BusinessAccountAdminDetailAllOfFromJSONTyped, BusinessAccountAdminDetailAllOfToJSON } from './models/BusinessAccountAdminDetailAllOf.js';
@@ -327,6 +329,7 @@ export { ExchangeUpdateRequestFromJSON, ExchangeUpdateRequestFromJSONTyped, Exch
327
329
  export { ExportFromJSON, ExportFromJSONTyped, ExportToJSON } from './models/Export.js';
328
330
  export { ExportAleoViewKeyRequestFromJSON, ExportAleoViewKeyRequestFromJSONTyped, ExportAleoViewKeyRequestToJSON } from './models/ExportAleoViewKeyRequest.js';
329
331
  export { ExportCreateRequestFromJSON, ExportCreateRequestFromJSONTyped, ExportCreateRequestToJSON } from './models/ExportCreateRequest.js';
332
+ export { ExportCreateRequestFilterFromJSON, ExportCreateRequestFilterFromJSONTyped, ExportCreateRequestFilterToJSON } from './models/ExportCreateRequestFilter.js';
330
333
  export { ExportEmbeddedWalletResponseFromJSON, ExportEmbeddedWalletResponseFromJSONTyped, ExportEmbeddedWalletResponseToJSON } from './models/ExportEmbeddedWalletResponse.js';
331
334
  export { ExportFormatEnum, ExportFormatEnumFromJSON, ExportFormatEnumFromJSONTyped, ExportFormatEnumToJSON } from './models/ExportFormatEnum.js';
332
335
  export { ExportModelEnum, ExportModelEnumFromJSON, ExportModelEnumFromJSONTyped, ExportModelEnumToJSON } from './models/ExportModelEnum.js';
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ /**
9
+ * @export
10
+ * @enum {string}
11
+ */
12
+ exports.BusinessAccountActivityExportStatusEnum = void 0;
13
+ (function (BusinessAccountActivityExportStatusEnum) {
14
+ BusinessAccountActivityExportStatusEnum["Completed"] = "completed";
15
+ BusinessAccountActivityExportStatusEnum["Failed"] = "failed";
16
+ BusinessAccountActivityExportStatusEnum["Pending"] = "pending";
17
+ })(exports.BusinessAccountActivityExportStatusEnum || (exports.BusinessAccountActivityExportStatusEnum = {}));
18
+ function BusinessAccountActivityExportFromJSON(json) {
19
+ return BusinessAccountActivityExportFromJSONTyped(json);
20
+ }
21
+ function BusinessAccountActivityExportFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'id': json['id'],
27
+ 'status': json['status'],
28
+ 'createdAt': (new Date(json['createdAt'])),
29
+ 'completedAt': !runtime.exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
30
+ 'downloadUrl': !runtime.exists(json, 'downloadUrl') ? undefined : json['downloadUrl'],
31
+ 'error': !runtime.exists(json, 'error') ? undefined : json['error'],
32
+ };
33
+ }
34
+ function BusinessAccountActivityExportToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'id': value.id,
43
+ 'status': value.status,
44
+ 'createdAt': (value.createdAt.toISOString()),
45
+ 'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
46
+ 'downloadUrl': value.downloadUrl,
47
+ 'error': value.error,
48
+ };
49
+ }
50
+
51
+ exports.BusinessAccountActivityExportFromJSON = BusinessAccountActivityExportFromJSON;
52
+ exports.BusinessAccountActivityExportFromJSONTyped = BusinessAccountActivityExportFromJSONTyped;
53
+ exports.BusinessAccountActivityExportToJSON = BusinessAccountActivityExportToJSON;
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
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 BusinessAccountActivityExport
16
+ */
17
+ export interface BusinessAccountActivityExport {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BusinessAccountActivityExport
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BusinessAccountActivityExport
28
+ */
29
+ status: BusinessAccountActivityExportStatusEnum;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof BusinessAccountActivityExport
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof BusinessAccountActivityExport
40
+ */
41
+ completedAt?: Date | null;
42
+ /**
43
+ * Pre-signed URL to download the exported CSV (available after completion)
44
+ * @type {string}
45
+ * @memberof BusinessAccountActivityExport
46
+ */
47
+ downloadUrl?: string;
48
+ /**
49
+ * Error message when status is failed
50
+ * @type {string}
51
+ * @memberof BusinessAccountActivityExport
52
+ */
53
+ error?: string;
54
+ }
55
+ /**
56
+ * @export
57
+ * @enum {string}
58
+ */
59
+ export declare enum BusinessAccountActivityExportStatusEnum {
60
+ Completed = "completed",
61
+ Failed = "failed",
62
+ Pending = "pending"
63
+ }
64
+ export declare function BusinessAccountActivityExportFromJSON(json: any): BusinessAccountActivityExport;
65
+ export declare function BusinessAccountActivityExportFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountActivityExport;
66
+ export declare function BusinessAccountActivityExportToJSON(value?: BusinessAccountActivityExport | null): any;
@@ -0,0 +1,47 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var BusinessAccountActivityExportStatusEnum;
9
+ (function (BusinessAccountActivityExportStatusEnum) {
10
+ BusinessAccountActivityExportStatusEnum["Completed"] = "completed";
11
+ BusinessAccountActivityExportStatusEnum["Failed"] = "failed";
12
+ BusinessAccountActivityExportStatusEnum["Pending"] = "pending";
13
+ })(BusinessAccountActivityExportStatusEnum || (BusinessAccountActivityExportStatusEnum = {}));
14
+ function BusinessAccountActivityExportFromJSON(json) {
15
+ return BusinessAccountActivityExportFromJSONTyped(json);
16
+ }
17
+ function BusinessAccountActivityExportFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'id': json['id'],
23
+ 'status': json['status'],
24
+ 'createdAt': (new Date(json['createdAt'])),
25
+ 'completedAt': !exists(json, 'completedAt') ? undefined : (json['completedAt'] === null ? null : new Date(json['completedAt'])),
26
+ 'downloadUrl': !exists(json, 'downloadUrl') ? undefined : json['downloadUrl'],
27
+ 'error': !exists(json, 'error') ? undefined : json['error'],
28
+ };
29
+ }
30
+ function BusinessAccountActivityExportToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'id': value.id,
39
+ 'status': value.status,
40
+ 'createdAt': (value.createdAt.toISOString()),
41
+ 'completedAt': value.completedAt === undefined ? undefined : (value.completedAt === null ? null : value.completedAt.toISOString()),
42
+ 'downloadUrl': value.downloadUrl,
43
+ 'error': value.error,
44
+ };
45
+ }
46
+
47
+ export { BusinessAccountActivityExportFromJSON, BusinessAccountActivityExportFromJSONTyped, BusinessAccountActivityExportStatusEnum, BusinessAccountActivityExportToJSON };