@dynamic-labs/sdk-api 0.0.366 → 0.0.368

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 (79) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +1 -0
  3. package/src/apis/AllowlistsApi.js +1 -0
  4. package/src/apis/AnalyticsApi.cjs +1 -0
  5. package/src/apis/AnalyticsApi.js +1 -0
  6. package/src/apis/ChainalysisApi.cjs +1 -0
  7. package/src/apis/ChainalysisApi.js +1 -0
  8. package/src/apis/ChainsApi.cjs +1 -0
  9. package/src/apis/ChainsApi.js +1 -0
  10. package/src/apis/EnvironmentsApi.cjs +1 -0
  11. package/src/apis/EnvironmentsApi.js +1 -0
  12. package/src/apis/EventsApi.cjs +1 -0
  13. package/src/apis/EventsApi.js +1 -0
  14. package/src/apis/ExportsApi.cjs +1 -0
  15. package/src/apis/ExportsApi.js +1 -0
  16. package/src/apis/GatesApi.cjs +1 -0
  17. package/src/apis/GatesApi.js +1 -0
  18. package/src/apis/InvitesApi.cjs +1 -0
  19. package/src/apis/InvitesApi.js +1 -0
  20. package/src/apis/MembersApi.cjs +1 -0
  21. package/src/apis/MembersApi.js +1 -0
  22. package/src/apis/OrganizationsApi.cjs +1 -0
  23. package/src/apis/OrganizationsApi.js +1 -0
  24. package/src/apis/OriginsApi.cjs +1 -0
  25. package/src/apis/OriginsApi.js +1 -0
  26. package/src/apis/ProjectsApi.cjs +1 -0
  27. package/src/apis/ProjectsApi.js +1 -0
  28. package/src/apis/SDKApi.cjs +42 -35
  29. package/src/apis/SDKApi.d.ts +13 -12
  30. package/src/apis/SDKApi.js +42 -35
  31. package/src/apis/SDKViewsApi.cjs +1 -0
  32. package/src/apis/SDKViewsApi.js +1 -0
  33. package/src/apis/SessionsApi.cjs +1 -0
  34. package/src/apis/SessionsApi.js +1 -0
  35. package/src/apis/SettingsApi.cjs +1 -0
  36. package/src/apis/SettingsApi.js +1 -0
  37. package/src/apis/TokensApi.cjs +1 -0
  38. package/src/apis/TokensApi.js +1 -0
  39. package/src/apis/UsersApi.cjs +1 -0
  40. package/src/apis/UsersApi.js +1 -0
  41. package/src/apis/VisitsApi.cjs +1 -0
  42. package/src/apis/VisitsApi.js +1 -0
  43. package/src/apis/WalletsApi.cjs +1 -0
  44. package/src/apis/WalletsApi.js +1 -0
  45. package/src/apis/WebhooksApi.cjs +1 -0
  46. package/src/apis/WebhooksApi.js +1 -0
  47. package/src/index.cjs +12 -0
  48. package/src/index.js +2 -0
  49. package/src/models/CoinbaseMpcWalletProperties.cjs +3 -0
  50. package/src/models/CoinbaseMpcWalletProperties.d.ts +7 -0
  51. package/src/models/CoinbaseMpcWalletProperties.js +3 -0
  52. package/src/models/EmbeddedWalletPasscodeUpdateRequest.cjs +37 -0
  53. package/src/models/EmbeddedWalletPasscodeUpdateRequest.d.ts +40 -0
  54. package/src/models/EmbeddedWalletPasscodeUpdateRequest.js +31 -0
  55. package/src/models/EmbeddedWalletSecret.cjs +5 -12
  56. package/src/models/EmbeddedWalletSecret.d.ts +7 -0
  57. package/src/models/EmbeddedWalletSecret.js +5 -12
  58. package/src/models/JwtVerifiedCredential.cjs +2 -0
  59. package/src/models/JwtVerifiedCredential.d.ts +8 -2
  60. package/src/models/JwtVerifiedCredential.js +2 -0
  61. package/src/models/PasswordSourceTypeEnum.cjs +40 -0
  62. package/src/models/PasswordSourceTypeEnum.d.ts +23 -0
  63. package/src/models/PasswordSourceTypeEnum.js +34 -0
  64. package/src/models/SmsVerificationCreateRequest.cjs +2 -0
  65. package/src/models/SmsVerificationCreateRequest.d.ts +6 -0
  66. package/src/models/SmsVerificationCreateRequest.js +2 -0
  67. package/src/models/SmsVerificationCreateResponse.cjs +2 -0
  68. package/src/models/SmsVerificationCreateResponse.d.ts +8 -2
  69. package/src/models/SmsVerificationCreateResponse.js +2 -0
  70. package/src/models/SmsVerificationRetryRequest.cjs +2 -0
  71. package/src/models/SmsVerificationRetryRequest.d.ts +6 -0
  72. package/src/models/SmsVerificationRetryRequest.js +2 -0
  73. package/src/models/VerifyRequest.cjs +3 -0
  74. package/src/models/VerifyRequest.d.ts +7 -0
  75. package/src/models/VerifyRequest.js +3 -0
  76. package/src/models/WalletProperties.cjs +3 -0
  77. package/src/models/WalletProperties.d.ts +7 -0
  78. package/src/models/WalletProperties.js +3 -0
  79. package/src/models/index.d.ts +2 -0
