@dynamic-labs/sdk-api 0.0.643 → 0.0.645

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.643",
3
+ "version": "0.0.645",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -20,6 +20,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
21
21
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
22
22
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
23
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
23
24
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
24
25
  };
25
26
  }
@@ -38,6 +39,7 @@ function GlobalWalletSettingsToJSON(value) {
38
39
  'customCssUrl': value.customCssUrl,
39
40
  'termsOfServiceUrl': value.termsOfServiceUrl,
40
41
  'privacyPolicyUrl': value.privacyPolicyUrl,
42
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
41
43
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
42
44
  };
43
45
  }
@@ -57,6 +57,12 @@ export interface GlobalWalletSettings {
57
57
  * @memberof GlobalWalletSettings
58
58
  */
59
59
  privacyPolicyUrl?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof GlobalWalletSettings
64
+ */
65
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
60
66
  /**
61
67
  * If global wallet is enabled, then this timestamp will be present.
62
68
  * @type {Date}
@@ -16,6 +16,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
17
17
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
18
18
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
19
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
19
20
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
20
21
  };
21
22
  }
@@ -34,6 +35,7 @@ function GlobalWalletSettingsToJSON(value) {
34
35
  'customCssUrl': value.customCssUrl,
35
36
  'termsOfServiceUrl': value.termsOfServiceUrl,
36
37
  'privacyPolicyUrl': value.privacyPolicyUrl,
38
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
37
39
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
38
40
  };
39
41
  }
@@ -19,6 +19,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
20
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
21
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
22
23
  };
23
24
  }
24
25
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -35,6 +36,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
35
36
  'customCssUrl': value.customCssUrl,
36
37
  'termsOfServiceUrl': value.termsOfServiceUrl,
37
38
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
40
  };
39
41
  }
40
42
 
@@ -51,6 +51,12 @@ export interface GlobalWalletSettingsCreateRequest {
51
51
  * @memberof GlobalWalletSettingsCreateRequest
52
52
  */
53
53
  privacyPolicyUrl?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GlobalWalletSettingsCreateRequest
58
+ */
59
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
54
60
  }
55
61
  export declare function GlobalWalletSettingsCreateRequestFromJSON(json: any): GlobalWalletSettingsCreateRequest;
56
62
  export declare function GlobalWalletSettingsCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsCreateRequest;
@@ -15,6 +15,7 @@ function GlobalWalletSettingsCreateRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
16
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
17
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
18
19
  };
19
20
  }
20
21
  function GlobalWalletSettingsCreateRequestToJSON(value) {
@@ -31,6 +32,7 @@ function GlobalWalletSettingsCreateRequestToJSON(value) {
31
32
  'customCssUrl': value.customCssUrl,
32
33
  'termsOfServiceUrl': value.termsOfServiceUrl,
33
34
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
34
36
  };
35
37
  }
36
38
 
@@ -19,6 +19,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
19
19
  'customCssUrl': !runtime.exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
20
20
  'termsOfServiceUrl': !runtime.exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
21
21
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
22
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
22
23
  };
23
24
  }
24
25
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -35,6 +36,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
35
36
  'customCssUrl': value.customCssUrl,
36
37
  'termsOfServiceUrl': value.termsOfServiceUrl,
37
38
  'privacyPolicyUrl': value.privacyPolicyUrl,
39
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
38
40
  };
39
41
  }
40
42
 
@@ -51,6 +51,12 @@ export interface GlobalWalletSettingsUpdateRequest {
51
51
  * @memberof GlobalWalletSettingsUpdateRequest
52
52
  */
53
53
  privacyPolicyUrl?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GlobalWalletSettingsUpdateRequest
58
+ */
59
+ termsOfServiceAndPrivacyPolicyMarkdown?: string;
54
60
  }
55
61
  export declare function GlobalWalletSettingsUpdateRequestFromJSON(json: any): GlobalWalletSettingsUpdateRequest;
56
62
  export declare function GlobalWalletSettingsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalWalletSettingsUpdateRequest;
@@ -15,6 +15,7 @@ function GlobalWalletSettingsUpdateRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  'customCssUrl': !exists(json, 'customCssUrl') ? undefined : json['customCssUrl'],
16
16
  'termsOfServiceUrl': !exists(json, 'termsOfServiceUrl') ? undefined : json['termsOfServiceUrl'],
17
17
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
18
+ 'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
18
19
  };
19
20
  }
20
21
  function GlobalWalletSettingsUpdateRequestToJSON(value) {
@@ -31,6 +32,7 @@ function GlobalWalletSettingsUpdateRequestToJSON(value) {
31
32
  'customCssUrl': value.customCssUrl,
32
33
  'termsOfServiceUrl': value.termsOfServiceUrl,
33
34
  'privacyPolicyUrl': value.privacyPolicyUrl,
35
+ 'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
34
36
  };
35
37
  }
