@dynamic-labs/sdk-api 0.24.0 → 0.26.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 (150) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +4 -0
  3. package/src/apis/AdminActionsApi.js +4 -0
  4. package/src/apis/AllowlistsApi.cjs +4 -0
  5. package/src/apis/AllowlistsApi.js +4 -0
  6. package/src/apis/AnalyticsApi.cjs +4 -0
  7. package/src/apis/AnalyticsApi.js +4 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +4 -0
  9. package/src/apis/AuthorizedClientsApi.js +4 -0
  10. package/src/apis/BusinessAccountsApi.cjs +4 -0
  11. package/src/apis/BusinessAccountsApi.js +4 -0
  12. package/src/apis/CaptchaApi.cjs +4 -0
  13. package/src/apis/CaptchaApi.js +4 -0
  14. package/src/apis/ChainalysisApi.cjs +4 -0
  15. package/src/apis/ChainalysisApi.js +4 -0
  16. package/src/apis/ChainsApi.cjs +4 -0
  17. package/src/apis/ChainsApi.js +4 -0
  18. package/src/apis/CheckoutApi.cjs +4 -0
  19. package/src/apis/CheckoutApi.js +4 -0
  20. package/src/apis/ClientGrantApi.cjs +4 -0
  21. package/src/apis/ClientGrantApi.js +4 -0
  22. package/src/apis/CustomFieldsApi.cjs +4 -0
  23. package/src/apis/CustomFieldsApi.js +4 -0
  24. package/src/apis/CustomHostnamesApi.cjs +4 -0
  25. package/src/apis/CustomHostnamesApi.js +4 -0
  26. package/src/apis/CustomNetworksApi.cjs +4 -0
  27. package/src/apis/CustomNetworksApi.js +4 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +4 -0
  29. package/src/apis/DeeplinkUrlsApi.js +4 -0
  30. package/src/apis/EnvironmentsApi.cjs +4 -0
  31. package/src/apis/EnvironmentsApi.js +4 -0
  32. package/src/apis/EventsApi.cjs +4 -0
  33. package/src/apis/EventsApi.js +4 -0
  34. package/src/apis/ExchangesApi.cjs +4 -0
  35. package/src/apis/ExchangesApi.js +4 -0
  36. package/src/apis/ExportsApi.cjs +4 -0
  37. package/src/apis/ExportsApi.js +4 -0
  38. package/src/apis/ExternalJwtApi.cjs +4 -0
  39. package/src/apis/ExternalJwtApi.js +4 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +4 -0
  41. package/src/apis/FlowAnalyticsApi.js +4 -0
  42. package/src/apis/GaslessApi.cjs +4 -0
  43. package/src/apis/GaslessApi.js +4 -0
  44. package/src/apis/GatesApi.cjs +4 -0
  45. package/src/apis/GatesApi.js +4 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +4 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +4 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +4 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +4 -0
  50. package/src/apis/GlobalWalletsApi.cjs +4 -0
  51. package/src/apis/GlobalWalletsApi.js +4 -0
  52. package/src/apis/InvitesApi.cjs +4 -0
  53. package/src/apis/InvitesApi.js +4 -0
  54. package/src/apis/KybApi.cjs +4 -0
  55. package/src/apis/KybApi.js +4 -0
  56. package/src/apis/MembersApi.cjs +4 -0
  57. package/src/apis/MembersApi.js +4 -0
  58. package/src/apis/MfaSettingsApi.cjs +4 -0
  59. package/src/apis/MfaSettingsApi.js +4 -0
  60. package/src/apis/NameServicesApi.cjs +4 -0
  61. package/src/apis/NameServicesApi.js +4 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +4 -0
  63. package/src/apis/OrganizationSettingsApi.js +4 -0
  64. package/src/apis/OrganizationsApi.cjs +4 -0
  65. package/src/apis/OrganizationsApi.js +4 -0
  66. package/src/apis/OriginsApi.cjs +4 -0
  67. package/src/apis/OriginsApi.js +4 -0
  68. package/src/apis/ProjectsApi.cjs +4 -0
  69. package/src/apis/ProjectsApi.js +4 -0
  70. package/src/apis/ProvidersApi.cjs +4 -0
  71. package/src/apis/ProvidersApi.js +4 -0
  72. package/src/apis/SDKApi.cjs +4 -0
  73. package/src/apis/SDKApi.js +4 -0
  74. package/src/apis/SDKViewsApi.cjs +4 -0
  75. package/src/apis/SDKViewsApi.js +4 -0
  76. package/src/apis/ScreeningPoliciesApi.cjs +428 -0
  77. package/src/apis/ScreeningPoliciesApi.d.ts +110 -0
  78. package/src/apis/ScreeningPoliciesApi.js +424 -0
  79. package/src/apis/ServerApi.cjs +4 -0
  80. package/src/apis/ServerApi.js +4 -0
  81. package/src/apis/SessionsApi.cjs +4 -0
  82. package/src/apis/SessionsApi.js +4 -0
  83. package/src/apis/TestAccountApi.cjs +4 -0
  84. package/src/apis/TestAccountApi.js +4 -0
  85. package/src/apis/TokensApi.cjs +4 -0
  86. package/src/apis/TokensApi.js +4 -0
  87. package/src/apis/UserApiTokensApi.cjs +4 -0
  88. package/src/apis/UserApiTokensApi.js +4 -0
  89. package/src/apis/UsersApi.cjs +4 -0
  90. package/src/apis/UsersApi.js +4 -0
  91. package/src/apis/VisitsApi.cjs +4 -0
  92. package/src/apis/VisitsApi.js +4 -0
  93. package/src/apis/WaasApi.cjs +4 -0
  94. package/src/apis/WaasApi.js +4 -0
  95. package/src/apis/WalletConnectApi.cjs +4 -0
  96. package/src/apis/WalletConnectApi.js +4 -0
  97. package/src/apis/WalletsApi.cjs +4 -0
  98. package/src/apis/WalletsApi.js +4 -0
  99. package/src/apis/WebhooksApi.cjs +4 -0
  100. package/src/apis/WebhooksApi.js +4 -0
  101. package/src/apis/YieldApi.cjs +4 -0
  102. package/src/apis/YieldApi.js +4 -0
  103. package/src/apis/ZendeskApi.cjs +4 -0
  104. package/src/apis/ZendeskApi.js +4 -0
  105. package/src/apis/index.d.ts +1 -0
  106. package/src/index.cjs +58 -0
  107. package/src/index.js +11 -0
  108. package/src/models/Flow.cjs +3 -2
  109. package/src/models/Flow.d.ts +4 -3
  110. package/src/models/Flow.js +3 -2
  111. package/src/models/FlowCreateRequest.cjs +3 -2
  112. package/src/models/FlowCreateRequest.d.ts +4 -3
  113. package/src/models/FlowCreateRequest.js +3 -2
  114. package/src/models/FlowExecutionStateEnum.cjs +1 -0
  115. package/src/models/FlowExecutionStateEnum.d.ts +1 -0
  116. package/src/models/FlowExecutionStateEnum.js +1 -0
  117. package/src/models/FlowPaymentLinkCreateRequest.cjs +3 -2
  118. package/src/models/FlowPaymentLinkCreateRequest.d.ts +4 -3
  119. package/src/models/FlowPaymentLinkCreateRequest.js +3 -2
  120. package/src/models/FlowUIConfig.cjs +33 -0
  121. package/src/models/FlowUIConfig.d.ts +27 -0
  122. package/src/models/FlowUIConfig.js +27 -0
  123. package/src/models/ScreeningAddressDisposition.cjs +42 -0
  124. package/src/models/ScreeningAddressDisposition.d.ts +25 -0
  125. package/src/models/ScreeningAddressDisposition.js +36 -0
  126. package/src/models/ScreeningAddressScopeEnum.cjs +45 -0
  127. package/src/models/ScreeningAddressScopeEnum.d.ts +28 -0
  128. package/src/models/ScreeningAddressScopeEnum.js +39 -0
  129. package/src/models/ScreeningPolicy.cjs +49 -0
  130. package/src/models/ScreeningPolicy.d.ts +82 -0
  131. package/src/models/ScreeningPolicy.js +43 -0
  132. package/src/models/ScreeningPolicyAddress.cjs +48 -0
  133. package/src/models/ScreeningPolicyAddress.d.ts +71 -0
  134. package/src/models/ScreeningPolicyAddress.js +42 -0
  135. package/src/models/ScreeningPolicyAddressCreateRequest.cjs +44 -0
  136. package/src/models/ScreeningPolicyAddressCreateRequest.d.ts +54 -0
  137. package/src/models/ScreeningPolicyAddressCreateRequest.js +38 -0
  138. package/src/models/ScreeningPolicyAddressesResponse.cjs +35 -0
  139. package/src/models/ScreeningPolicyAddressesResponse.d.ts +34 -0
  140. package/src/models/ScreeningPolicyAddressesResponse.js +29 -0
  141. package/src/models/ScreeningPolicyProviderEnum.cjs +43 -0
  142. package/src/models/ScreeningPolicyProviderEnum.d.ts +26 -0
  143. package/src/models/ScreeningPolicyProviderEnum.js +37 -0
  144. package/src/models/ScreeningPolicyScopeEnum.cjs +44 -0
  145. package/src/models/ScreeningPolicyScopeEnum.d.ts +27 -0
  146. package/src/models/ScreeningPolicyScopeEnum.js +38 -0
  147. package/src/models/ScreeningPolicyUpdateRequest.cjs +35 -0
  148. package/src/models/ScreeningPolicyUpdateRequest.d.ts +48 -0
  149. package/src/models/ScreeningPolicyUpdateRequest.js +29 -0
  150. package/src/models/index.d.ts +10 -0