@@ -11,6 +11,7 @@ require('../models/JwtVerifiedCredentialFormatEnum.cjs');
11
11
  require('../models/ProviderEnum.cjs');
12
12
  require('../models/WalletAddressType.cjs');
13
13
  require('../models/HardwareWalletEnum.cjs');
14
+ require('../models/PasswordSourceTypeEnum.cjs');
14
15
  require('../models/WalletProviderEnum.cjs');
15
16
  require('../models/BillingSubscriptionPlanTypeEnum.cjs');
16
17
  require('../models/ChainEnum.cjs');
@@ -7,6 +7,7 @@ import '../models/JwtVerifiedCredentialFormatEnum.js';
7
7
  import '../models/ProviderEnum.js';
8
8
  import '../models/WalletAddressType.js';
9
9
  import '../models/HardwareWalletEnum.js';
10
+ import '../models/PasswordSourceTypeEnum.js';
10
11
  import '../models/WalletProviderEnum.js';
11
12
  import '../models/BillingSubscriptionPlanTypeEnum.js';
12
13
  import '../models/ChainEnum.js';
@@ -11,6 +11,7 @@ require('../models/JwtVerifiedCredentialFormatEnum.cjs');
11
11
  require('../models/ProviderEnum.cjs');
12
12
  require('../models/WalletAddressType.cjs');
13
13
  require('../models/HardwareWalletEnum.cjs');
14
+ require('../models/PasswordSourceTypeEnum.cjs');
14
15
  require('../models/WalletProviderEnum.cjs');
15
16
  require('../models/BillingSubscriptionPlanTypeEnum.cjs');
16
17
  require('../models/ChainEnum.cjs');
@@ -7,6 +7,7 @@ import '../models/JwtVerifiedCredentialFormatEnum.js';
7
7
  import '../models/ProviderEnum.js';
8
8
  import '../models/WalletAddressType.js';
9
9
  import '../models/HardwareWalletEnum.js';
10
+ import '../models/PasswordSourceTypeEnum.js';
10
11
  import '../models/WalletProviderEnum.js';
11
12
  import '../models/BillingSubscriptionPlanTypeEnum.js';
12
13
  import '../models/ChainEnum.js';