36
38
 
@@ -42,6 +42,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'enabledCountries': !runtime.exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCode.SmsCountryCodeFromJSON)),
43
43
  'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
44
44
  'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
45
+ 'factoryAddress': !runtime.exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
46
+ 'paymasterAddress': !runtime.exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
45
47
  'multichainAccountAbstractionProviders': !runtime.exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderCreateRequestMultichainAccountAbstractionProviders.ProviderCreateRequestMultichainAccountAbstractionProvidersFromJSON)),
46
48
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
47
49
  'createNewAccounts': !runtime.exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
@@ -79,6 +81,8 @@ function ProviderToJSON(value) {
79
81
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCode.SmsCountryCodeToJSON)),
80
82
  'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
81
83
  'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
84
+ 'factoryAddress': value.factoryAddress,
85
+ 'paymasterAddress': value.paymasterAddress,
82
86
  'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderCreateRequestMultichainAccountAbstractionProviders.ProviderCreateRequestMultichainAccountAbstractionProvidersToJSON)),
83
87
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
84
88
  'createNewAccounts': value.createNewAccounts,
@@ -154,6 +154,18 @@ export interface Provider {
154
154
  * @memberof Provider
155
155
  */
156
156
  kernelVersion?: ProviderKernelVersionEnum;
157
+ /**
158
+ * The factory address for the provider (currently only used for zksync)
159
+ * @type {string}
160
+ * @memberof Provider
161
+ */
162
+ factoryAddress?: string;
163
+ /**
164
+ * The paymaster address for the provider (currently only used for zksync)
165
+ * @type {string}
166
+ * @memberof Provider
167
+ */
168
+ paymasterAddress?: string;
157
169
  /**
158
170
  *
159
171
  * @type {Array<ProviderCreateRequestMultichainAccountAbstractionProviders>}
@@ -38,6 +38,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'enabledCountries': !exists(json, 'enabledCountries') ? undefined : (json['enabledCountries'].map(SmsCountryCodeFromJSON)),
39
39
  'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
40
40
  'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
41
+ 'factoryAddress': !exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
42
+ 'paymasterAddress': !exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
41
43
  'multichainAccountAbstractionProviders': !exists(json, 'multichainAccountAbstractionProviders') ? undefined : (json['multichainAccountAbstractionProviders'].map(ProviderCreateRequestMultichainAccountAbstractionProvidersFromJSON)),
42
44
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
43
45
  'createNewAccounts': !exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
@@ -75,6 +77,8 @@ function ProviderToJSON(value) {
75
77
  'enabledCountries': value.enabledCountries === undefined ? undefined : (value.enabledCountries.map(SmsCountryCodeToJSON)),
76
78
  'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
77
79
  'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
80
+ 'factoryAddress': value.factoryAddress,
81
+ 'paymasterAddress': value.paymasterAddress,
78
82
  'multichainAccountAbstractionProviders': value.multichainAccountAbstractionProviders === undefined ? undefined : (value.multichainAccountAbstractionProviders.map(ProviderCreateRequestMultichainAccountAbstractionProvidersToJSON)),
79
83
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
80
84
  'createNewAccounts': value.createNewAccounts,
@@ -41,6 +41,8 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
42
42
  'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
43
43
  'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
44
+ 'factoryAddress': !runtime.exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
45
+ 'paymasterAddress': !runtime.exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
44
46
  };
45
47
  }
46
48
  function ProviderCreateRequestToJSON(value) {
@@ -73,6 +75,8 @@ function ProviderCreateRequestToJSON(value) {
73
75
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
74
76
  'enableKernelV3Migration': value.enableKernelV3Migration,
75
77
  'enableEIP7702': value.enableEIP7702,
78
+ 'factoryAddress': value.factoryAddress,
79
+ 'paymasterAddress': value.paymasterAddress,
76
80
  };
77
81
  }
78
82
 
@@ -153,6 +153,18 @@ export interface ProviderCreateRequest {
153
153
  * @memberof ProviderCreateRequest
154
154
  */
155
155
  enableEIP7702?: boolean;
156
+ /**
157
+ * The factory address for the provider (currently only used for zksync)
158
+ * @type {string}
159
+ * @memberof ProviderCreateRequest
160
+ */
161
+ factoryAddress?: string;
162
+ /**
163
+ * The paymaster address for the provider (currently only used for zksync)
164
+ * @type {string}
165
+ * @memberof ProviderCreateRequest
166
+ */
167
+ paymasterAddress?: string;
156
168
  }
