@dynamic-labs/sdk-api 0.0.195 → 0.0.197

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 (65) 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/EnvironmentsApi.cjs +1 -0
  9. package/src/apis/EnvironmentsApi.js +1 -0
  10. package/src/apis/GatesApi.cjs +265 -0
  11. package/src/apis/GatesApi.d.ts +97 -0
  12. package/src/apis/GatesApi.js +261 -0
  13. package/src/apis/InvitesApi.cjs +1 -0
  14. package/src/apis/InvitesApi.js +1 -0
  15. package/src/apis/MembersApi.cjs +1 -0
  16. package/src/apis/MembersApi.js +1 -0
  17. package/src/apis/OrganizationsApi.cjs +1 -0
  18. package/src/apis/OrganizationsApi.js +1 -0
  19. package/src/apis/OriginsApi.cjs +1 -0
  20. package/src/apis/OriginsApi.js +1 -0
  21. package/src/apis/ProjectsApi.cjs +1 -0
  22. package/src/apis/ProjectsApi.js +1 -0
  23. package/src/apis/SDKApi.cjs +1 -0
  24. package/src/apis/SDKApi.js +1 -0
  25. package/src/apis/SessionsApi.cjs +1 -0
  26. package/src/apis/SessionsApi.js +1 -0
  27. package/src/apis/SettingsApi.cjs +1 -0
  28. package/src/apis/SettingsApi.js +1 -0
  29. package/src/apis/TokensApi.cjs +1 -0
  30. package/src/apis/TokensApi.js +1 -0
  31. package/src/apis/UsersApi.cjs +1 -0
  32. package/src/apis/UsersApi.js +1 -0
  33. package/src/apis/VisitsApi.cjs +1 -0
  34. package/src/apis/VisitsApi.js +1 -0
  35. package/src/apis/WalletsApi.cjs +1 -0
  36. package/src/apis/WalletsApi.js +1 -0
  37. package/src/apis/index.d.ts +1 -0
  38. package/src/index.cjs +34 -0
  39. package/src/index.js +8 -0
  40. package/src/models/DynamicJwt.d.ts +1 -1
  41. package/src/models/Gate.cjs +42 -0
  42. package/src/models/Gate.d.ts +52 -0
  43. package/src/models/Gate.js +36 -0
  44. package/src/models/GateCreateRequest.cjs +37 -0
  45. package/src/models/GateCreateRequest.d.ts +40 -0
  46. package/src/models/GateCreateRequest.js +31 -0
  47. package/src/models/GateRule.cjs +39 -0
  48. package/src/models/GateRule.d.ts +41 -0
  49. package/src/models/GateRule.js +33 -0
  50. package/src/models/GateRuleFilter.cjs +33 -0
  51. package/src/models/GateRuleFilter.d.ts +27 -0
  52. package/src/models/GateRuleFilter.js +27 -0
  53. package/src/models/GateRuleType.cjs +40 -0
  54. package/src/models/GateRuleType.d.ts +23 -0
  55. package/src/models/GateRuleType.js +34 -0
  56. package/src/models/GateUpdateRequest.cjs +38 -0
  57. package/src/models/GateUpdateRequest.d.ts +40 -0
  58. package/src/models/GateUpdateRequest.js +32 -0
  59. package/src/models/GatesResponse.cjs +34 -0
  60. package/src/models/GatesResponse.d.ts +28 -0
  61. package/src/models/GatesResponse.js +28 -0
  62. package/src/models/JwtVerifiedCredential.cjs +2 -0
  63. package/src/models/JwtVerifiedCredential.d.ts +6 -0
  64. package/src/models/JwtVerifiedCredential.js +2 -0
  65. package/src/models/index.d.ts +7 -0
@@ -0,0 +1,28 @@
1
+ import { exists } from '../runtime.js';
2
+ import { GateFromJSON, GateToJSON } from './Gate.js';
3
+
4
+ /* tslint:disable */
5
+ function GatesResponseFromJSON(json) {
6
+ return GatesResponseFromJSONTyped(json);
7
+ }
8
+ function GatesResponseFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'providers': !exists(json, 'providers') ? undefined : (json['providers'].map(GateFromJSON)),
14
+ };
15
+ }
16
+ function GatesResponseToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'providers': value.providers === undefined ? undefined : (value.providers.map(GateToJSON)),
25
+ };
26
+ }
27
+
28
+ export { GatesResponseFromJSON, GatesResponseFromJSONTyped, GatesResponseToJSON };
@@ -19,6 +19,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
19
19
  return {
20
20
  'address': !runtime.exists(json, 'address') ? undefined : json['address'],
21
21
  'chain': !runtime.exists(json, 'chain') ? undefined : json['chain'],
22
+ 'refId': !runtime.exists(json, 'refId') ? undefined : json['refId'],
22
23
  'email': !runtime.exists(json, 'email') ? undefined : json['email'],
23
24
  'id': json['id'],
24
25
  'nameService': !runtime.exists(json, 'name_service') ? undefined : NameServiceData.NameServiceDataFromJSON(json['name_service']),
@@ -45,6 +46,7 @@ function JwtVerifiedCredentialToJSON(value) {
45
46
  return {
46
47
  'address': value.address,
47
48
  'chain': value.chain,
49
+ 'refId': value.refId,
48
50
  'email': value.email,
49
51
  'id': value.id,
50
52
  'name_service': NameServiceData.NameServiceDataToJSON(value.nameService),
@@ -31,6 +31,12 @@ export interface JwtVerifiedCredential {
31
31
  * @memberof JwtVerifiedCredential
32
32
  */
33
33
  chain?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof JwtVerifiedCredential
38
+ */
39
+ refId?: string;
34
40
  /**
35
41
  *
36
42
  * @type {string}
@@ -15,6 +15,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'address': !exists(json, 'address') ? undefined : json['address'],
17
17
  'chain': !exists(json, 'chain') ? undefined : json['chain'],
18
+ 'refId': !exists(json, 'refId') ? undefined : json['refId'],
18
19
  'email': !exists(json, 'email') ? undefined : json['email'],
19
20
  'id': json['id'],
20
21
  'nameService': !exists(json, 'name_service') ? undefined : NameServiceDataFromJSON(json['name_service']),
@@ -41,6 +42,7 @@ function JwtVerifiedCredentialToJSON(value) {
41
42
  return {
42
43
  'address': value.address,
43
44
  'chain': value.chain,
45
+ 'refId': value.refId,
44
46
  'email': value.email,
45
47
  'id': value.id,
46
48
  'name_service': NameServiceDataToJSON(value.nameService),
@@ -32,6 +32,13 @@ export * from './ErrorMessageWithCode';
32
32
  export * from './Forbidden';
33
33
  export * from './ForbiddenErrorPayload';
34
34
  export * from './ForbiddenWithErrorAndPayload';
35
+ export * from './Gate';
36
+ export * from './GateCreateRequest';
37
+ export * from './GateRule';
38
+ export * from './GateRuleFilter';
39
+ export * from './GateRuleType';
40
+ export * from './GateUpdateRequest';
41
+ export * from './GatesResponse';
35
42
  export * from './HCaptchaSettings';
36
43
  export * from './InlineObject';
37
44
  export * from './InlineResponse201';