package/src/index.cjs CHANGED
@@ -68,6 +68,7 @@ var EmailVerificationRetryRequest = require('./models/EmailVerificationRetryRequ
68
68
  var EmailVerificationVerifyRequest = require('./models/EmailVerificationVerifyRequest.cjs');
69
69
  var EmbeddedWalletAuthToken = require('./models/EmbeddedWalletAuthToken.cjs');
70
70
  var EmbeddedWalletAuthType = require('./models/EmbeddedWalletAuthType.cjs');
71
+ var EmbeddedWalletPasscodeUpdateRequest = require('./models/EmbeddedWalletPasscodeUpdateRequest.cjs');
71
72
  var EmbeddedWalletProviderEnum = require('./models/EmbeddedWalletProviderEnum.cjs');
72
73
  var EmbeddedWalletSecret = require('./models/EmbeddedWalletSecret.cjs');
73
74
  var EmbeddedWalletSecurityMethod = require('./models/EmbeddedWalletSecurityMethod.cjs');
@@ -159,6 +160,7 @@ var OriginResponse = require('./models/OriginResponse.cjs');
159
160
  var OriginsResponse = require('./models/OriginsResponse.cjs');
160
161
  var PasskeyRegistrationCredential = require('./models/PasskeyRegistrationCredential.cjs');
161
162
  var PasskeyStorage = require('./models/PasskeyStorage.cjs');
163
+ var PasswordSourceTypeEnum = require('./models/PasswordSourceTypeEnum.cjs');
162
164
  var PostAllowlistEntriesRequest = require('./models/PostAllowlistEntriesRequest.cjs');
163
165
  var PostAllowlistsRequest = require('./models/PostAllowlistsRequest.cjs');
164
166
  var PostTokenFields = require('./models/PostTokenFields.cjs');
@@ -462,6 +464,9 @@ Object.defineProperty(exports, 'EmbeddedWalletAuthType', {
462
464
  exports.EmbeddedWalletAuthTypeFromJSON = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeFromJSON;
463
465
  exports.EmbeddedWalletAuthTypeFromJSONTyped = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeFromJSONTyped;
464
466
  exports.EmbeddedWalletAuthTypeToJSON = EmbeddedWalletAuthType.EmbeddedWalletAuthTypeToJSON;
467
+ exports.EmbeddedWalletPasscodeUpdateRequestFromJSON = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestFromJSON;
468
+ exports.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped;
469
+ exports.EmbeddedWalletPasscodeUpdateRequestToJSON = EmbeddedWalletPasscodeUpdateRequest.EmbeddedWalletPasscodeUpdateRequestToJSON;
465
470
  Object.defineProperty(exports, 'EmbeddedWalletProviderEnum', {
466
471
  enumerable: true,
467
472
  get: function () { return EmbeddedWalletProviderEnum.EmbeddedWalletProviderEnum; }
@@ -787,6 +792,13 @@ exports.PasskeyRegistrationCredentialToJSON = PasskeyRegistrationCredential.Pass
787
792
  exports.PasskeyStorageFromJSON = PasskeyStorage.PasskeyStorageFromJSON;
788
793
  exports.PasskeyStorageFromJSONTyped = PasskeyStorage.PasskeyStorageFromJSONTyped;
789
794
  exports.PasskeyStorageToJSON = PasskeyStorage.PasskeyStorageToJSON;
795
+ Object.defineProperty(exports, 'PasswordSourceTypeEnum', {
796
+ enumerable: true,
797
+ get: function () { return PasswordSourceTypeEnum.PasswordSourceTypeEnum; }
798
+ });
799
+ exports.PasswordSourceTypeEnumFromJSON = PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON;
800
+ exports.PasswordSourceTypeEnumFromJSONTyped = PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSONTyped;
801
+ exports.PasswordSourceTypeEnumToJSON = PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON;
790
802
  exports.PostAllowlistEntriesRequestFromJSON = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestFromJSON;
791
803
  exports.PostAllowlistEntriesRequestFromJSONTyped = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestFromJSONTyped;
792
804
  exports.PostAllowlistEntriesRequestToJSON = PostAllowlistEntriesRequest.PostAllowlistEntriesRequestToJSON;
package/src/index.js CHANGED
@@ -64,6 +64,7 @@ export { EmailVerificationRetryRequestFromJSON, EmailVerificationRetryRequestFro
64
64
  export { EmailVerificationVerifyRequestFromJSON, EmailVerificationVerifyRequestFromJSONTyped, EmailVerificationVerifyRequestToJSON } from './models/EmailVerificationVerifyRequest.js';
65
65
  export { EmbeddedWalletAuthTokenFromJSON, EmbeddedWalletAuthTokenFromJSONTyped, EmbeddedWalletAuthTokenToJSON } from './models/EmbeddedWalletAuthToken.js';
66
66
  export { EmbeddedWalletAuthType, EmbeddedWalletAuthTypeFromJSON, EmbeddedWalletAuthTypeFromJSONTyped, EmbeddedWalletAuthTypeToJSON } from './models/EmbeddedWalletAuthType.js';
67
+ export { EmbeddedWalletPasscodeUpdateRequestFromJSON, EmbeddedWalletPasscodeUpdateRequestFromJSONTyped, EmbeddedWalletPasscodeUpdateRequestToJSON } from './models/EmbeddedWalletPasscodeUpdateRequest.js';
67
68
  export { EmbeddedWalletProviderEnum, EmbeddedWalletProviderEnumFromJSON, EmbeddedWalletProviderEnumFromJSONTyped, EmbeddedWalletProviderEnumToJSON } from './models/EmbeddedWalletProviderEnum.js';
68
69
  export { EmbeddedWalletSecretFromJSON, EmbeddedWalletSecretFromJSONTyped, EmbeddedWalletSecretToJSON } from './models/EmbeddedWalletSecret.js';
69
70
  export { EmbeddedWalletSecurityMethod, EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodFromJSONTyped, EmbeddedWalletSecurityMethodToJSON } from './models/EmbeddedWalletSecurityMethod.js';
@@ -155,6 +156,7 @@ export { OriginResponseFromJSON, OriginResponseFromJSONTyped, OriginResponseToJS
155
156
  export { OriginsResponseFromJSON, OriginsResponseFromJSONTyped, OriginsResponseToJSON } from './models/OriginsResponse.js';
156
157
  export { PasskeyRegistrationCredentialFromJSON, PasskeyRegistrationCredentialFromJSONTyped, PasskeyRegistrationCredentialToJSON } from './models/PasskeyRegistrationCredential.js';
157
158
  export { PasskeyStorageFromJSON, PasskeyStorageFromJSONTyped, PasskeyStorageToJSON } from './models/PasskeyStorage.js';
159
+ export { PasswordSourceTypeEnum, PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumFromJSONTyped, PasswordSourceTypeEnumToJSON } from './models/PasswordSourceTypeEnum.js';
158
160
  export { PostAllowlistEntriesRequestFromJSON, PostAllowlistEntriesRequestFromJSONTyped, PostAllowlistEntriesRequestToJSON } from './models/PostAllowlistEntriesRequest.js';
159
161
  export { PostAllowlistsRequestFromJSON, PostAllowlistsRequestFromJSONTyped, PostAllowlistsRequestToJSON } from './models/PostAllowlistsRequest.js';
160
162
  export { PostTokenFieldsFromJSON, PostTokenFieldsFromJSONTyped, PostTokenFieldsToJSON } from './models/PostTokenFields.js';
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function CoinbaseMpcWalletPropertiesFromJSON(json) {
@@ -16,6 +17,7 @@ function CoinbaseMpcWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'backup': !runtime.exists(json, 'backup') ? undefined : json['backup'],
17
18
  'password': !runtime.exists(json, 'password') ? undefined : json['password'],
18
19
  'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
20
+ 'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
19
21
  };
20
22
  }
21
23
  function CoinbaseMpcWalletPropertiesToJSON(value) {
@@ -29,6 +31,7 @@ function CoinbaseMpcWalletPropertiesToJSON(value) {
29
31
  'backup': value.backup,
30
32
  'password': value.password,
31
33
  'claimed': value.claimed,
34
+ 'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
32
35
  };
33
36
  }
34
37
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -33,6 +34,12 @@ export interface CoinbaseMpcWalletProperties {
33
34
  * @memberof CoinbaseMpcWalletProperties
34
35
  */
35
36
  claimed?: boolean;
37
+ /**
38
+ *
39
+ * @type {PasswordSourceTypeEnum}
40
+ * @memberof CoinbaseMpcWalletProperties
41
+ */
42
+ source?: PasswordSourceTypeEnum;
36
43
  }
37
44
  export declare function CoinbaseMpcWalletPropertiesFromJSON(json: any): CoinbaseMpcWalletProperties;
38
45
  export declare function CoinbaseMpcWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinbaseMpcWalletProperties;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function CoinbaseMpcWalletPropertiesFromJSON(json) {
@@ -12,6 +13,7 @@ function CoinbaseMpcWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
12
13
  'backup': !exists(json, 'backup') ? undefined : json['backup'],
13
14
  'password': !exists(json, 'password') ? undefined : json['password'],
14
15
  'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
16
+ 'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
15
17
  };
16
18
  }
17
19
  function CoinbaseMpcWalletPropertiesToJSON(value) {
@@ -25,6 +27,7 @@ function CoinbaseMpcWalletPropertiesToJSON(value) {
25
27
  'backup': value.backup,
26
28
  'password': value.password,
27
29
  'claimed': value.claimed,
30
+ 'source': PasswordSourceTypeEnumToJSON(value.source),
28
31
  };
29
32
  }
30
33
 
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
6
+
7
+ /* tslint:disable */
8
+ function EmbeddedWalletPasscodeUpdateRequestFromJSON(json) {
9
+ return EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json);
10
+ }
11
+ function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'walletId': json['walletId'],
17
+ 'passcode': json['passcode'],
18
+ 'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
19
+ };
20
+ }
21
+ function EmbeddedWalletPasscodeUpdateRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'walletId': value.walletId,
30
+ 'passcode': value.passcode,
31
+ 'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
32
+ };
33
+ }
34
+
35
+ exports.EmbeddedWalletPasscodeUpdateRequestFromJSON = EmbeddedWalletPasscodeUpdateRequestFromJSON;
36
+ exports.EmbeddedWalletPasscodeUpdateRequestFromJSONTyped = EmbeddedWalletPasscodeUpdateRequestFromJSONTyped;
37
+ exports.EmbeddedWalletPasscodeUpdateRequestToJSON = EmbeddedWalletPasscodeUpdateRequestToJSON;
@@ -0,0 +1,40 @@
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 { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface EmbeddedWalletPasscodeUpdateRequest
17
+ */
18
+ export interface EmbeddedWalletPasscodeUpdateRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof EmbeddedWalletPasscodeUpdateRequest
23
+ */
24
+ walletId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof EmbeddedWalletPasscodeUpdateRequest
29
+ */
30
+ passcode: string;
31
+ /**
32
+ *
33
+ * @type {PasswordSourceTypeEnum}
34
+ * @memberof EmbeddedWalletPasscodeUpdateRequest
35
+ */
36
+ source: PasswordSourceTypeEnum;
37
+ }
38
+ export declare function EmbeddedWalletPasscodeUpdateRequestFromJSON(json: any): EmbeddedWalletPasscodeUpdateRequest;
39
+ export declare function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletPasscodeUpdateRequest;
40
+ export declare function EmbeddedWalletPasscodeUpdateRequestToJSON(value?: EmbeddedWalletPasscodeUpdateRequest | null): any;
@@ -0,0 +1,31 @@
1
+ import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
2
+
3
+ /* tslint:disable */
4
+ function EmbeddedWalletPasscodeUpdateRequestFromJSON(json) {
5
+ return EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json);
6
+ }
7
+ function EmbeddedWalletPasscodeUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'walletId': json['walletId'],
13
+ 'passcode': json['passcode'],
14
+ 'source': PasswordSourceTypeEnumFromJSON(json['source']),
15
+ };
16
+ }
17
+ function EmbeddedWalletPasscodeUpdateRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'walletId': value.walletId,
26
+ 'passcode': value.passcode,
27
+ 'source': PasswordSourceTypeEnumToJSON(value.source),
28
+ };
29
+ }
30
+
31
+ export { EmbeddedWalletPasscodeUpdateRequestFromJSON, EmbeddedWalletPasscodeUpdateRequestFromJSONTyped, EmbeddedWalletPasscodeUpdateRequestToJSON };
@@ -2,19 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+ var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
7
+
5
8
  /* 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
9
  function EmbeddedWalletSecretFromJSON(json) {
19
10
  return EmbeddedWalletSecretFromJSONTyped(json);
20
11
  }
@@ -25,6 +16,7 @@ function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
25
16
  return {
26
17
  'walletId': json['walletId'],
27
18
  'secret': json['secret'],
19
+ 'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
28
20
  };
29
21
  }
30
22
  function EmbeddedWalletSecretToJSON(value) {
@@ -37,6 +29,7 @@ function EmbeddedWalletSecretToJSON(value) {
37
29
  return {
38
30
  'walletId': value.walletId,
39
31
  'secret': value.secret,
32
+ 'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
40
33
  };
41
34
  }
42
35
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -27,6 +28,12 @@ export interface EmbeddedWalletSecret {
27
28
  * @memberof EmbeddedWalletSecret
28
29
  */
