@dynamic-labs/sdk-api 0.0.568 → 0.0.570

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.568",
3
+ "version": "0.0.570",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/index.cjs CHANGED
@@ -142,6 +142,7 @@ var ExternalAuthSigninRequest = require('./models/ExternalAuthSigninRequest.cjs'
142
142
  var ExternalJwtCheckRequest = require('./models/ExternalJwtCheckRequest.cjs');
143
143
  var ExternalJwtCheckResponse = require('./models/ExternalJwtCheckResponse.cjs');
144
144
  var FarcasterSignInRequest = require('./models/FarcasterSignInRequest.cjs');
145
+ var FeatureFlags = require('./models/FeatureFlags.cjs');
145
146
  var Forbidden = require('./models/Forbidden.cjs');
146
147
  var ForbiddenErrorPayload = require('./models/ForbiddenErrorPayload.cjs');
147
148
  var ForbiddenWithErrorAndPayload = require('./models/ForbiddenWithErrorAndPayload.cjs');
@@ -880,6 +881,9 @@ exports.ExternalJwtCheckResponseToJSON = ExternalJwtCheckResponse.ExternalJwtChe
880
881
  exports.FarcasterSignInRequestFromJSON = FarcasterSignInRequest.FarcasterSignInRequestFromJSON;
881
882
  exports.FarcasterSignInRequestFromJSONTyped = FarcasterSignInRequest.FarcasterSignInRequestFromJSONTyped;
882
883
  exports.FarcasterSignInRequestToJSON = FarcasterSignInRequest.FarcasterSignInRequestToJSON;
884
+ exports.FeatureFlagsFromJSON = FeatureFlags.FeatureFlagsFromJSON;
885
+ exports.FeatureFlagsFromJSONTyped = FeatureFlags.FeatureFlagsFromJSONTyped;
886
+ exports.FeatureFlagsToJSON = FeatureFlags.FeatureFlagsToJSON;
883
887
  exports.ForbiddenFromJSON = Forbidden.ForbiddenFromJSON;
884
888
  exports.ForbiddenFromJSONTyped = Forbidden.ForbiddenFromJSONTyped;
885
889
  exports.ForbiddenToJSON = Forbidden.ForbiddenToJSON;
package/src/index.js CHANGED
@@ -138,6 +138,7 @@ export { ExternalAuthSigninRequestFromJSON, ExternalAuthSigninRequestFromJSONTyp
138
138
  export { ExternalJwtCheckRequestFromJSON, ExternalJwtCheckRequestFromJSONTyped, ExternalJwtCheckRequestToJSON } from './models/ExternalJwtCheckRequest.js';
139
139
  export { ExternalJwtCheckResponseFromJSON, ExternalJwtCheckResponseFromJSONTyped, ExternalJwtCheckResponseToJSON } from './models/ExternalJwtCheckResponse.js';
140
140
  export { FarcasterSignInRequestFromJSON, FarcasterSignInRequestFromJSONTyped, FarcasterSignInRequestToJSON } from './models/FarcasterSignInRequest.js';
141
+ export { FeatureFlagsFromJSON, FeatureFlagsFromJSONTyped, FeatureFlagsToJSON } from './models/FeatureFlags.js';
141
142
  export { ForbiddenFromJSON, ForbiddenFromJSONTyped, ForbiddenToJSON } from './models/Forbidden.js';
142
143
  export { ForbiddenErrorPayloadFromJSON, ForbiddenErrorPayloadFromJSONTyped, ForbiddenErrorPayloadToJSON } from './models/ForbiddenErrorPayload.js';
143
144
  export { ForbiddenWithErrorAndPayloadFromJSON, ForbiddenWithErrorAndPayloadFromJSONTyped, ForbiddenWithErrorAndPayloadToJSON } from './models/ForbiddenWithErrorAndPayload.js';
@@ -0,0 +1,43 @@
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
+ function FeatureFlagsFromJSON(json) {
19
+ return FeatureFlagsFromJSONTyped(json);
20
+ }
21
+ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'connectOnlyMultiAsset': json['connectOnlyMultiAsset'],
27
+ };
28
+ }
29
+ function FeatureFlagsToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'connectOnlyMultiAsset': value.connectOnlyMultiAsset,
38
+ };
39
+ }
40
+
41
+ exports.FeatureFlagsFromJSON = FeatureFlagsFromJSON;
42
+ exports.FeatureFlagsFromJSONTyped = FeatureFlagsFromJSONTyped;
43
+ exports.FeatureFlagsToJSON = FeatureFlagsToJSON;
@@ -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
+ *
14
+ * @export
15
+ * @interface FeatureFlags
16
+ */
17
+ export interface FeatureFlags {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof FeatureFlags
22
+ */
23
+ connectOnlyMultiAsset: boolean;
24
+ }
25
+ export declare function FeatureFlagsFromJSON(json: any): FeatureFlags;
26
+ export declare function FeatureFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureFlags;
27
+ export declare function FeatureFlagsToJSON(value?: FeatureFlags | null): any;
@@ -0,0 +1,37 @@
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
+ function FeatureFlagsFromJSON(json) {
15
+ return FeatureFlagsFromJSONTyped(json);
16
+ }
17
+ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'connectOnlyMultiAsset': json['connectOnlyMultiAsset'],
23
+ };
24
+ }
25
+ function FeatureFlagsToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'connectOnlyMultiAsset': value.connectOnlyMultiAsset,
34
+ };
35
+ }
36
+
37
+ export { FeatureFlagsFromJSON, FeatureFlagsFromJSONTyped, FeatureFlagsToJSON };
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var EmbeddedWalletSecurityMethod = require('./EmbeddedWalletSecurityMethod.cjs');
7
+ var FeatureFlags = require('./FeatureFlags.cjs');
7
8
  var MobileSettings = require('./MobileSettings.cjs');
