@dynamic-labs/sdk-api 0.0.262 → 0.0.264

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 (64) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +2 -0
  3. package/src/apis/AllowlistsApi.js +2 -0
  4. package/src/apis/AnalyticsApi.cjs +2 -0
  5. package/src/apis/AnalyticsApi.js +2 -0
  6. package/src/apis/ChainalysisApi.cjs +2 -0
  7. package/src/apis/ChainalysisApi.js +2 -0
  8. package/src/apis/ChainsApi.cjs +2 -0
  9. package/src/apis/ChainsApi.js +2 -0
  10. package/src/apis/EnvironmentsApi.cjs +2 -0
  11. package/src/apis/EnvironmentsApi.js +2 -0
  12. package/src/apis/ExportsApi.cjs +2 -0
  13. package/src/apis/ExportsApi.js +2 -0
  14. package/src/apis/GatesApi.cjs +2 -0
  15. package/src/apis/GatesApi.js +2 -0
  16. package/src/apis/InvitesApi.cjs +2 -0
  17. package/src/apis/InvitesApi.js +2 -0
  18. package/src/apis/MembersApi.cjs +2 -0
  19. package/src/apis/MembersApi.js +2 -0
  20. package/src/apis/OrganizationsApi.cjs +2 -0
  21. package/src/apis/OrganizationsApi.js +2 -0
  22. package/src/apis/OriginsApi.cjs +2 -0
  23. package/src/apis/OriginsApi.js +2 -0
  24. package/src/apis/ProjectsApi.cjs +2 -0
  25. package/src/apis/ProjectsApi.js +2 -0
  26. package/src/apis/SDKApi.cjs +2 -0
  27. package/src/apis/SDKApi.js +2 -0
  28. package/src/apis/SDKViewsApi.cjs +140 -0
  29. package/src/apis/SDKViewsApi.d.ts +54 -0
  30. package/src/apis/SDKViewsApi.js +136 -0
  31. package/src/apis/SessionsApi.cjs +2 -0
  32. package/src/apis/SessionsApi.js +2 -0
  33. package/src/apis/SettingsApi.cjs +2 -0
  34. package/src/apis/SettingsApi.js +2 -0
  35. package/src/apis/TokensApi.cjs +2 -0
  36. package/src/apis/TokensApi.js +2 -0
  37. package/src/apis/UsersApi.cjs +2 -0
  38. package/src/apis/UsersApi.js +2 -0
  39. package/src/apis/VisitsApi.cjs +2 -0
  40. package/src/apis/VisitsApi.js +2 -0
  41. package/src/apis/WalletsApi.cjs +2 -0
  42. package/src/apis/WalletsApi.js +2 -0
  43. package/src/apis/index.d.ts +1 -0
  44. package/src/index.cjs +34 -0
  45. package/src/index.js +7 -0
  46. package/src/models/SdkView.cjs +37 -0
  47. package/src/models/SdkView.d.ts +35 -0
  48. package/src/models/SdkView.js +31 -0
  49. package/src/models/SdkViewSection.cjs +40 -0
  50. package/src/models/SdkViewSection.d.ts +46 -0
  51. package/src/models/SdkViewSection.js +34 -0
  52. package/src/models/SdkViewSectionType.cjs +42 -0
  53. package/src/models/SdkViewSectionType.d.ts +25 -0
  54. package/src/models/SdkViewSectionType.js +36 -0
  55. package/src/models/SdkViewType.cjs +39 -0
  56. package/src/models/SdkViewType.d.ts +22 -0
  57. package/src/models/SdkViewType.js +33 -0
  58. package/src/models/SdkViewUpdateRequest.cjs +34 -0
  59. package/src/models/SdkViewUpdateRequest.d.ts +28 -0
  60. package/src/models/SdkViewUpdateRequest.js +28 -0
  61. package/src/models/SdkViewsResponse.cjs +34 -0
  62. package/src/models/SdkViewsResponse.d.ts +28 -0
  63. package/src/models/SdkViewsResponse.js +28 -0
  64. package/src/models/index.d.ts +6 -0