29
30
  secret: string;
31
+ /**
32
+ *
33
+ * @type {PasswordSourceTypeEnum}
34
+ * @memberof EmbeddedWalletSecret
35
+ */
36
+ source?: PasswordSourceTypeEnum;
30
37
  }
31
38
  export declare function EmbeddedWalletSecretFromJSON(json: any): EmbeddedWalletSecret;
32
39
  export declare function EmbeddedWalletSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletSecret;
@@ -1,16 +1,7 @@
1
+ import { exists } from '../runtime.js';
2
+ import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
3
+
1
4
  /* 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
5
  function EmbeddedWalletSecretFromJSON(json) {
15
6
  return EmbeddedWalletSecretFromJSONTyped(json);
16
7
  }
@@ -21,6 +12,7 @@ function EmbeddedWalletSecretFromJSONTyped(json, ignoreDiscriminator) {
21
12
  return {
22
13
  'walletId': json['walletId'],
23
14
  'secret': json['secret'],
15
+ 'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
24
16
  };
25
17
  }
26
18
  function EmbeddedWalletSecretToJSON(value) {
@@ -33,6 +25,7 @@ function EmbeddedWalletSecretToJSON(value) {
33
25
  return {
34
26
  'walletId': value.walletId,
35
27
  'secret': value.secret,
28
+ 'source': PasswordSourceTypeEnumToJSON(value.source),
36
29
  };
37
30
  }
38
31
 
@@ -37,6 +37,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'oauthAccountId': !runtime.exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
38
38
  'phoneNumber': !runtime.exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
39
39
  'phoneCountryCode': !runtime.exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
40
+ 'isoCountryCode': !runtime.exists(json, 'isoCountryCode') ? undefined : json['isoCountryCode'],
40
41
  'oauthAccountPhotos': !runtime.exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
41
42
  'oauthEmails': !runtime.exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
42
43
  'oauthMetadata': !runtime.exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
@@ -71,6 +72,7 @@ function JwtVerifiedCredentialToJSON(value) {
71
72
  'oauth_account_id': value.oauthAccountId,
72
73
  'phoneNumber': value.phoneNumber,
73
74
  'phoneCountryCode': value.phoneCountryCode,
75
+ 'isoCountryCode': value.isoCountryCode,
74
76
  'oauth_account_photos': value.oauthAccountPhotos,
75
77
  'oauth_emails': value.oauthEmails,
76
78
  'oauth_metadata': value.oauthMetadata,
@@ -118,17 +118,23 @@ export interface JwtVerifiedCredential {
118
118
  */
