@dynamic-labs/sdk-api 0.0.568 → 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 +1 -1
- package/src/models/Provider.cjs +2 -0
- package/src/models/Provider.d.ts +6 -0
- package/src/models/Provider.js +2 -0
- package/src/models/ProviderCreateRequest.cjs +2 -0
- package/src/models/ProviderCreateRequest.d.ts +6 -0
- package/src/models/ProviderCreateRequest.js +2 -0
- package/src/models/ProviderUpdateRequest.cjs +2 -0
- package/src/models/ProviderUpdateRequest.d.ts +6 -0
- package/src/models/ProviderUpdateRequest.js +2 -0
package/package.json
CHANGED
package/src/models/Provider.cjs
CHANGED
|
@@ -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)),
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -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}
|
package/src/models/Provider.js
CHANGED
|
@@ -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)),
|