@@ -137,6 +137,10 @@ import '../models/PublishEventsEvents.js';
137
137
  import '../models/ReshareKind.js';
138
138
  import '../models/SanctionsWalletBlockedEventPayload.js';
139
139
  import '../models/ScreenTransactionResponse.js';
140
+ import '../models/ScreeningAddressDisposition.js';
141
+ import '../models/ScreeningAddressScopeEnum.js';
142
+ import '../models/ScreeningPolicyProviderEnum.js';
143
+ import '../models/ScreeningPolicyScopeEnum.js';
140
144
  import '../models/SignMessageRawSign.js';
141
145
  import '../models/SsoProviderEnum.js';
142
146
  import '../models/SsoProviderCheckResponse.js';
@@ -145,6 +145,10 @@ require('../models/PublishEventsEvents.cjs');
145
145
  require('../models/ReshareKind.cjs');
146
146
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
147
147
  require('../models/ScreenTransactionResponse.cjs');
148
+ require('../models/ScreeningAddressDisposition.cjs');
149
+ require('../models/ScreeningAddressScopeEnum.cjs');
150
+ require('../models/ScreeningPolicyProviderEnum.cjs');
151
+ require('../models/ScreeningPolicyScopeEnum.cjs');
148
152
  require('../models/SignMessageRawSign.cjs');
149
153
  require('../models/SsoProviderEnum.cjs');
150
154
  require('../models/SsoProviderCheckResponse.cjs');
@@ -141,6 +141,10 @@ import '../models/PublishEventsEvents.js';
141
141
  import '../models/ReshareKind.js';
142
142
  import '../models/SanctionsWalletBlockedEventPayload.js';
143
143
  import '../models/ScreenTransactionResponse.js';
144
+ import '../models/ScreeningAddressDisposition.js';
145
+ import '../models/ScreeningAddressScopeEnum.js';
146
+ import '../models/ScreeningPolicyProviderEnum.js';
147
+ import '../models/ScreeningPolicyScopeEnum.js';
144
148
  import '../models/SignMessageRawSign.js';
145
149
  import '../models/SsoProviderEnum.js';
146
150
  import '../models/SsoProviderCheckResponse.js';
@@ -141,6 +141,10 @@ require('../models/PublishEventsEvents.cjs');
141
141
  require('../models/ReshareKind.cjs');
142
142
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
143
143
  require('../models/ScreenTransactionResponse.cjs');
144
+ require('../models/ScreeningAddressDisposition.cjs');
145
+ require('../models/ScreeningAddressScopeEnum.cjs');
146
+ require('../models/ScreeningPolicyProviderEnum.cjs');
147
+ require('../models/ScreeningPolicyScopeEnum.cjs');
144
148
  require('../models/SignMessageRawSign.cjs');
145
149
  require('../models/SsoProviderEnum.cjs');
146
150
  require('../models/SsoProviderCheckResponse.cjs');
@@ -137,6 +137,10 @@ import '../models/PublishEventsEvents.js';
137
137
  import '../models/ReshareKind.js';
138
138
  import '../models/SanctionsWalletBlockedEventPayload.js';
139
139
  import '../models/ScreenTransactionResponse.js';
140
+ import '../models/ScreeningAddressDisposition.js';
141
+ import '../models/ScreeningAddressScopeEnum.js';
142
+ import '../models/ScreeningPolicyProviderEnum.js';
143
+ import '../models/ScreeningPolicyScopeEnum.js';
140
144
  import '../models/SignMessageRawSign.js';
141
145
  import '../models/SsoProviderEnum.js';
142
146
  import '../models/SsoProviderCheckResponse.js';
@@ -141,6 +141,10 @@ require('../models/PublishEventsEvents.cjs');
141
141
  require('../models/ReshareKind.cjs');
142
142
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
143
143
  require('../models/ScreenTransactionResponse.cjs');
144
+ require('../models/ScreeningAddressDisposition.cjs');
145
+ require('../models/ScreeningAddressScopeEnum.cjs');
146
+ require('../models/ScreeningPolicyProviderEnum.cjs');
147
+ require('../models/ScreeningPolicyScopeEnum.cjs');
144
148
  require('../models/SignMessageRawSign.cjs');
145
149
  require('../models/SsoProviderEnum.cjs');
146
150
  require('../models/SsoProviderCheckResponse.cjs');
@@ -137,6 +137,10 @@ import '../models/PublishEventsEvents.js';
137
137
  import '../models/ReshareKind.js';
138
138
  import '../models/SanctionsWalletBlockedEventPayload.js';
139
139
  import '../models/ScreenTransactionResponse.js';
140
+ import '../models/ScreeningAddressDisposition.js';
141
+ import '../models/ScreeningAddressScopeEnum.js';
142
+ import '../models/ScreeningPolicyProviderEnum.js';
143
+ import '../models/ScreeningPolicyScopeEnum.js';
140
144
  import '../models/SignMessageRawSign.js';
141
145
  import '../models/SsoProviderEnum.js';
142
146
  import '../models/SsoProviderCheckResponse.js';
@@ -141,6 +141,10 @@ require('../models/PublishEventsEvents.cjs');
141
141
  require('../models/ReshareKind.cjs');
142
142
  require('../models/SanctionsWalletBlockedEventPayload.cjs');
143
143
  require('../models/ScreenTransactionResponse.cjs');
144
+ require('../models/ScreeningAddressDisposition.cjs');
145
+ require('../models/ScreeningAddressScopeEnum.cjs');
146
+ require('../models/ScreeningPolicyProviderEnum.cjs');
147
+ require('../models/ScreeningPolicyScopeEnum.cjs');
144
148
  require('../models/SignMessageRawSign.cjs');
145
149
  require('../models/SsoProviderEnum.cjs');
146
150
  require('../models/SsoProviderCheckResponse.cjs');
@@ -137,6 +137,10 @@ import '../models/PublishEventsEvents.js';
137
137
  import '../models/ReshareKind.js';
138
138
  import '../models/SanctionsWalletBlockedEventPayload.js';
139
139
  import '../models/ScreenTransactionResponse.js';
140
+ import '../models/ScreeningAddressDisposition.js';
141
+ import '../models/ScreeningAddressScopeEnum.js';
142
+ import '../models/ScreeningPolicyProviderEnum.js';
143
+ import '../models/ScreeningPolicyScopeEnum.js';
140
144
  import '../models/SignMessageRawSign.js';
141
145
  import '../models/SsoProviderEnum.js';
142
146
  import '../models/SsoProviderCheckResponse.js';
@@ -36,6 +36,7 @@ export * from './ProjectsApi';
36
36
  export * from './ProvidersApi';
37
37
  export * from './SDKApi';
38
38
  export * from './SDKViewsApi';
39
+ export * from './ScreeningPoliciesApi';
39
40
  export * from './ServerApi';
40
41
  export * from './SessionsApi';
41
42
  export * from './TestAccountApi';
package/src/index.cjs CHANGED
@@ -41,6 +41,7 @@ var ProjectsApi = require('./apis/ProjectsApi.cjs');
41
41
  var ProvidersApi = require('./apis/ProvidersApi.cjs');
42
42
  var SDKApi = require('./apis/SDKApi.cjs');
43
43
  var SDKViewsApi = require('./apis/SDKViewsApi.cjs');
44
+ var ScreeningPoliciesApi = require('./apis/ScreeningPoliciesApi.cjs');
44
45
  var ServerApi = require('./apis/ServerApi.cjs');
45
46
  var SessionsApi = require('./apis/SessionsApi.cjs');
46
47
  var TestAccountApi = require('./apis/TestAccountApi.cjs');
@@ -376,6 +377,7 @@ var FlowSettlementStateEnum = require('./models/FlowSettlementStateEnum.cjs');
376
377
  var FlowSourceResponse = require('./models/FlowSourceResponse.cjs');
377
378
  var FlowSourceTypeEnum = require('./models/FlowSourceTypeEnum.cjs');
378
379
  var FlowTokenInfo = require('./models/FlowTokenInfo.cjs');
380
+ var FlowUIConfig = require('./models/FlowUIConfig.cjs');
379
381
  var Forbidden = require('./models/Forbidden.cjs');
380
382
  var ForbiddenErrorPayload = require('./models/ForbiddenErrorPayload.cjs');
381
383
  var ForbiddenWithErrorAndPayload = require('./models/ForbiddenWithErrorAndPayload.cjs');
@@ -689,8 +691,17 @@ var ScreenTransactionRequestContextSuiTransaction = require('./models/ScreenTran
689
691
  var ScreenTransactionRequestContextSvmTransaction = require('./models/ScreenTransactionRequestContextSvmTransaction.cjs');
690
692
  var ScreenTransactionRequestContextTronTransaction = require('./models/ScreenTransactionRequestContextTronTransaction.cjs');
691
693
  var ScreenTransactionResponse = require('./models/ScreenTransactionResponse.cjs');
694
+ var ScreeningAddressDisposition = require('./models/ScreeningAddressDisposition.cjs');
695
+ var ScreeningAddressScopeEnum = require('./models/ScreeningAddressScopeEnum.cjs');
692
696
  var ScreeningCoreField = require('./models/ScreeningCoreField.cjs');
693
697
  var ScreeningOperator = require('./models/ScreeningOperator.cjs');
698
+ var ScreeningPolicy = require('./models/ScreeningPolicy.cjs');
699
+ var ScreeningPolicyAddress = require('./models/ScreeningPolicyAddress.cjs');
700
+ var ScreeningPolicyAddressCreateRequest = require('./models/ScreeningPolicyAddressCreateRequest.cjs');
701
+ var ScreeningPolicyAddressesResponse = require('./models/ScreeningPolicyAddressesResponse.cjs');
702
+ var ScreeningPolicyProviderEnum = require('./models/ScreeningPolicyProviderEnum.cjs');
703
+ var ScreeningPolicyScopeEnum = require('./models/ScreeningPolicyScopeEnum.cjs');
704
+ var ScreeningPolicyUpdateRequest = require('./models/ScreeningPolicyUpdateRequest.cjs');
694
705
  var ScreeningPostScreenAction = require('./models/ScreeningPostScreenAction.cjs');
695
706
  var ScreeningPreScreenAction = require('./models/ScreeningPreScreenAction.cjs');
696
707
  var ScreeningPreScreenNode = require('./models/ScreeningPreScreenNode.cjs');
@@ -1052,6 +1063,7 @@ Object.defineProperty(exports, 'SubmitAleoProverEncryptedOptionsNetworkEnum', {
1052
1063
  get: function () { return SDKApi.SubmitAleoProverEncryptedOptionsNetworkEnum; }
1053
1064
  });
1054
1065
  exports.SDKViewsApi = SDKViewsApi.SDKViewsApi;
1066
+ exports.ScreeningPoliciesApi = ScreeningPoliciesApi.ScreeningPoliciesApi;
1055
1067
  exports.ServerApi = ServerApi.ServerApi;
1056
1068
  exports.SessionsApi = SessionsApi.SessionsApi;
1057
1069
  exports.TestAccountApi = TestAccountApi.TestAccountApi;
@@ -2283,6 +2295,9 @@ exports.FlowSourceTypeEnumToJSON = FlowSourceTypeEnum.FlowSourceTypeEnumToJSON;
2283
2295
  exports.FlowTokenInfoFromJSON = FlowTokenInfo.FlowTokenInfoFromJSON;
2284
2296
  exports.FlowTokenInfoFromJSONTyped = FlowTokenInfo.FlowTokenInfoFromJSONTyped;
2285
2297
  exports.FlowTokenInfoToJSON = FlowTokenInfo.FlowTokenInfoToJSON;
2298
+ exports.FlowUIConfigFromJSON = FlowUIConfig.FlowUIConfigFromJSON;
2299
+ exports.FlowUIConfigFromJSONTyped = FlowUIConfig.FlowUIConfigFromJSONTyped;
2300
+ exports.FlowUIConfigToJSON = FlowUIConfig.FlowUIConfigToJSON;
2286
2301
  exports.ForbiddenFromJSON = Forbidden.ForbiddenFromJSON;
2287
2302
  exports.ForbiddenFromJSONTyped = Forbidden.ForbiddenFromJSONTyped;
2288
2303
  exports.ForbiddenToJSON = Forbidden.ForbiddenToJSON;
@@ -3426,6 +3441,20 @@ Object.defineProperty(exports, 'ScreenTransactionResponseDecisionEnum', {
3426
3441
  exports.ScreenTransactionResponseFromJSON = ScreenTransactionResponse.ScreenTransactionResponseFromJSON;
3427
3442
  exports.ScreenTransactionResponseFromJSONTyped = ScreenTransactionResponse.ScreenTransactionResponseFromJSONTyped;
3428
3443
  exports.ScreenTransactionResponseToJSON = ScreenTransactionResponse.ScreenTransactionResponseToJSON;
3444
+ Object.defineProperty(exports, 'ScreeningAddressDisposition', {
3445
+ enumerable: true,
3446
+ get: function () { return ScreeningAddressDisposition.ScreeningAddressDisposition; }
3447
+ });
3448
+ exports.ScreeningAddressDispositionFromJSON = ScreeningAddressDisposition.ScreeningAddressDispositionFromJSON;
3449
+ exports.ScreeningAddressDispositionFromJSONTyped = ScreeningAddressDisposition.ScreeningAddressDispositionFromJSONTyped;
3450
+ exports.ScreeningAddressDispositionToJSON = ScreeningAddressDisposition.ScreeningAddressDispositionToJSON;
3451
+ Object.defineProperty(exports, 'ScreeningAddressScopeEnum', {
3452
+ enumerable: true,
3453
+ get: function () { return ScreeningAddressScopeEnum.ScreeningAddressScopeEnum; }
3454
+ });
3455
+ exports.ScreeningAddressScopeEnumFromJSON = ScreeningAddressScopeEnum.ScreeningAddressScopeEnumFromJSON;
3456
+ exports.ScreeningAddressScopeEnumFromJSONTyped = ScreeningAddressScopeEnum.ScreeningAddressScopeEnumFromJSONTyped;
3457
+ exports.ScreeningAddressScopeEnumToJSON = ScreeningAddressScopeEnum.ScreeningAddressScopeEnumToJSON;
3429
3458
  Object.defineProperty(exports, 'ScreeningCoreField', {
3430
3459
  enumerable: true,
3431
3460
  get: function () { return ScreeningCoreField.ScreeningCoreField; }
@@ -3440,6 +3469,35 @@ Object.defineProperty(exports, 'ScreeningOperator', {
3440
3469
  exports.ScreeningOperatorFromJSON = ScreeningOperator.ScreeningOperatorFromJSON;
3441
3470
  exports.ScreeningOperatorFromJSONTyped = ScreeningOperator.ScreeningOperatorFromJSONTyped;
3442
3471
  exports.ScreeningOperatorToJSON = ScreeningOperator.ScreeningOperatorToJSON;
3472
+ exports.ScreeningPolicyFromJSON = ScreeningPolicy.ScreeningPolicyFromJSON;
3473
+ exports.ScreeningPolicyFromJSONTyped = ScreeningPolicy.ScreeningPolicyFromJSONTyped;
3474
+ exports.ScreeningPolicyToJSON = ScreeningPolicy.ScreeningPolicyToJSON;
3475
+ exports.ScreeningPolicyAddressFromJSON = ScreeningPolicyAddress.ScreeningPolicyAddressFromJSON;
3476
+ exports.ScreeningPolicyAddressFromJSONTyped = ScreeningPolicyAddress.ScreeningPolicyAddressFromJSONTyped;
3477
+ exports.ScreeningPolicyAddressToJSON = ScreeningPolicyAddress.ScreeningPolicyAddressToJSON;
3478
+ exports.ScreeningPolicyAddressCreateRequestFromJSON = ScreeningPolicyAddressCreateRequest.ScreeningPolicyAddressCreateRequestFromJSON;
3479
+ exports.ScreeningPolicyAddressCreateRequestFromJSONTyped = ScreeningPolicyAddressCreateRequest.ScreeningPolicyAddressCreateRequestFromJSONTyped;
3480
+ exports.ScreeningPolicyAddressCreateRequestToJSON = ScreeningPolicyAddressCreateRequest.ScreeningPolicyAddressCreateRequestToJSON;
3481
+ exports.ScreeningPolicyAddressesResponseFromJSON = ScreeningPolicyAddressesResponse.ScreeningPolicyAddressesResponseFromJSON;
3482
+ exports.ScreeningPolicyAddressesResponseFromJSONTyped = ScreeningPolicyAddressesResponse.ScreeningPolicyAddressesResponseFromJSONTyped;
3483
+ exports.ScreeningPolicyAddressesResponseToJSON = ScreeningPolicyAddressesResponse.ScreeningPolicyAddressesResponseToJSON;
3484
+ Object.defineProperty(exports, 'ScreeningPolicyProviderEnum', {
3485
+ enumerable: true,
3486
+ get: function () { return ScreeningPolicyProviderEnum.ScreeningPolicyProviderEnum; }
3487
+ });
3488
+ exports.ScreeningPolicyProviderEnumFromJSON = ScreeningPolicyProviderEnum.ScreeningPolicyProviderEnumFromJSON;
3489
+ exports.ScreeningPolicyProviderEnumFromJSONTyped = ScreeningPolicyProviderEnum.ScreeningPolicyProviderEnumFromJSONTyped;
3490
+ exports.ScreeningPolicyProviderEnumToJSON = ScreeningPolicyProviderEnum.ScreeningPolicyProviderEnumToJSON;
3491
+ Object.defineProperty(exports, 'ScreeningPolicyScopeEnum', {
3492
+ enumerable: true,
3493
+ get: function () { return ScreeningPolicyScopeEnum.ScreeningPolicyScopeEnum; }
3494
+ });
3495
+ exports.ScreeningPolicyScopeEnumFromJSON = ScreeningPolicyScopeEnum.ScreeningPolicyScopeEnumFromJSON;
3496
+ exports.ScreeningPolicyScopeEnumFromJSONTyped = ScreeningPolicyScopeEnum.ScreeningPolicyScopeEnumFromJSONTyped;
3497
+ exports.ScreeningPolicyScopeEnumToJSON = ScreeningPolicyScopeEnum.ScreeningPolicyScopeEnumToJSON;
3498
+ exports.ScreeningPolicyUpdateRequestFromJSON = ScreeningPolicyUpdateRequest.ScreeningPolicyUpdateRequestFromJSON;
3499
+ exports.ScreeningPolicyUpdateRequestFromJSONTyped = ScreeningPolicyUpdateRequest.ScreeningPolicyUpdateRequestFromJSONTyped;
3500
+ exports.ScreeningPolicyUpdateRequestToJSON = ScreeningPolicyUpdateRequest.ScreeningPolicyUpdateRequestToJSON;
3443
3501
  Object.defineProperty(exports, 'ScreeningPostScreenAction', {
3444
3502
  enumerable: true,
3445
3503
  get: function () { return ScreeningPostScreenAction.ScreeningPostScreenAction; }
package/src/index.js CHANGED
@@ -37,6 +37,7 @@ export { ProjectsApi } from './apis/ProjectsApi.js';
37
37
  export { ProvidersApi } from './apis/ProvidersApi.js';
38
38
  export { GetAleoCuratedPricesNetworkEnum, GetAleoFeemasterPolicyNetworkEnum, GetAleoProverPubkeyNetworkEnum, GetAleoProverPubkeyOptionsNetworkEnum, GetAleoScannerPubkeyNetworkEnum, IsAleoFeemasterCoveredNetworkEnum, SDKApi, SubmitAleoProverEncryptedNetworkEnum, SubmitAleoProverEncryptedOptionsNetworkEnum } from './apis/SDKApi.js';
39
39
  export { SDKViewsApi } from './apis/SDKViewsApi.js';
40
+ export { ScreeningPoliciesApi } from './apis/ScreeningPoliciesApi.js';
40
41
  export { ServerApi } from './apis/ServerApi.js';
41
42
  export { SessionsApi } from './apis/SessionsApi.js';
42
43
  export { TestAccountApi } from './apis/TestAccountApi.js';
@@ -372,6 +373,7 @@ export { FlowSettlementStateEnum, FlowSettlementStateEnumFromJSON, FlowSettlemen
372
373
  export { FlowSourceResponseFromJSON, FlowSourceResponseFromJSONTyped, FlowSourceResponseToJSON } from './models/FlowSourceResponse.js';
373
374
  export { FlowSourceTypeEnum, FlowSourceTypeEnumFromJSON, FlowSourceTypeEnumFromJSONTyped, FlowSourceTypeEnumToJSON } from './models/FlowSourceTypeEnum.js';
374
375
  export { FlowTokenInfoFromJSON, FlowTokenInfoFromJSONTyped, FlowTokenInfoToJSON } from './models/FlowTokenInfo.js';
376
+ export { FlowUIConfigFromJSON, FlowUIConfigFromJSONTyped, FlowUIConfigToJSON } from './models/FlowUIConfig.js';
375
377
  export { ForbiddenFromJSON, ForbiddenFromJSONTyped, ForbiddenToJSON } from './models/Forbidden.js';
376
378
  export { ForbiddenErrorPayloadFromJSON, ForbiddenErrorPayloadFromJSONTyped, ForbiddenErrorPayloadToJSON } from './models/ForbiddenErrorPayload.js';
377
379
  export { ForbiddenWithErrorAndPayloadFromJSON, ForbiddenWithErrorAndPayloadFromJSONTyped, ForbiddenWithErrorAndPayloadToJSON } from './models/ForbiddenWithErrorAndPayload.js';
@@ -685,8 +687,17 @@ export { ScreenTransactionRequestContextSuiTransactionFromJSON, ScreenTransactio
685
687
  export { ScreenTransactionRequestContextSvmTransactionFromJSON, ScreenTransactionRequestContextSvmTransactionFromJSONTyped, ScreenTransactionRequestContextSvmTransactionToJSON } from './models/ScreenTransactionRequestContextSvmTransaction.js';
686
688
  export { ScreenTransactionRequestContextTronTransactionFromJSON, ScreenTransactionRequestContextTronTransactionFromJSONTyped, ScreenTransactionRequestContextTronTransactionToJSON } from './models/ScreenTransactionRequestContextTronTransaction.js';
687
689
  export { ScreenTransactionResponseDecisionEnum, ScreenTransactionResponseFromJSON, ScreenTransactionResponseFromJSONTyped, ScreenTransactionResponseToJSON } from './models/ScreenTransactionResponse.js';
690
+ export { ScreeningAddressDisposition, ScreeningAddressDispositionFromJSON, ScreeningAddressDispositionFromJSONTyped, ScreeningAddressDispositionToJSON } from './models/ScreeningAddressDisposition.js';
691
+ export { ScreeningAddressScopeEnum, ScreeningAddressScopeEnumFromJSON, ScreeningAddressScopeEnumFromJSONTyped, ScreeningAddressScopeEnumToJSON } from './models/ScreeningAddressScopeEnum.js';
688
692
  export { ScreeningCoreField, ScreeningCoreFieldFromJSON, ScreeningCoreFieldFromJSONTyped, ScreeningCoreFieldToJSON } from './models/ScreeningCoreField.js';
689
693
  export { ScreeningOperator, ScreeningOperatorFromJSON, ScreeningOperatorFromJSONTyped, ScreeningOperatorToJSON } from './models/ScreeningOperator.js';
694
+ export { ScreeningPolicyFromJSON, ScreeningPolicyFromJSONTyped, ScreeningPolicyToJSON } from './models/ScreeningPolicy.js';
695
+ export { ScreeningPolicyAddressFromJSON, ScreeningPolicyAddressFromJSONTyped, ScreeningPolicyAddressToJSON } from './models/ScreeningPolicyAddress.js';
696
+ export { ScreeningPolicyAddressCreateRequestFromJSON, ScreeningPolicyAddressCreateRequestFromJSONTyped, ScreeningPolicyAddressCreateRequestToJSON } from './models/ScreeningPolicyAddressCreateRequest.js';
697
+ export { ScreeningPolicyAddressesResponseFromJSON, ScreeningPolicyAddressesResponseFromJSONTyped, ScreeningPolicyAddressesResponseToJSON } from './models/ScreeningPolicyAddressesResponse.js';
698
+ export { ScreeningPolicyProviderEnum, ScreeningPolicyProviderEnumFromJSON, ScreeningPolicyProviderEnumFromJSONTyped, ScreeningPolicyProviderEnumToJSON } from './models/ScreeningPolicyProviderEnum.js';
699
+ export { ScreeningPolicyScopeEnum, ScreeningPolicyScopeEnumFromJSON, ScreeningPolicyScopeEnumFromJSONTyped, ScreeningPolicyScopeEnumToJSON } from './models/ScreeningPolicyScopeEnum.js';
700
+ export { ScreeningPolicyUpdateRequestFromJSON, ScreeningPolicyUpdateRequestFromJSONTyped, ScreeningPolicyUpdateRequestToJSON } from './models/ScreeningPolicyUpdateRequest.js';
690
701
  export { ScreeningPostScreenAction, ScreeningPostScreenActionFromJSON, ScreeningPostScreenActionFromJSONTyped, ScreeningPostScreenActionToJSON } from './models/ScreeningPostScreenAction.js';
691
702
  export { ScreeningPreScreenAction, ScreeningPreScreenActionFromJSON, ScreeningPreScreenActionFromJSONTyped, ScreeningPreScreenActionToJSON } from './models/ScreeningPreScreenAction.js';
692
703
  export { ScreeningPreScreenNodeFromJSON, ScreeningPreScreenNodeFromJSONTyped, ScreeningPreScreenNodeToJSON } from './models/ScreeningPreScreenNode.js';
@@ -14,6 +14,7 @@ var FlowRiskStateEnum = require('./FlowRiskStateEnum.cjs');
14
14
  var FlowSettlementData = require('./FlowSettlementData.cjs');
15
15
  var FlowSettlementStateEnum = require('./FlowSettlementStateEnum.cjs');
16
16
  var FlowSourceTypeEnum = require('./FlowSourceTypeEnum.cjs');
17
+ var FlowUIConfig = require('./FlowUIConfig.cjs');
17
18
  var SettlementConfigInput = require('./SettlementConfigInput.cjs');
18
19
 
19
20
  /* tslint:disable */
@@ -60,7 +61,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
60
61
  'exchangeSource': !runtime.exists(json, 'exchangeSource') ? undefined : FlowExchangeSource.FlowExchangeSourceFromJSON(json['exchangeSource']),
61
62
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
62
63
  'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
63
- 'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
64
+ 'uiConfig': !runtime.exists(json, 'uiConfig') ? undefined : FlowUIConfig.FlowUIConfigFromJSON(json['uiConfig']),
64
65
  'settlementConfig': !runtime.exists(json, 'settlementConfig') ? undefined : SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
65
66
  'destinationConfig': !runtime.exists(json, 'destinationConfig') ? undefined : DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
66
67
  };
@@ -108,7 +109,7 @@ function FlowToJSON(value) {
108
109
  'exchangeSource': FlowExchangeSource.FlowExchangeSourceToJSON(value.exchangeSource),
109
110
  'pegStablecoins': value.pegStablecoins,
110
111
  'disableSwaps': value.disableSwaps,
111
- 'returnUrl': value.returnUrl,
112
+ 'uiConfig': FlowUIConfig.FlowUIConfigToJSON(value.uiConfig),
112
113
  'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
113
114
  'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
114
115
  };
@@ -20,6 +20,7 @@ import { FlowRiskStateEnum } from './FlowRiskStateEnum';
20
20
  import { FlowSettlementData } from './FlowSettlementData';
21
21
  import { FlowSettlementStateEnum } from './FlowSettlementStateEnum';
22
22
  import { FlowSourceTypeEnum } from './FlowSourceTypeEnum';
23
+ import { FlowUIConfig } from './FlowUIConfig';
23
24
  import { SettlementConfigInput } from './SettlementConfigInput';
24
25
  /**
25
26
  * A single payment, deposit, or withdraw flow. Collapses the former Checkout and CheckoutTransaction into one resource.
@@ -238,11 +239,11 @@ export interface Flow {
238
239
  */
239
240
  disableSwaps?: boolean;
240
241
  /**
241
- * Payer app URL to redirect to once the flow reaches a specific state. Redirected to as `returnUrl?status=success|failure&flowId=...`.
242
- * @type {string}
242
+ *
243
+ * @type {FlowUIConfig}
243
244
  * @memberof Flow
244
245
  */
245
- returnUrl?: string;
246
+ uiConfig?: FlowUIConfig;
246
247
  /**
247
248
  *
248
249
  * @type {SettlementConfigInput}
@@ -10,6 +10,7 @@ import { FlowRiskStateEnumFromJSON, FlowRiskStateEnumToJSON } from './FlowRiskSt
10
10
  import { FlowSettlementDataFromJSON, FlowSettlementDataToJSON } from './FlowSettlementData.js';
11
11
  import { FlowSettlementStateEnumFromJSON, FlowSettlementStateEnumToJSON } from './FlowSettlementStateEnum.js';
12
12
  import { FlowSourceTypeEnumFromJSON, FlowSourceTypeEnumToJSON } from './FlowSourceTypeEnum.js';
13
+ import { FlowUIConfigFromJSON, FlowUIConfigToJSON } from './FlowUIConfig.js';
13
14
  import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
14
15
 
15
16
  /* tslint:disable */
@@ -56,7 +57,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
56
57
  'exchangeSource': !exists(json, 'exchangeSource') ? undefined : FlowExchangeSourceFromJSON(json['exchangeSource']),
57
58
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
58
59
  'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
59
- 'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
60
+ 'uiConfig': !exists(json, 'uiConfig') ? undefined : FlowUIConfigFromJSON(json['uiConfig']),
60
61
  'settlementConfig': !exists(json, 'settlementConfig') ? undefined : SettlementConfigInputFromJSON(json['settlementConfig']),
61
62
  'destinationConfig': !exists(json, 'destinationConfig') ? undefined : DestinationConfigInputFromJSON(json['destinationConfig']),
62
63
  };
@@ -104,7 +105,7 @@ function FlowToJSON(value) {
104
105
  'exchangeSource': FlowExchangeSourceToJSON(value.exchangeSource),
105
106
  'pegStablecoins': value.pegStablecoins,
106
107
  'disableSwaps': value.disableSwaps,
107
- 'returnUrl': value.returnUrl,
108
+ 'uiConfig': FlowUIConfigToJSON(value.uiConfig),
108
109
  'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
109
110
  'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
110
111
  };
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
  var DestinationConfigInput = require('./DestinationConfigInput.cjs');
7
7
  var FlowFeeConfig = require('./FlowFeeConfig.cjs');
8
+ var FlowUIConfig = require('./FlowUIConfig.cjs');
8
9
  var SettlementConfigInput = require('./SettlementConfigInput.cjs');
9
10
 
10
11
  /* tslint:disable */
@@ -25,7 +26,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
25
26
  'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
26
27
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
27
28
  'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
28
- 'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
29
+ 'uiConfig': !runtime.exists(json, 'uiConfig') ? undefined : FlowUIConfig.FlowUIConfigFromJSON(json['uiConfig']),
29
30
  };
30
31
  }
31
32
  function FlowCreateRequestToJSON(value) {
@@ -45,7 +46,7 @@ function FlowCreateRequestToJSON(value) {
45
46
  'expiresIn': value.expiresIn,
46
47
  'pegStablecoins': value.pegStablecoins,
47
48
  'disableSwaps': value.disableSwaps,
48
- 'returnUrl': value.returnUrl,
49
+ 'uiConfig': FlowUIConfig.FlowUIConfigToJSON(value.uiConfig),
49
50
  };
50
51
  }
51
52
 
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { DestinationConfigInput } from './DestinationConfigInput';
13
13
  import { FlowFeeConfig } from './FlowFeeConfig';
14
+ import { FlowUIConfig } from './FlowUIConfig';
14
15
  import { SettlementConfigInput } from './SettlementConfigInput';
15
16
  /**
16
17
  * Create-time payload for a flow. amount, currency, settlementConfig and destinationConfig are written once here (by a trusted API-key caller) and are accepted by no later endpoint. mode is supplied in the URL path.
@@ -73,11 +74,11 @@ export interface FlowCreateRequest {
73
74
  */
74
75
  disableSwaps?: boolean;
75
76
  /**
76
- * Payer app URL to redirect to once the flow reaches a specific state. Origin must be a registered CORS origin for the environment. Redirected to as `returnUrl?status=success|failure&flowId=...`.
77
- * @type {string}
77
+ *
78
+ * @type {FlowUIConfig}
78
79
  * @memberof FlowCreateRequest
79
80
  */
80
- returnUrl?: string;
81
+ uiConfig?: FlowUIConfig;
81
82
  }
82
83
  export declare function FlowCreateRequestFromJSON(json: any): FlowCreateRequest;
83
84
  export declare function FlowCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowCreateRequest;
@@ -1,6 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
3
3
  import { FlowFeeConfigFromJSON, FlowFeeConfigToJSON } from './FlowFeeConfig.js';
4
+ import { FlowUIConfigFromJSON, FlowUIConfigToJSON } from './FlowUIConfig.js';
4
5
  import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
5
6
 
6
7
  /* tslint:disable */
@@ -21,7 +22,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
21
22
  'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
22
23
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
23
24
  'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
24
- 'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
25
+ 'uiConfig': !exists(json, 'uiConfig') ? undefined : FlowUIConfigFromJSON(json['uiConfig']),
25
26
  };
26
27
  }
27
28
  function FlowCreateRequestToJSON(value) {
@@ -41,7 +42,7 @@ function FlowCreateRequestToJSON(value) {
41
42
  'expiresIn': value.expiresIn,
42
43
  'pegStablecoins': value.pegStablecoins,
43
44
  'disableSwaps': value.disableSwaps,
44
- 'returnUrl': value.returnUrl,
45
+ 'uiConfig': FlowUIConfigToJSON(value.uiConfig),
45
46
  };
46
47
  }
47
48
 
@@ -27,6 +27,7 @@ exports.FlowExecutionStateEnum = void 0;
27
27
  FlowExecutionStateEnum["Quoted"] = "quoted";
28
28
  FlowExecutionStateEnum["Signing"] = "signing";
29
29
  FlowExecutionStateEnum["Broadcasted"] = "broadcasted";
30
+ FlowExecutionStateEnum["SourceDetected"] = "source_detected";
30
31
  FlowExecutionStateEnum["SourceConfirmed"] = "source_confirmed";
31
32
  FlowExecutionStateEnum["Cancelled"] = "cancelled";
32
33
  FlowExecutionStateEnum["Expired"] = "expired";
@@ -20,6 +20,7 @@ export declare enum FlowExecutionStateEnum {
20
20
  Quoted = "quoted",
21
21
  Signing = "signing",
22
22
  Broadcasted = "broadcasted",
23
+ SourceDetected = "source_detected",
23
24
  SourceConfirmed = "source_confirmed",
24
25
  Cancelled = "cancelled",
25
26
  Expired = "expired",
@@ -23,6 +23,7 @@ var FlowExecutionStateEnum;
23
23
  FlowExecutionStateEnum["Quoted"] = "quoted";
24
24
  FlowExecutionStateEnum["Signing"] = "signing";
25
25
  FlowExecutionStateEnum["Broadcasted"] = "broadcasted";
26
+ FlowExecutionStateEnum["SourceDetected"] = "source_detected";
26
27
  FlowExecutionStateEnum["SourceConfirmed"] = "source_confirmed";
27
28
  FlowExecutionStateEnum["Cancelled"] = "cancelled";
28
29
  FlowExecutionStateEnum["Expired"] = "expired";
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
  var DestinationConfigInput = require('./DestinationConfigInput.cjs');
7
7
  var FlowFeeConfig = require('./FlowFeeConfig.cjs');
8
+ var FlowUIConfig = require('./FlowUIConfig.cjs');
8
9
  var SettlementConfigInput = require('./SettlementConfigInput.cjs');
9
10
 
10
11
  /* tslint:disable */
@@ -25,7 +26,7 @@ function FlowPaymentLinkCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
25
26
  'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
26
27
  'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
27
28
  'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
28
- 'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
29
+ 'uiConfig': !runtime.exists(json, 'uiConfig') ? undefined : FlowUIConfig.FlowUIConfigFromJSON(json['uiConfig']),
29
30
  'baseUrl': json['baseUrl'],
30
31
  };
31
32
  }
@@ -46,7 +47,7 @@ function FlowPaymentLinkCreateRequestToJSON(value) {
46
47
  'expiresIn': value.expiresIn,
47
48
  'pegStablecoins': value.pegStablecoins,
48
49
  'disableSwaps': value.disableSwaps,
49
- 'returnUrl': value.returnUrl,
50
+ 'uiConfig': FlowUIConfig.FlowUIConfigToJSON(value.uiConfig),
50
51
  'baseUrl': value.baseUrl,
51
52
  };
52
53
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { DestinationConfigInput } from './DestinationConfigInput';
13
13
  import { FlowFeeConfig } from './FlowFeeConfig';
14
+ import { FlowUIConfig } from './FlowUIConfig';
14
15
  import { SettlementConfigInput } from './SettlementConfigInput';
15
16
  /**
16
17
  *
@@ -73,11 +74,11 @@ export interface FlowPaymentLinkCreateRequest {
73
74
  */
74
75
  disableSwaps?: boolean;
75
76
  /**
76
- * Payer app URL to redirect to once the flow reaches a specific state. Origin must be a registered CORS origin for the environment. Redirected to as `returnUrl?status=success|failure&flowId=...`.
77
- * @type {string}
77
+ *
78
+ * @type {FlowUIConfig}
78
79
  * @memberof FlowPaymentLinkCreateRequest
79
80
  */
80
- returnUrl?: string;
81
+ uiConfig?: FlowUIConfig;
81
82
  /**
82
83
  * Merchant-hosted payer app URL
83
84
  * @type {string}
@@ -1,6 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
3
3
  import { FlowFeeConfigFromJSON, FlowFeeConfigToJSON } from './FlowFeeConfig.js';
4
+ import { FlowUIConfigFromJSON, FlowUIConfigToJSON } from './FlowUIConfig.js';
4
5
  import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
5
6
 
6
7
  /* tslint:disable */
@@ -21,7 +22,7 @@ function FlowPaymentLinkCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
21
22
  'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
22
23
  'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
23
24
  'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
24
- 'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
25
+ 'uiConfig': !exists(json, 'uiConfig') ? undefined : FlowUIConfigFromJSON(json['uiConfig']),
25
26
  'baseUrl': json['baseUrl'],
26
27
  };
27
28
  }
@@ -42,7 +43,7 @@ function FlowPaymentLinkCreateRequestToJSON(value) {
42
43
  'expiresIn': value.expiresIn,
43
44
  'pegStablecoins': value.pegStablecoins,
44
45
  'disableSwaps': value.disableSwaps,
45
- 'returnUrl': value.returnUrl,
46
+ 'uiConfig': FlowUIConfigToJSON(value.uiConfig),
46
47
  'baseUrl': value.baseUrl,
47
48
  };
48
49
  }
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function FlowUIConfigFromJSON(json) {
9
+ return FlowUIConfigFromJSONTyped(json);
10
+ }
11
+ function FlowUIConfigFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
17
+ };
18
+ }
19
+ function FlowUIConfigToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'returnUrl': value.returnUrl,
28
+ };
29
+ }
30
+
31
+ exports.FlowUIConfigFromJSON = FlowUIConfigFromJSON;
32
+ exports.FlowUIConfigFromJSONTyped = FlowUIConfigFromJSONTyped;
33
+ exports.FlowUIConfigToJSON = FlowUIConfigToJSON;
@@ -0,0 +1,27 @@
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
+ * Payer-facing UI config for a flow, set once at creation. Not part of the execution/settlement record.
14
+ * @export
15
+ * @interface FlowUIConfig
16
+ */
17
+ export interface FlowUIConfig {
18
+ /**
19
+ * Payer app URL to redirect to once the flow reaches a specific state. Origin must be a registered CORS origin for the environment. Redirected to as `returnUrl?status=success|failure&flowId=...`.
20
+ * @type {string}
21
+ * @memberof FlowUIConfig
22
+ */
23
+ returnUrl?: string;
24
+ }
25
+ export declare function FlowUIConfigFromJSON(json: any): FlowUIConfig;
26
+ export declare function FlowUIConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowUIConfig;
27
+ export declare function FlowUIConfigToJSON(value?: FlowUIConfig | null): any;
@@ -0,0 +1,27 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function FlowUIConfigFromJSON(json) {
5
+ return FlowUIConfigFromJSONTyped(json);
6
+ }
7
+ function FlowUIConfigFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
13
+ };
14
+ }
15
+ function FlowUIConfigToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'returnUrl': value.returnUrl,
24
+ };
25
+ }
26
+
27
+ export { FlowUIConfigFromJSON, FlowUIConfigFromJSONTyped, FlowUIConfigToJSON };