@dynamic-labs/sdk-api-core 0.0.567 → 0.0.569

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-core",
3
- "version": "0.0.567",
3
+ "version": "0.0.569",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -25,6 +25,8 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'lastVerifiedCredentialId': json['last_verified_credential_id'],
26
26
  'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
27
27
  'verifiedCredentialsHashes': !runtime.exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
28
+ 'email': !runtime.exists(json, 'email') ? undefined : json['email'],
29
+ 'username': !runtime.exists(json, 'username') ? undefined : json['username'],
28
30
  };
29
31
  }
30
32
  function MinifiedDynamicJwtToJSON(value) {
@@ -46,6 +48,8 @@ function MinifiedDynamicJwtToJSON(value) {
46
48
  'last_verified_credential_id': value.lastVerifiedCredentialId,
47
49
  'scope': value.scope,
48
50
  'verifiedCredentialsHashes': JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
51
+ 'email': value.email,
52
+ 'username': value.username,
49
53
  };
50
54
  }
51
55
 
@@ -82,6 +82,18 @@ export interface MinifiedDynamicJwt {
82
82
  * @memberof MinifiedDynamicJwt
83
83
  */
84
84
  verifiedCredentialsHashes?: JwtVerifiedCredentialHashes;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof MinifiedDynamicJwt
89
+ */
90
+ email?: string;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof MinifiedDynamicJwt
95
+ */
96
+ username?: string;
85
97
  }
86
98
  export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
87
99
  export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
@@ -21,6 +21,8 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
21
21
  'lastVerifiedCredentialId': json['last_verified_credential_id'],
22
22
  'scope': !exists(json, 'scope') ? undefined : json['scope'],
23
23
  'verifiedCredentialsHashes': !exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
24
+ 'email': !exists(json, 'email') ? undefined : json['email'],
25
+ 'username': !exists(json, 'username') ? undefined : json['username'],
24
26
  };
25
27
  }
26
28
  function MinifiedDynamicJwtToJSON(value) {
@@ -42,6 +44,8 @@ function MinifiedDynamicJwtToJSON(value) {
42
44
  'last_verified_credential_id': value.lastVerifiedCredentialId,
43
45
  'scope': value.scope,
44
46
  'verifiedCredentialsHashes': JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
47
+ 'email': value.email,
48
+ 'username': value.username,
45
49
  };
46
50
  }
47
51
 
@@ -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)),