119
119
  oauthAccountId?: string;
120
120
  /**
121
- *
121
+ * This field contains the phone number in the country. This could also contain the area code within a country.
122
122
  * @type {string}
123
123
  * @memberof JwtVerifiedCredential
124
124
  */
125
125
  phoneNumber?: string;
126
126
  /**
127
- *
127
+ * This field contains the phone international country code. See https://countrycode.org/
128
128
  * @type {string}
129
129
  * @memberof JwtVerifiedCredential
130
130
  */
131
131
  phoneCountryCode?: string;
132
+ /**
133
+ * ISO-3166 two-character country code. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
134
+ * @type {string}
135
+ * @memberof JwtVerifiedCredential
136
+ */
137
+ isoCountryCode?: string;
132
138
  /**
133
139
  *
134
140
  * @type {Array<string>}
@@ -33,6 +33,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'oauthAccountId': !exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
34
34
  'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
35
35
  'phoneCountryCode': !exists(json, 'phoneCountryCode') ? undefined : json['phoneCountryCode'],
36
+ 'isoCountryCode': !exists(json, 'isoCountryCode') ? undefined : json['isoCountryCode'],
36
37
  'oauthAccountPhotos': !exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
37
38
  'oauthEmails': !exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
38
39
  'oauthMetadata': !exists(json, 'oauth_metadata') ? undefined : json['oauth_metadata'],
@@ -67,6 +68,7 @@ function JwtVerifiedCredentialToJSON(value) {
67
68
  'oauth_account_id': value.oauthAccountId,
68
69
  'phoneNumber': value.phoneNumber,
69
70
  'phoneCountryCode': value.phoneCountryCode,
71
+ 'isoCountryCode': value.isoCountryCode,
70
72
  'oauth_account_photos': value.oauthAccountPhotos,
71
73
  'oauth_emails': value.oauthEmails,
72
74
  'oauth_metadata': value.oauthMetadata,
@@ -0,0 +1,40 @@
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.PasswordSourceTypeEnum = void 0;
24
+ (function (PasswordSourceTypeEnum) {
25
+ PasswordSourceTypeEnum["Dynamic"] = "dynamic";
26
+ PasswordSourceTypeEnum["User"] = "user";
27
+ })(exports.PasswordSourceTypeEnum || (exports.PasswordSourceTypeEnum = {}));
28
+ function PasswordSourceTypeEnumFromJSON(json) {
29
+ return PasswordSourceTypeEnumFromJSONTyped(json);
30
+ }
31
+ function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function PasswordSourceTypeEnumToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.PasswordSourceTypeEnumFromJSON = PasswordSourceTypeEnumFromJSON;
39
+ exports.PasswordSourceTypeEnumFromJSONTyped = PasswordSourceTypeEnumFromJSONTyped;
40
+ exports.PasswordSourceTypeEnumToJSON = PasswordSourceTypeEnumToJSON;
@@ -0,0 +1,23 @@
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 PasswordSourceTypeEnum {
18
+ Dynamic = "dynamic",
19
+ User = "user"
20
+ }
21
+ export declare function PasswordSourceTypeEnumFromJSON(json: any): PasswordSourceTypeEnum;
22
+ export declare function PasswordSourceTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordSourceTypeEnum;
23
+ export declare function PasswordSourceTypeEnumToJSON(value?: PasswordSourceTypeEnum | null): any;
@@ -0,0 +1,34 @@
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 PasswordSourceTypeEnum;
20
+ (function (PasswordSourceTypeEnum) {
21
+ PasswordSourceTypeEnum["Dynamic"] = "dynamic";
22
+ PasswordSourceTypeEnum["User"] = "user";
23
+ })(PasswordSourceTypeEnum || (PasswordSourceTypeEnum = {}));
24
+ function PasswordSourceTypeEnumFromJSON(json) {
25
+ return PasswordSourceTypeEnumFromJSONTyped(json);
26
+ }
27
+ function PasswordSourceTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ function PasswordSourceTypeEnumToJSON(value) {
31
+ return value;
32
+ }
33
+
34
+ export { PasswordSourceTypeEnum, PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumFromJSONTyped, PasswordSourceTypeEnumToJSON };
@@ -15,6 +15,7 @@ function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'phoneCountryCode': json['phoneCountryCode'],
17
17
  'phoneNumber': json['phoneNumber'],
18
+ 'isoCountryCode': json['isoCountryCode'],
18
19
  'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
19
20
  };
20
21
  }
@@ -28,6 +29,7 @@ function SmsVerificationCreateRequestToJSON(value) {
28
29
  return {
29
30
  'phoneCountryCode': value.phoneCountryCode,
30
31
  'phoneNumber': value.phoneNumber,
32
+ 'isoCountryCode': value.isoCountryCode,
31
33
  'captchaToken': value.captchaToken,
32
34
  };
33
35
  }
@@ -27,6 +27,12 @@ export interface SmsVerificationCreateRequest {
27
27
  * @memberof SmsVerificationCreateRequest
28
28
  */
29
29
  phoneNumber: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SmsVerificationCreateRequest
34
+ */
35
+ isoCountryCode: string;
30
36
  /**
31
37
  * When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
32
38
  * @type {string}
@@ -11,6 +11,7 @@ function SmsVerificationCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
11
11
  return {
12
12
  'phoneCountryCode': json['phoneCountryCode'],
13
13
  'phoneNumber': json['phoneNumber'],
14
+ 'isoCountryCode': json['isoCountryCode'],
14
15
  'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
15
16
  };
16
17
  }
@@ -24,6 +25,7 @@ function SmsVerificationCreateRequestToJSON(value) {
24
25
  return {
25
26
  'phoneCountryCode': value.phoneCountryCode,
26
27
  'phoneNumber': value.phoneNumber,
28
+ 'isoCountryCode': value.isoCountryCode,
27
29
  'captchaToken': value.captchaToken,
28
30
  };
29
31
  }
@@ -26,6 +26,7 @@ function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'verificationUUID': json['verificationUUID'],
27
27
  'phoneNumber': json['phoneNumber'],
28
28
  'phoneCountryCode': json['phoneCountryCode'],
29
+ 'isoCountryCode': json['isoCountryCode'],
29
30
  };
30
31
  }
31
32
  function SmsVerificationCreateResponseToJSON(value) {
@@ -39,6 +40,7 @@ function SmsVerificationCreateResponseToJSON(value) {
39
40
  'verificationUUID': value.verificationUUID,
40
41
  'phoneNumber': value.phoneNumber,
41
42
  'phoneCountryCode': value.phoneCountryCode,
43
+ 'isoCountryCode': value.isoCountryCode,
42
44
  };
43
45
  }
44
46
 
@@ -22,17 +22,23 @@ export interface SmsVerificationCreateResponse {
22
22
  */
23
23
  verificationUUID: string;
24
24
  /**
25
- *
25
+ * This field contains the phone number in the country. This could also contain the area code within a country.
26
26
  * @type {string}
27
27
  * @memberof SmsVerificationCreateResponse
28
28
  */
29
29
  phoneNumber: string;
30
30
  /**
31
- *
31
+ * This field contains the phone international country code. See https://countrycode.org/
32
32
  * @type {string}
33
33
  * @memberof SmsVerificationCreateResponse
34
34
  */
35
35
  phoneCountryCode: string;
36
+ /**
37
+ * ISO-3166 two-character country code. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
38
+ * @type {string}
39
+ * @memberof SmsVerificationCreateResponse
40
+ */
41
+ isoCountryCode: string;
36
42
  }
37
43
  export declare function SmsVerificationCreateResponseFromJSON(json: any): SmsVerificationCreateResponse;
38
44
  export declare function SmsVerificationCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationCreateResponse;
@@ -22,6 +22,7 @@ function SmsVerificationCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
22
22
  'verificationUUID': json['verificationUUID'],
23
23
  'phoneNumber': json['phoneNumber'],
24
24
  'phoneCountryCode': json['phoneCountryCode'],
25
+ 'isoCountryCode': json['isoCountryCode'],
25
26
  };
26
27
  }
27
28
  function SmsVerificationCreateResponseToJSON(value) {
@@ -35,6 +36,7 @@ function SmsVerificationCreateResponseToJSON(value) {
35
36
  'verificationUUID': value.verificationUUID,
36
37
  'phoneNumber': value.phoneNumber,
37
38
  'phoneCountryCode': value.phoneCountryCode,
39
+ 'isoCountryCode': value.isoCountryCode,
38
40
  };
39
41
  }
40
42
 
@@ -16,6 +16,7 @@ function SmsVerificationRetryRequestFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'verificationUUID': json['verificationUUID'],
17
17
  'phoneCountryCode': json['phoneCountryCode'],
18
18
  'phoneNumber': json['phoneNumber'],
19
+ 'isoCountryCode': json['isoCountryCode'],
19
20
  'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
20
21
  };
21
22
  }
@@ -30,6 +31,7 @@ function SmsVerificationRetryRequestToJSON(value) {
30
31
  'verificationUUID': value.verificationUUID,
31
32
  'phoneCountryCode': value.phoneCountryCode,
32
33
  'phoneNumber': value.phoneNumber,
34
+ 'isoCountryCode': value.isoCountryCode,
33
35
  'captchaToken': value.captchaToken,
34
36
  };
35
37
  }