157
169
  export declare function ProviderCreateRequestFromJSON(json: any): ProviderCreateRequest;
158
170
  export declare function ProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCreateRequest;
@@ -37,6 +37,8 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
38
38
  'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
39
39
  'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
40
+ 'factoryAddress': !exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
41
+ 'paymasterAddress': !exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
40
42
  };
41
43
  }
42
44
  function ProviderCreateRequestToJSON(value) {
@@ -69,6 +71,8 @@ function ProviderCreateRequestToJSON(value) {
69
71
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
70
72
  'enableKernelV3Migration': value.enableKernelV3Migration,
71
73
  'enableEIP7702': value.enableEIP7702,
74
+ 'factoryAddress': value.factoryAddress,
75
+ 'paymasterAddress': value.paymasterAddress,
72
76
  };
73
77
  }
74
78
 
@@ -54,6 +54,7 @@ exports.ProviderEnum = void 0;
54
54
  ProviderEnum["Line"] = "line";
55
55
  ProviderEnum["Steam"] = "steam";
56
56
  ProviderEnum["Shopify"] = "shopify";
57
+ ProviderEnum["Zksync"] = "zksync";
57
58
  })(exports.ProviderEnum || (exports.ProviderEnum = {}));
58
59
  function ProviderEnumFromJSON(json) {
59
60
  return ProviderEnumFromJSONTyped(json);
@@ -46,7 +46,8 @@ export declare enum ProviderEnum {
46
46
  Tiktok = "tiktok",
47
47
  Line = "line",
48
48
  Steam = "steam",
49
- Shopify = "shopify"
49
+ Shopify = "shopify",
50
+ Zksync = "zksync"
50
51
  }
51
52
  export declare function ProviderEnumFromJSON(json: any): ProviderEnum;
52
53
  export declare function ProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderEnum;
@@ -50,6 +50,7 @@ var ProviderEnum;
50
50
  ProviderEnum["Line"] = "line";
51
51
  ProviderEnum["Steam"] = "steam";
52
52
  ProviderEnum["Shopify"] = "shopify";
53
+ ProviderEnum["Zksync"] = "zksync";
53
54
  })(ProviderEnum || (ProviderEnum = {}));
54
55
  function ProviderEnumFromJSON(json) {
55
56
  return ProviderEnumFromJSONTyped(json);
@@ -38,6 +38,8 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
39
39
  'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
40
40
  'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
41
+ 'factoryAddress': !runtime.exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
42
+ 'paymasterAddress': !runtime.exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
41
43
  };
42
44
  }
43
45
  function ProviderUpdateRequestToJSON(value) {
@@ -68,6 +70,8 @@ function ProviderUpdateRequestToJSON(value) {
68
70
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
69
71
  'enableKernelV3Migration': value.enableKernelV3Migration,
70
72
  'enableEIP7702': value.enableEIP7702,
73
+ 'factoryAddress': value.factoryAddress,
74
+ 'paymasterAddress': value.paymasterAddress,
71
75
  };
72
76
  }
73
77
 
@@ -140,6 +140,18 @@ export interface ProviderUpdateRequest {
140
140
  * @memberof ProviderUpdateRequest
141
141
  */
142
142
  enableEIP7702?: boolean;
143
+ /**
144
+ * The factory address for the provider (currently only used for zksync)
145
+ * @type {string}
146
+ * @memberof ProviderUpdateRequest
147
+ */
148
+ factoryAddress?: string;
149
+ /**
150
+ * The paymaster address for the provider (currently only used for zksync)
151
+ * @type {string}
152
+ * @memberof ProviderUpdateRequest
153
+ */
154
+ paymasterAddress?: string;
143
155
  }
144
156
  export declare function ProviderUpdateRequestFromJSON(json: any): ProviderUpdateRequest;
145
157
  export declare function ProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUpdateRequest;
@@ -34,6 +34,8 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
35
35
  'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
36
36
  'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
37
+ 'factoryAddress': !exists(json, 'factoryAddress') ? undefined : json['factoryAddress'],
38
+ 'paymasterAddress': !exists(json, 'paymasterAddress') ? undefined : json['paymasterAddress'],
37
39
  };
38
40
  }
39
41
  function ProviderUpdateRequestToJSON(value) {
@@ -64,6 +66,8 @@ function ProviderUpdateRequestToJSON(value) {
64
66
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
65
67
  'enableKernelV3Migration': value.enableKernelV3Migration,
66
68
  'enableEIP7702': value.enableEIP7702,
69
+ 'factoryAddress': value.factoryAddress,
70
+ 'paymasterAddress': value.paymasterAddress,
67
71
  };
68
72
  }
69
73