8
9
  var ProjectSettingsSdkAccountAbstraction = require('./ProjectSettingsSdkAccountAbstraction.cjs');
9
10
  var ProjectSettingsSdkEmailSignIn = require('./ProjectSettingsSdkEmailSignIn.cjs');
@@ -21,6 +22,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
21
22
  return json;
22
23
  }
23
24
  return {
25
+ 'featureFlags': !runtime.exists(json, 'featureFlags') ? undefined : FeatureFlags.FeatureFlagsFromJSON(json['featureFlags']),
24
26
  'emailSignIn': !runtime.exists(json, 'emailSignIn') ? undefined : ProjectSettingsSdkEmailSignIn.ProjectSettingsSdkEmailSignInFromJSON(json['emailSignIn']),
25
27
  'socialSignIn': !runtime.exists(json, 'socialSignIn') ? undefined : ProjectSettingsSdkSocialSignIn.ProjectSettingsSdkSocialSignInFromJSON(json['socialSignIn']),
26
28
  'multiWallet': !runtime.exists(json, 'multiWallet') ? undefined : json['multiWallet'],
@@ -53,6 +55,7 @@ function ProjectSettingsSdkToJSON(value) {
53
55
  return null;
54
56
  }
55
57
  return {
58
+ 'featureFlags': FeatureFlags.FeatureFlagsToJSON(value.featureFlags),
56
59
  'emailSignIn': ProjectSettingsSdkEmailSignIn.ProjectSettingsSdkEmailSignInToJSON(value.emailSignIn),
57
60
  'socialSignIn': ProjectSettingsSdkSocialSignIn.ProjectSettingsSdkSocialSignInToJSON(value.socialSignIn),
58
61
  'multiWallet': value.multiWallet,
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { EmbeddedWalletSecurityMethod } from './EmbeddedWalletSecurityMethod';
13
+ import { FeatureFlags } from './FeatureFlags';
13
14
  import { MobileSettings } from './MobileSettings';
14
15
  import { ProjectSettingsSdkAccountAbstraction } from './ProjectSettingsSdkAccountAbstraction';
15
16
  import { ProjectSettingsSdkEmailSignIn } from './ProjectSettingsSdkEmailSignIn';
@@ -23,6 +24,12 @@ import { SdkView } from './SdkView';
23
24
  * @interface ProjectSettingsSdk
24
25
  */
25
26
  export interface ProjectSettingsSdk {
27
+ /**
28
+ *
29
+ * @type {FeatureFlags}
30
+ * @memberof ProjectSettingsSdk
31
+ */
32
+ featureFlags?: FeatureFlags;
26
33
  /**
27
34
  *
28
35
  * @type {ProjectSettingsSdkEmailSignIn}
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodToJSON } from './EmbeddedWalletSecurityMethod.js';
3
+ import { FeatureFlagsFromJSON, FeatureFlagsToJSON } from './FeatureFlags.js';
3
4
  import { MobileSettingsFromJSON, MobileSettingsToJSON } from './MobileSettings.js';
4
5
  import { ProjectSettingsSdkAccountAbstractionFromJSON, ProjectSettingsSdkAccountAbstractionToJSON } from './ProjectSettingsSdkAccountAbstraction.js';
5
6
  import { ProjectSettingsSdkEmailSignInFromJSON, ProjectSettingsSdkEmailSignInToJSON } from './ProjectSettingsSdkEmailSignIn.js';
@@ -17,6 +18,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
17
18
  return json;
18
19
  }
19
20
  return {
21
+ 'featureFlags': !exists(json, 'featureFlags') ? undefined : FeatureFlagsFromJSON(json['featureFlags']),
20
22
  'emailSignIn': !exists(json, 'emailSignIn') ? undefined : ProjectSettingsSdkEmailSignInFromJSON(json['emailSignIn']),
21
23
  'socialSignIn': !exists(json, 'socialSignIn') ? undefined : ProjectSettingsSdkSocialSignInFromJSON(json['socialSignIn']),
22
24
  'multiWallet': !exists(json, 'multiWallet') ? undefined : json['multiWallet'],
@@ -49,6 +51,7 @@ function ProjectSettingsSdkToJSON(value) {
49
51
  return null;
50
52
  }
51
53
  return {
54
+ 'featureFlags': FeatureFlagsToJSON(value.featureFlags),
52
55
  'emailSignIn': ProjectSettingsSdkEmailSignInToJSON(value.emailSignIn),
53
56
  'socialSignIn': ProjectSettingsSdkSocialSignInToJSON(value.socialSignIn),
54
57
  'multiWallet': value.multiWallet,
@@ -36,6 +36,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'baseAuthUrl': !runtime.exists(json, 'baseAuthUrl') ? undefined : json['baseAuthUrl'],
37
37
  'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
38
38
  'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
39
+ 'shopifyStore': !runtime.exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
39
40
  'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
40
41
  'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
41
42
  'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
@@ -70,6 +71,7 @@ function ProviderToJSON(value) {
70
71
  'baseAuthUrl': value.baseAuthUrl,
71
72
  'appleKeyId': value.appleKeyId,
72
73
  'appleTeamId': value.appleTeamId,
74
+ 'shopifyStore': value.shopifyStore,
73
75
  'accountSid': value.accountSid,
74
76
  'twilioNumber': value.twilioNumber,
75
77
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
@@ -118,6 +118,12 @@ export interface Provider {
118
118
  * @memberof Provider
119
119
  */
120
120
  appleTeamId?: string;
121
+ /**
122
+ * Shopify store required for Shopify Oauth2 applications.
123
+ * @type {string}
124
+ * @memberof Provider
125
+ */
126
+ shopifyStore?: string;
121
127
  /**
122
128
  * Required to initialize Twilio provider.
123
129
  * @type {string}
@@ -32,6 +32,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'baseAuthUrl': !exists(json, 'baseAuthUrl') ? undefined : json['baseAuthUrl'],
33
33
  'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
34
34
  'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
35
+ 'shopifyStore': !exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
35
36
  'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
36
37
  'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
37
38
  'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
@@ -66,6 +67,7 @@ function ProviderToJSON(value) {
66
67
  'baseAuthUrl': value.baseAuthUrl,
67
68
  'appleKeyId': value.appleKeyId,
68
69
  'appleTeamId': value.appleTeamId,
70
+ 'shopifyStore': value.shopifyStore,
69
71
  'accountSid': value.accountSid,
70
72
  'twilioNumber': value.twilioNumber,
71
73
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
@@ -28,6 +28,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
29
29
  'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
30
30
  'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
31
+ 'shopifyStore': !runtime.exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
31
32
  'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
32
33
  'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
33
34
  'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
@@ -54,6 +55,7 @@ function ProviderCreateRequestToJSON(value) {
54
55
  'scopes': value.scopes,
55
56
  'appleKeyId': value.appleKeyId,
56
57
  'appleTeamId': value.appleTeamId,
58
+ 'shopifyStore': value.shopifyStore,
57
59
  'accountSid': value.accountSid,
58
60
  'twilioNumber': value.twilioNumber,
59
61
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
@@ -90,6 +90,12 @@ export interface ProviderCreateRequest {
90
90
  * @memberof ProviderCreateRequest
91
91
  */
92
92
  appleTeamId?: string;
93
+ /**
94
+ * Shopify store required for Shopify Oauth2 applications.
95
+ * @type {string}
96
+ * @memberof ProviderCreateRequest
97
+ */
98
+ shopifyStore?: string;
93
99
  /**
94
100
  * Required to initialize Twilio provider.
95
101
  * @type {string}
@@ -24,6 +24,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
24
24
  'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
25
25
  'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
26
26
  'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
27
+ 'shopifyStore': !exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
27
28
  'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
28
29
  'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
29
30
  'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
@@ -50,6 +51,7 @@ function ProviderCreateRequestToJSON(value) {
50
51
  'scopes': value.scopes,
51
52
  'appleKeyId': value.appleKeyId,
52
53
  'appleTeamId': value.appleTeamId,
54
+ 'shopifyStore': value.shopifyStore,
53
55
  'accountSid': value.accountSid,
54
56
  'twilioNumber': value.twilioNumber,
55
57
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
@@ -25,6 +25,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
26
26
  'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
27
27
  'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
28
+ 'shopifyStore': !runtime.exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
28
29
  'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
29
30
  'twilioNumber': !runtime.exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
30
31
  'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
@@ -49,6 +50,7 @@ function ProviderUpdateRequestToJSON(value) {
49
50
  'scopes': value.scopes,
50
51
  'appleKeyId': value.appleKeyId,
51
52
  'appleTeamId': value.appleTeamId,
53
+ 'shopifyStore': value.shopifyStore,
52
54
  'accountSid': value.accountSid,
53
55
  'twilioNumber': value.twilioNumber,
54
56
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
@@ -77,6 +77,12 @@ export interface ProviderUpdateRequest {
77
77
  * @memberof ProviderUpdateRequest
78
78
  */
79
79
  appleTeamId?: string;
80
+ /**
81
+ * Shopify store required for Shopify Oauth2 applications.
82
+ * @type {string}
83
+ * @memberof ProviderUpdateRequest
84
+ */
85
+ shopifyStore?: string;
80
86
  /**
81
87
  * Required to initialize Twilio provider.
82
88
  * @type {string}
@@ -21,6 +21,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
21
21
  'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
22
22
  'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
23
23
  'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
24
+ 'shopifyStore': !exists(json, 'shopifyStore') ? undefined : json['shopifyStore'],
24
25
  'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
25
26
  'twilioNumber': !exists(json, 'twilioNumber') ? undefined : json['twilioNumber'],
26
27
  'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
@@ -45,6 +46,7 @@ function ProviderUpdateRequestToJSON(value) {
45
46
  'scopes': value.scopes,
46
47
  'appleKeyId': value.appleKeyId,
47
48
  'appleTeamId': value.appleTeamId,
49
+ 'shopifyStore': value.shopifyStore,
48
50
  'accountSid': value.accountSid,
49
51
  'twilioNumber': value.twilioNumber,
50
52
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
@@ -107,6 +107,7 @@ export * from './ExternalAuthSigninRequest';
107
107
  export * from './ExternalJwtCheckRequest';
108
108
  export * from './ExternalJwtCheckResponse';
109
109
  export * from './FarcasterSignInRequest';
110
+ export * from './FeatureFlags';
110
111
  export * from './Forbidden';
111
112
  export * from './ForbiddenErrorPayload';
112
113
  export * from './ForbiddenWithErrorAndPayload';