@dynamic-labs/sdk-api 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",
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)),
@@ -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)),