@forteplatforms/sdk 1.0.536 → 1.0.538

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.
@@ -21,6 +21,12 @@ export interface CreateCustomDomainRequest {
21
21
  * @memberof CreateCustomDomainRequest
22
22
  */
23
23
  domain: string;
24
+ /**
25
+ * Only for a root domain such as example.com: also connect www.example.com. Defaults to true; set false only if the user doesn't want www.
26
+ * @type {boolean}
27
+ * @memberof CreateCustomDomainRequest
28
+ */
29
+ connectWww?: boolean | null;
24
30
  }
25
31
  /**
26
32
  * Check if a given object implements the CreateCustomDomainRequest interface.
@@ -35,6 +35,7 @@ function CreateCustomDomainRequestFromJSONTyped(json, ignoreDiscriminator) {
35
35
  }
36
36
  return {
37
37
  'domain': json['domain'],
38
+ 'connectWww': json['connectWww'] == null ? undefined : json['connectWww'],
38
39
  };
39
40
  }
40
41
  function CreateCustomDomainRequestToJSON(json) {
@@ -47,5 +48,6 @@ function CreateCustomDomainRequestToJSONTyped(value, ignoreDiscriminator) {
47
48
  }
48
49
  return {
49
50
  'domain': value['domain'],
51
+ 'connectWww': value['connectWww'],
50
52
  };
51
53
  }
@@ -22,6 +22,12 @@ export interface CustomDomainResponse {
22
22
  * @memberof CustomDomainResponse
23
23
  */
24
24
  customDomain?: CustomDomain;
25
+ /**
26
+ *
27
+ * @type {CustomDomain}
28
+ * @memberof CustomDomainResponse
29
+ */
30
+ wwwCustomDomain?: CustomDomain;
25
31
  }
26
32
  /**
27
33
  * Check if a given object implements the CustomDomainResponse interface.
@@ -34,6 +34,7 @@ function CustomDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'customDomain': json['customDomain'] == null ? undefined : (0, CustomDomain_1.CustomDomainFromJSON)(json['customDomain']),
37
+ 'wwwCustomDomain': json['wwwCustomDomain'] == null ? undefined : (0, CustomDomain_1.CustomDomainFromJSON)(json['wwwCustomDomain']),
37
38
  };
38
39
  }
39
40
  function CustomDomainResponseToJSON(json) {
@@ -46,5 +47,6 @@ function CustomDomainResponseToJSONTyped(value, ignoreDiscriminator) {
46
47
  }
47
48
  return {
48
49
  'customDomain': (0, CustomDomain_1.CustomDomainToJSON)(value['customDomain']),
50
+ 'wwwCustomDomain': (0, CustomDomain_1.CustomDomainToJSON)(value['wwwCustomDomain']),
49
51
  };
50
52
  }
@@ -294,6 +294,7 @@ export declare const ForteApiExceptionErrorCodeType: {
294
294
  readonly INVOCATION_NOT_CANCELLABLE: "INVOCATION_NOT_CANCELLABLE";
295
295
  readonly ACTION_NOT_ENABLED: "ACTION_NOT_ENABLED";
296
296
  readonly ACTIONS_ACCESS_REQUIRED: "ACTIONS_ACCESS_REQUIRED";
297
+ readonly EMAIL_SENDER_NAME_INVALID: "EMAIL_SENDER_NAME_INVALID";
297
298
  readonly EMAIL_CONFIGURATION_INVALID: "EMAIL_CONFIGURATION_INVALID";
298
299
  readonly SANDBOX_EMAIL_RECIPIENT_UNVERIFIED: "SANDBOX_EMAIL_RECIPIENT_UNVERIFIED";
299
300
  readonly SANDBOX_EMAIL_QUOTA_EXCEEDED: "SANDBOX_EMAIL_QUOTA_EXCEEDED";
@@ -279,6 +279,7 @@ exports.ForteApiExceptionErrorCodeType = {
279
279
  INVOCATION_NOT_CANCELLABLE: 'INVOCATION_NOT_CANCELLABLE',
280
280
  ACTION_NOT_ENABLED: 'ACTION_NOT_ENABLED',
281
281
  ACTIONS_ACCESS_REQUIRED: 'ACTIONS_ACCESS_REQUIRED',
282
+ EMAIL_SENDER_NAME_INVALID: 'EMAIL_SENDER_NAME_INVALID',
282
283
  EMAIL_CONFIGURATION_INVALID: 'EMAIL_CONFIGURATION_INVALID',
283
284
  SANDBOX_EMAIL_RECIPIENT_UNVERIFIED: 'SANDBOX_EMAIL_RECIPIENT_UNVERIFIED',
284
285
  SANDBOX_EMAIL_QUOTA_EXCEEDED: 'SANDBOX_EMAIL_QUOTA_EXCEEDED',
@@ -166,6 +166,12 @@ export interface ProjectObject {
166
166
  * @memberof ProjectObject
167
167
  */