@@ -26,6 +26,8 @@ import { ProviderUrlsResponseFromJSON } from '../models/ProviderUrlsResponse.js'
26
26
  import { ProvidersResponseFromJSON } from '../models/ProvidersResponse.js';
27
27
  import '../models/PublishEventsEvents.js';
28
28
  import '../models/RoleEnum.js';
29
+ import '../models/SdkViewSectionType.js';
30
+ import '../models/SdkViewType.js';
29
31
  import '../models/SubscriptionAdvancedScopeEnum.js';
30
32
  import '../models/SubscriptionFreeScopeEnum.js';
31
33
  import '../models/UnprocessableEntityErrorCode.js';
@@ -27,6 +27,8 @@ require('../models/WhenToImplementEnum.cjs');
27
27
  var PostTokenFields = require('../models/PostTokenFields.cjs');
28
28
  require('../models/PublishEventsEvents.cjs');
29
29
  require('../models/RoleEnum.cjs');
30
+ require('../models/SdkViewSectionType.cjs');
31
+ require('../models/SdkViewType.cjs');
30
32
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
31
33
  require('../models/SubscriptionFreeScopeEnum.cjs');
32
34
  var TokensResponse = require('../models/TokensResponse.cjs');
@@ -23,6 +23,8 @@ import '../models/WhenToImplementEnum.js';
23
23
  import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
24
24
  import '../models/PublishEventsEvents.js';
25
25
  import '../models/RoleEnum.js';
26
+ import '../models/SdkViewSectionType.js';
27
+ import '../models/SdkViewType.js';
26
28
  import '../models/SubscriptionAdvancedScopeEnum.js';
27
29
  import '../models/SubscriptionFreeScopeEnum.js';
28
30
  import { TokensResponseFromJSON } from '../models/TokensResponse.js';
@@ -26,6 +26,8 @@ require('../models/NextViewEnum.cjs');
26
26
  require('../models/WhenToImplementEnum.cjs');
27
27
  require('../models/PublishEventsEvents.cjs');
28
28
  require('../models/RoleEnum.cjs');
29
+ require('../models/SdkViewSectionType.cjs');
30
+ require('../models/SdkViewType.cjs');
29
31
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
30
32
  require('../models/SubscriptionFreeScopeEnum.cjs');
31
33
  require('../models/UnprocessableEntityErrorCode.cjs');
@@ -22,6 +22,8 @@ import '../models/NextViewEnum.js';
22
22
  import '../models/WhenToImplementEnum.js';
23
23
  import '../models/PublishEventsEvents.js';
24
24
  import '../models/RoleEnum.js';
25
+ import '../models/SdkViewSectionType.js';
26
+ import '../models/SdkViewType.js';
25
27
  import '../models/SubscriptionAdvancedScopeEnum.js';
26
28
  import '../models/SubscriptionFreeScopeEnum.js';
27
29
  import '../models/UnprocessableEntityErrorCode.js';
@@ -25,6 +25,8 @@ require('../models/NextViewEnum.cjs');
25
25
  require('../models/WhenToImplementEnum.cjs');
26
26
  require('../models/PublishEventsEvents.cjs');
27
27
  require('../models/RoleEnum.cjs');
28
+ require('../models/SdkViewSectionType.cjs');
29
+ require('../models/SdkViewType.cjs');
28
30
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
29
31
  require('../models/SubscriptionFreeScopeEnum.cjs');
30
32
  require('../models/UnprocessableEntityErrorCode.cjs');
@@ -21,6 +21,8 @@ import '../models/NextViewEnum.js';
21
21
  import '../models/WhenToImplementEnum.js';
22
22
  import '../models/PublishEventsEvents.js';
23
23
  import '../models/RoleEnum.js';
24
+ import '../models/SdkViewSectionType.js';
25
+ import '../models/SdkViewType.js';
24
26
  import '../models/SubscriptionAdvancedScopeEnum.js';
25
27
  import '../models/SubscriptionFreeScopeEnum.js';
26
28
  import '../models/UnprocessableEntityErrorCode.js';
@@ -27,6 +27,8 @@ var Wallet = require('../models/Wallet.cjs');
27
27
  require('../models/WhenToImplementEnum.cjs');
28
28
  require('../models/PublishEventsEvents.cjs');
29
29
  require('../models/RoleEnum.cjs');
30
+ require('../models/SdkViewSectionType.cjs');
31
+ require('../models/SdkViewType.cjs');
30
32
  require('../models/SubscriptionAdvancedScopeEnum.cjs');
31
33
  require('../models/SubscriptionFreeScopeEnum.cjs');
32
34
  require('../models/UnprocessableEntityErrorCode.cjs');
@@ -23,6 +23,8 @@ import { WalletFromJSON } from '../models/Wallet.js';
23
23
  import '../models/WhenToImplementEnum.js';
24
24
  import '../models/PublishEventsEvents.js';
25
25
  import '../models/RoleEnum.js';
26
+ import '../models/SdkViewSectionType.js';
27
+ import '../models/SdkViewType.js';
26
28
  import '../models/SubscriptionAdvancedScopeEnum.js';
27
29
  import '../models/SubscriptionFreeScopeEnum.js';
28
30
  import '../models/UnprocessableEntityErrorCode.js';
@@ -11,6 +11,7 @@ export * from './OrganizationsApi';
11
11
  export * from './OriginsApi';
12
12
  export * from './ProjectsApi';
13
13
  export * from './SDKApi';
14
+ export * from './SDKViewsApi';
14
15
  export * from './SessionsApi';
15
16
  export * from './SettingsApi';
16
17
  export * from './TokensApi';
package/src/index.cjs CHANGED
@@ -16,6 +16,7 @@ var OrganizationsApi = require('./apis/OrganizationsApi.cjs');
16
16
  var OriginsApi = require('./apis/OriginsApi.cjs');
17
17
  var ProjectsApi = require('./apis/ProjectsApi.cjs');
18
18
  var SDKApi = require('./apis/SDKApi.cjs');
19
+ var SDKViewsApi = require('./apis/SDKViewsApi.cjs');
19
20
  var SessionsApi = require('./apis/SessionsApi.cjs');
20
21
  var SettingsApi = require('./apis/SettingsApi.cjs');
21
22
  var TokensApi = require('./apis/TokensApi.cjs');
@@ -154,6 +155,12 @@ var PublishEventsEvents = require('./models/PublishEventsEvents.cjs');
154
155
  var RoleEnum = require('./models/RoleEnum.cjs');
155
156
  var SdkSettingsRequest = require('./models/SdkSettingsRequest.cjs');
156
157
  var SdkUser = require('./models/SdkUser.cjs');
158
+ var SdkView = require('./models/SdkView.cjs');
159
+ var SdkViewSection = require('./models/SdkViewSection.cjs');
160
+ var SdkViewSectionType = require('./models/SdkViewSectionType.cjs');
161
+ var SdkViewType = require('./models/SdkViewType.cjs');
162
+ var SdkViewUpdateRequest = require('./models/SdkViewUpdateRequest.cjs');
163
+ var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
157
164
  var Session = require('./models/Session.cjs');
158
165
  var SocialSignInProvider = require('./models/SocialSignInProvider.cjs');
159
166
  var SocialSignInProviderEnum = require('./models/SocialSignInProviderEnum.cjs');
@@ -221,6 +228,7 @@ exports.OrganizationsApi = OrganizationsApi.OrganizationsApi;
221
228
  exports.OriginsApi = OriginsApi.OriginsApi;
222
229
  exports.ProjectsApi = ProjectsApi.ProjectsApi;
223
230
  exports.SDKApi = SDKApi.SDKApi;
231
+ exports.SDKViewsApi = SDKViewsApi.SDKViewsApi;
224
232
  exports.SessionsApi = SessionsApi.SessionsApi;
225
233
  exports.SettingsApi = SettingsApi.SettingsApi;
226
234
  exports.TokensApi = TokensApi.TokensApi;
@@ -687,6 +695,32 @@ exports.SdkSettingsRequestToJSON = SdkSettingsRequest.SdkSettingsRequestToJSON;
687
695
  exports.SdkUserFromJSON = SdkUser.SdkUserFromJSON;
688
696
  exports.SdkUserFromJSONTyped = SdkUser.SdkUserFromJSONTyped;
689
697
  exports.SdkUserToJSON = SdkUser.SdkUserToJSON;
698
+ exports.SdkViewFromJSON = SdkView.SdkViewFromJSON;
699
+ exports.SdkViewFromJSONTyped = SdkView.SdkViewFromJSONTyped;
700
+ exports.SdkViewToJSON = SdkView.SdkViewToJSON;
701
+ exports.SdkViewSectionFromJSON = SdkViewSection.SdkViewSectionFromJSON;
702
+ exports.SdkViewSectionFromJSONTyped = SdkViewSection.SdkViewSectionFromJSONTyped;
703
+ exports.SdkViewSectionToJSON = SdkViewSection.SdkViewSectionToJSON;
704
+ Object.defineProperty(exports, 'SdkViewSectionType', {
705
+ enumerable: true,
706
+ get: function () { return SdkViewSectionType.SdkViewSectionType; }
707
+ });
708
+ exports.SdkViewSectionTypeFromJSON = SdkViewSectionType.SdkViewSectionTypeFromJSON;
709
+ exports.SdkViewSectionTypeFromJSONTyped = SdkViewSectionType.SdkViewSectionTypeFromJSONTyped;
710
+ exports.SdkViewSectionTypeToJSON = SdkViewSectionType.SdkViewSectionTypeToJSON;
711
+ Object.defineProperty(exports, 'SdkViewType', {
712
+ enumerable: true,
713
+ get: function () { return SdkViewType.SdkViewType; }
714
+ });
715
+ exports.SdkViewTypeFromJSON = SdkViewType.SdkViewTypeFromJSON;
716
+ exports.SdkViewTypeFromJSONTyped = SdkViewType.SdkViewTypeFromJSONTyped;
717
+ exports.SdkViewTypeToJSON = SdkViewType.SdkViewTypeToJSON;
718
+ exports.SdkViewUpdateRequestFromJSON = SdkViewUpdateRequest.SdkViewUpdateRequestFromJSON;
719
+ exports.SdkViewUpdateRequestFromJSONTyped = SdkViewUpdateRequest.SdkViewUpdateRequestFromJSONTyped;
720
+ exports.SdkViewUpdateRequestToJSON = SdkViewUpdateRequest.SdkViewUpdateRequestToJSON;
721
+ exports.SdkViewsResponseFromJSON = SdkViewsResponse.SdkViewsResponseFromJSON;
722
+ exports.SdkViewsResponseFromJSONTyped = SdkViewsResponse.SdkViewsResponseFromJSONTyped;
723
+ exports.SdkViewsResponseToJSON = SdkViewsResponse.SdkViewsResponseToJSON;
690
724
  exports.SessionFromJSON = Session.SessionFromJSON;
691
725
  exports.SessionFromJSONTyped = Session.SessionFromJSONTyped;
692
726
  exports.SessionToJSON = Session.SessionToJSON;
package/src/index.js CHANGED
@@ -12,6 +12,7 @@ export { OrganizationsApi } from './apis/OrganizationsApi.js';
12
12
  export { OriginsApi } from './apis/OriginsApi.js';
13
13
  export { ProjectsApi } from './apis/ProjectsApi.js';
14
14
  export { SDKApi } from './apis/SDKApi.js';
15
+ export { SDKViewsApi } from './apis/SDKViewsApi.js';
15
16
  export { SessionsApi } from './apis/SessionsApi.js';
16
17
  export { SettingsApi } from './apis/SettingsApi.js';
17
18
  export { TokensApi } from './apis/TokensApi.js';
@@ -150,6 +151,12 @@ export { PublishEventsEventsFromJSON, PublishEventsEventsFromJSONTyped, PublishE
150
151
  export { RoleEnum, RoleEnumFromJSON, RoleEnumFromJSONTyped, RoleEnumToJSON } from './models/RoleEnum.js';
151
152
  export { SdkSettingsRequestFromJSON, SdkSettingsRequestFromJSONTyped, SdkSettingsRequestToJSON } from './models/SdkSettingsRequest.js';
152
153
  export { SdkUserFromJSON, SdkUserFromJSONTyped, SdkUserToJSON } from './models/SdkUser.js';
154
+ export { SdkViewFromJSON, SdkViewFromJSONTyped, SdkViewToJSON } from './models/SdkView.js';
155
+ export { SdkViewSectionFromJSON, SdkViewSectionFromJSONTyped, SdkViewSectionToJSON } from './models/SdkViewSection.js';
156
+ export { SdkViewSectionType, SdkViewSectionTypeFromJSON, SdkViewSectionTypeFromJSONTyped, SdkViewSectionTypeToJSON } from './models/SdkViewSectionType.js';
157
+ export { SdkViewType, SdkViewTypeFromJSON, SdkViewTypeFromJSONTyped, SdkViewTypeToJSON } from './models/SdkViewType.js';
158
+ export { SdkViewUpdateRequestFromJSON, SdkViewUpdateRequestFromJSONTyped, SdkViewUpdateRequestToJSON } from './models/SdkViewUpdateRequest.js';
159
+ export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsResponseToJSON } from './models/SdkViewsResponse.js';
153
160
  export { SessionFromJSON, SessionFromJSONTyped, SessionToJSON } from './models/Session.js';
154
161
  export { SocialSignInProviderFromJSON, SocialSignInProviderFromJSONTyped, SocialSignInProviderToJSON } from './models/SocialSignInProvider.js';
155
162
  export { SocialSignInProviderEnum, SocialSignInProviderEnumFromJSON, SocialSignInProviderEnumFromJSONTyped, SocialSignInProviderEnumToJSON } from './models/SocialSignInProviderEnum.js';
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SdkViewSection = require('./SdkViewSection.cjs');
7
+ var SdkViewType = require('./SdkViewType.cjs');
8
+
9
+ /* tslint:disable */
10
+ function SdkViewFromJSON(json) {
11
+ return SdkViewFromJSONTyped(json);
12
+ }
13
+ function SdkViewFromJSONTyped(json, ignoreDiscriminator) {
14
+ if ((json === undefined) || (json === null)) {
15
+ return json;
16
+ }
17
+ return {
18
+ 'type': SdkViewType.SdkViewTypeFromJSON(json['type']),
19
+ 'sections': !runtime.exists(json, 'sections') ? undefined : (json['sections'].map(SdkViewSection.SdkViewSectionFromJSON)),
20
+ };
21
+ }
22
+ function SdkViewToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'type': SdkViewType.SdkViewTypeToJSON(value.type),
31
+ 'sections': value.sections === undefined ? undefined : (value.sections.map(SdkViewSection.SdkViewSectionToJSON)),
32
+ };
33
+ }
34
+
35
+ exports.SdkViewFromJSON = SdkViewFromJSON;
36
+ exports.SdkViewFromJSONTyped = SdkViewFromJSONTyped;
37
+ exports.SdkViewToJSON = SdkViewToJSON;
@@ -0,0 +1,35 @@
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
+ import { SdkViewSection } from './SdkViewSection';
13
+ import { SdkViewType } from './SdkViewType';
14
+ /**
15
+ * Configs used to create the view in the sdk.
16
+ * @export
17
+ * @interface SdkView
18
+ */
19
+ export interface SdkView {
20
+ /**
21
+ *
22
+ * @type {SdkViewType}
23
+ * @memberof SdkView
24
+ */
25
+ type: SdkViewType;
26
+ /**
27
+ * The sections which will be used create the view in the sdk. The sections will be displayed in the order that they appear in the array.
28
+ * @type {Array<SdkViewSection>}
29
+ * @memberof SdkView
30
+ */
31
+ sections?: Array<SdkViewSection>;
32
+ }
33
+ export declare function SdkViewFromJSON(json: any): SdkView;
34
+ export declare function SdkViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkView;
35
+ export declare function SdkViewToJSON(value?: SdkView | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SdkViewSectionFromJSON, SdkViewSectionToJSON } from './SdkViewSection.js';
3
+ import { SdkViewTypeFromJSON, SdkViewTypeToJSON } from './SdkViewType.js';
4
+
5
+ /* tslint:disable */
6
+ function SdkViewFromJSON(json) {
7
+ return SdkViewFromJSONTyped(json);
8
+ }
9
+ function SdkViewFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'type': SdkViewTypeFromJSON(json['type']),
15
+ 'sections': !exists(json, 'sections') ? undefined : (json['sections'].map(SdkViewSectionFromJSON)),
16
+ };
17
+ }
18
+ function SdkViewToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'type': SdkViewTypeToJSON(value.type),
27
+ 'sections': value.sections === undefined ? undefined : (value.sections.map(SdkViewSectionToJSON)),
28
+ };
29
+ }
30
+
31
+ export { SdkViewFromJSON, SdkViewFromJSONTyped, SdkViewToJSON };
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SdkViewSectionType = require('./SdkViewSectionType.cjs');
7
+
8
+ /* tslint:disable */
9
+ function SdkViewSectionFromJSON(json) {
10
+ return SdkViewSectionFromJSONTyped(json);
11
+ }
12
+ function SdkViewSectionFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'type': SdkViewSectionType.SdkViewSectionTypeFromJSON(json['type']),
18
+ 'label': !runtime.exists(json, 'label') ? undefined : json['label'],
19
+ 'numOfItemsToDisplay': !runtime.exists(json, 'numOfItemsToDisplay') ? undefined : json['numOfItemsToDisplay'],
20
+ 'defaultItem': !runtime.exists(json, 'defaultItem') ? undefined : json['defaultItem'],
21
+ };
22
+ }
23
+ function SdkViewSectionToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'type': SdkViewSectionType.SdkViewSectionTypeToJSON(value.type),
32
+ 'label': value.label,
33
+ 'numOfItemsToDisplay': value.numOfItemsToDisplay,
34
+ 'defaultItem': value.defaultItem,
35
+ };
36
+ }
37
+
38
+ exports.SdkViewSectionFromJSON = SdkViewSectionFromJSON;
39
+ exports.SdkViewSectionFromJSONTyped = SdkViewSectionFromJSONTyped;
40
+ exports.SdkViewSectionToJSON = SdkViewSectionToJSON;
@@ -0,0 +1,46 @@
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
+ import { SdkViewSectionType } from './SdkViewSectionType';
13
+ /**
14
+ * A section used create the view in the sdk.
15
+ * @export
16
+ * @interface SdkViewSection
17
+ */
18
+ export interface SdkViewSection {
19
+ /**
20
+ *
21
+ * @type {SdkViewSectionType}
22
+ * @memberof SdkViewSection
23
+ */
24
+ type: SdkViewSectionType;
25
+ /**
26
+ * The label for the section. This will be displayed above the section or as part of the separator component if it is a Separator section.
27
+ * @type {string}
28
+ * @memberof SdkViewSection
29
+ */
30
+ label?: string;
31
+ /**
32
+ * The deafult number of items to display in the section. For Wallet section, represents the number of wallet items to be displayed by default. User has to click a button to view more options if there are any. For Social section, represents the number of social providers to be displayed by default. User has to click a button to view more options if there are any.
33
+ * @type {number}
34
+ * @memberof SdkViewSection
35
+ */
36
+ numOfItemsToDisplay?: number;
37
+ /**
38
+ * The option to be displayed as the main one. The default item will be displayed in a more prominent way than the rest of the items in the section. For Wallet section, represents the wallet item to be displayed by default. For Social section, represents the social provider to be displayed by default.
39
+ * @type {string}
40
+ * @memberof SdkViewSection
41
+ */
42
+ defaultItem?: string;
43
+ }
44
+ export declare function SdkViewSectionFromJSON(json: any): SdkViewSection;
45
+ export declare function SdkViewSectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkViewSection;
46
+ export declare function SdkViewSectionToJSON(value?: SdkViewSection | null): any;
@@ -0,0 +1,34 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SdkViewSectionTypeFromJSON, SdkViewSectionTypeToJSON } from './SdkViewSectionType.js';
3
+
4
+ /* tslint:disable */
5
+ function SdkViewSectionFromJSON(json) {
6
+ return SdkViewSectionFromJSONTyped(json);
7
+ }
8
+ function SdkViewSectionFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'type': SdkViewSectionTypeFromJSON(json['type']),
14
+ 'label': !exists(json, 'label') ? undefined : json['label'],
15
+ 'numOfItemsToDisplay': !exists(json, 'numOfItemsToDisplay') ? undefined : json['numOfItemsToDisplay'],
16
+ 'defaultItem': !exists(json, 'defaultItem') ? undefined : json['defaultItem'],
17
+ };
18
+ }
19
+ function SdkViewSectionToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'type': SdkViewSectionTypeToJSON(value.type),
28
+ 'label': value.label,
29
+ 'numOfItemsToDisplay': value.numOfItemsToDisplay,
30
+ 'defaultItem': value.defaultItem,
31
+ };
32
+ }
33
+
34
+ export { SdkViewSectionFromJSON, SdkViewSectionFromJSONTyped, SdkViewSectionToJSON };
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.SdkViewSectionType = void 0;
24
+ (function (SdkViewSectionType) {
25
+ SdkViewSectionType["Email"] = "email";
26
+ SdkViewSectionType["Separator"] = "separator";
27
+ SdkViewSectionType["Social"] = "social";
28
+ SdkViewSectionType["Wallet"] = "wallet";
29
+ })(exports.SdkViewSectionType || (exports.SdkViewSectionType = {}));
30
+ function SdkViewSectionTypeFromJSON(json) {
31
+ return SdkViewSectionTypeFromJSONTyped(json);
32
+ }
33
+ function SdkViewSectionTypeFromJSONTyped(json, ignoreDiscriminator) {
34
+ return json;
35
+ }
36
+ function SdkViewSectionTypeToJSON(value) {
37
+ return value;
38
+ }
39
+
40
+ exports.SdkViewSectionTypeFromJSON = SdkViewSectionTypeFromJSON;
41
+ exports.SdkViewSectionTypeFromJSONTyped = SdkViewSectionTypeFromJSONTyped;
42
+ exports.SdkViewSectionTypeToJSON = SdkViewSectionTypeToJSON;
@@ -0,0 +1,25 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum SdkViewSectionType {
18
+ Email = "email",
19
+ Separator = "separator",
20
+ Social = "social",
21
+ Wallet = "wallet"
22
+ }
23
+ export declare function SdkViewSectionTypeFromJSON(json: any): SdkViewSectionType;
24
+ export declare function SdkViewSectionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkViewSectionType;
25
+ export declare function SdkViewSectionTypeToJSON(value?: SdkViewSectionType | null): any;
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var SdkViewSectionType;
20
+ (function (SdkViewSectionType) {
21
+ SdkViewSectionType["Email"] = "email";
22
+ SdkViewSectionType["Separator"] = "separator";
23
+ SdkViewSectionType["Social"] = "social";
24
+ SdkViewSectionType["Wallet"] = "wallet";
25
+ })(SdkViewSectionType || (SdkViewSectionType = {}));
26
+ function SdkViewSectionTypeFromJSON(json) {
27
+ return SdkViewSectionTypeFromJSONTyped(json);
28
+ }
29
+ function SdkViewSectionTypeFromJSONTyped(json, ignoreDiscriminator) {
30
+ return json;
31
+ }
32
+ function SdkViewSectionTypeToJSON(value) {
33
+ return value;
34
+ }
35
+
36
+ export { SdkViewSectionType, SdkViewSectionTypeFromJSON, SdkViewSectionTypeFromJSONTyped, SdkViewSectionTypeToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.SdkViewType = void 0;
24
+ (function (SdkViewType) {
25
+ SdkViewType["Login"] = "login";
26
+ })(exports.SdkViewType || (exports.SdkViewType = {}));
27
+ function SdkViewTypeFromJSON(json) {
28
+ return SdkViewTypeFromJSONTyped(json);
29
+ }
30
+ function SdkViewTypeFromJSONTyped(json, ignoreDiscriminator) {
31
+ return json;
32
+ }
33
+ function SdkViewTypeToJSON(value) {
34
+ return value;
35
+ }
36
+
37
+ exports.SdkViewTypeFromJSON = SdkViewTypeFromJSON;
38
+ exports.SdkViewTypeFromJSONTyped = SdkViewTypeFromJSONTyped;
39
+ exports.SdkViewTypeToJSON = SdkViewTypeToJSON;
@@ -0,0 +1,22 @@
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
+ * @enum {string}
16
+ */
17
+ export declare enum SdkViewType {
18
+ Login = "login"
19
+ }
20
+ export declare function SdkViewTypeFromJSON(json: any): SdkViewType;
21
+ export declare function SdkViewTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkViewType;
22
+ export declare function SdkViewTypeToJSON(value?: SdkViewType | null): any;
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var SdkViewType;
20
+ (function (SdkViewType) {
21
+ SdkViewType["Login"] = "login";
22
+ })(SdkViewType || (SdkViewType = {}));
23
+ function SdkViewTypeFromJSON(json) {
24
+ return SdkViewTypeFromJSONTyped(json);
25
+ }
26
+ function SdkViewTypeFromJSONTyped(json, ignoreDiscriminator) {
27
+ return json;
28
+ }
29
+ function SdkViewTypeToJSON(value) {
30
+ return value;
31
+ }
32
+
33
+ export { SdkViewType, SdkViewTypeFromJSON, SdkViewTypeFromJSONTyped, SdkViewTypeToJSON };
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SdkViewSection = require('./SdkViewSection.cjs');
7
+
8
+ /* tslint:disable */
9
+ function SdkViewUpdateRequestFromJSON(json) {
10
+ return SdkViewUpdateRequestFromJSONTyped(json);
11
+ }
12
+ function SdkViewUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'sections': !runtime.exists(json, 'sections') ? undefined : (json['sections'].map(SdkViewSection.SdkViewSectionFromJSON)),
18
+ };
19
+ }
20
+ function SdkViewUpdateRequestToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'sections': value.sections === undefined ? undefined : (value.sections.map(SdkViewSection.SdkViewSectionToJSON)),
29
+ };
30
+ }
31
+
32
+ exports.SdkViewUpdateRequestFromJSON = SdkViewUpdateRequestFromJSON;
33
+ exports.SdkViewUpdateRequestFromJSONTyped = SdkViewUpdateRequestFromJSONTyped;
34
+ exports.SdkViewUpdateRequestToJSON = SdkViewUpdateRequestToJSON;