168
168
  emailSender?: ProjectObjectEmailSenderType | null;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof ProjectObject
173
+ */
174
+ emailSenderName?: string | null;
169
175
  /**
170
176
  *
171
177
  * @type {string}
@@ -104,6 +104,7 @@ function ProjectObjectFromJSONTyped(json, ignoreDiscriminator) {
104
104
  'notificationTemplatesConfig': json['notificationTemplatesConfig'] == null ? undefined : (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigFromJSON)(json['notificationTemplatesConfig']),
105
105
  'paymentTriggers': json['paymentTriggers'] == null ? undefined : (json['paymentTriggers'].map(PaymentTriggerConfig_1.PaymentTriggerConfigFromJSON)),
106
106
  'emailSender': json['emailSender'] == null ? undefined : json['emailSender'],
107
+ 'emailSenderName': json['emailSenderName'] == null ? undefined : json['emailSenderName'],
107
108
  'parentProjectId': json['parentProjectId'] == null ? undefined : json['parentProjectId'],
108
109
  'clonedFromProjectId': json['clonedFromProjectId'] == null ? undefined : json['clonedFromProjectId'],
109
110
  'environmentName': json['environmentName'] == null ? undefined : json['environmentName'],
@@ -145,6 +146,7 @@ function ProjectObjectToJSONTyped(value, ignoreDiscriminator) {
145
146
  'notificationTemplatesConfig': (0, NotificationTemplatesConfig_1.NotificationTemplatesConfigToJSON)(value['notificationTemplatesConfig']),
146
147
  'paymentTriggers': value['paymentTriggers'] == null ? undefined : (value['paymentTriggers'].map(PaymentTriggerConfig_1.PaymentTriggerConfigToJSON)),
147
148
  'emailSender': value['emailSender'],
149
+ 'emailSenderName': value['emailSenderName'],
148
150
  'parentProjectId': value['parentProjectId'],
149
151
  'clonedFromProjectId': value['clonedFromProjectId'],
150
152
  'environmentName': value['environmentName'],
@@ -77,6 +77,12 @@ export interface UpdateProjectRequest {
77
77
  * @memberof UpdateProjectRequest
78
78
  */
79
79
  emailSender?: UpdateProjectRequestEmailSenderType | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof UpdateProjectRequest
84
+ */
85
+ emailSenderName?: string | null;
80
86
  }
81
87
  /**
82
88
  * @export
@@ -60,6 +60,7 @@ function UpdateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'mfaConfig': json['mfaConfig'] == null ? undefined : (0, MfaConfig_1.MfaConfigFromJSON)(json['mfaConfig']),
61
61
  'botProtectionMode': json['botProtectionMode'] == null ? undefined : json['botProtectionMode'],
62
62
  'emailSender': json['emailSender'] == null ? undefined : json['emailSender'],
63
+ 'emailSenderName': json['emailSenderName'] == null ? undefined : json['emailSenderName'],
63
64
  };
64
65
  }
65
66
  function UpdateProjectRequestToJSON(json) {
@@ -81,5 +82,6 @@ function UpdateProjectRequestToJSONTyped(value, ignoreDiscriminator) {
81
82
  'mfaConfig': (0, MfaConfig_1.MfaConfigToJSON)(value['mfaConfig']),
82
83
  'botProtectionMode': value['botProtectionMode'],
83
84
  'emailSender': value['emailSender'],
85
+ 'emailSenderName': value['emailSenderName'],
84
86
  };
85
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.536",
3
+ "version": "1.0.538",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {