ultracart_rest_api_v2_typescript 3.10.13 → 3.10.14
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/README.md +3 -2
- package/api.ts +262 -0
- package/dist/api.d.ts +108 -0
- package/dist/api.js +205 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@3.10.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@3.10.14
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@3.10.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@3.10.14 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.14 | 06/16/2022 | added createEmailSendingDomain2 to support additional MTAs |
|
|
57
58
|
| 3.10.13 | 06/16/2022 | renamed latest method to avoid conflict between customer profile search and storefront search |
|
|
58
59
|
| 3.10.12 | 06/16/2022 | Customer profile search method to look up tags |
|
|
59
60
|
| 3.10.11 | 06/10/2022 | esp segment 3rd party sync add/remove tag fields |
|
package/api.ts
CHANGED
|
@@ -12669,6 +12669,12 @@ export interface EmailDomain {
|
|
|
12669
12669
|
* @memberof EmailDomain
|
|
12670
12670
|
*/
|
|
12671
12671
|
identity_status?: string;
|
|
12672
|
+
/**
|
|
12673
|
+
*
|
|
12674
|
+
* @type {Mailgun}
|
|
12675
|
+
* @memberof EmailDomain
|
|
12676
|
+
*/
|
|
12677
|
+
mailgun?: Mailgun;
|
|
12672
12678
|
/**
|
|
12673
12679
|
*
|
|
12674
12680
|
* @type {string}
|
|
@@ -22878,6 +22884,20 @@ export interface LookupResponse {
|
|
|
22878
22884
|
warning?: Warning;
|
|
22879
22885
|
}
|
|
22880
22886
|
|
|
22887
|
+
/**
|
|
22888
|
+
*
|
|
22889
|
+
* @export
|
|
22890
|
+
* @interface Mailgun
|
|
22891
|
+
*/
|
|
22892
|
+
export interface Mailgun {
|
|
22893
|
+
/**
|
|
22894
|
+
*
|
|
22895
|
+
* @type {string}
|
|
22896
|
+
* @memberof Mailgun
|
|
22897
|
+
*/
|
|
22898
|
+
api_key?: string;
|
|
22899
|
+
}
|
|
22900
|
+
|
|
22881
22901
|
/**
|
|
22882
22902
|
*
|
|
22883
22903
|
* @export
|
|
@@ -54756,6 +54776,69 @@ export const StorefrontApiFetchParamCreator = function (configuration?: Configur
|
|
|
54756
54776
|
options: localVarRequestOptions,
|
|
54757
54777
|
};
|
|
54758
54778
|
},
|
|
54779
|
+
/**
|
|
54780
|
+
*
|
|
54781
|
+
* @summary Create email sending domain for various providers
|
|
54782
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
54783
|
+
* @param {*} [options] Override http request option.
|
|
54784
|
+
* @throws {RequiredError}
|
|
54785
|
+
*/
|
|
54786
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options: any = {}): FetchArgs {
|
|
54787
|
+
// verify required parameter 'email_domain' is not null or undefined
|
|
54788
|
+
if (email_domain === null || email_domain === undefined) {
|
|
54789
|
+
throw new RequiredError('email_domain','Required parameter email_domain was null or undefined when calling createEmailSendingDomain2.');
|
|
54790
|
+
}
|
|
54791
|
+
const localVarPath = `/storefront/email/sending_domains`;
|
|
54792
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
54793
|
+
const localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
54794
|
+
const localVarHeaderParameter = {} as any;
|
|
54795
|
+
const localVarQueryParameter = {} as any;
|
|
54796
|
+
|
|
54797
|
+
if(configuration && configuration.apiVersion) {
|
|
54798
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
54799
|
+
}
|
|
54800
|
+
|
|
54801
|
+
|
|
54802
|
+
|
|
54803
|
+
// authentication ultraCartBrowserApiKey required
|
|
54804
|
+
if (configuration && configuration.apiKey) {
|
|
54805
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
54806
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
54807
|
+
: configuration.apiKey;
|
|
54808
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
54809
|
+
}
|
|
54810
|
+
|
|
54811
|
+
// authentication ultraCartOauth required
|
|
54812
|
+
// oauth required
|
|
54813
|
+
if (configuration && configuration.accessToken) {
|
|
54814
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
54815
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_read"])
|
|
54816
|
+
: configuration.accessToken;
|
|
54817
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
54818
|
+
}
|
|
54819
|
+
|
|
54820
|
+
// authentication ultraCartSimpleApiKey required
|
|
54821
|
+
if (configuration && configuration.apiKey) {
|
|
54822
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
54823
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
54824
|
+
: configuration.apiKey;
|
|
54825
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
54826
|
+
}
|
|
54827
|
+
|
|
54828
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
54829
|
+
|
|
54830
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
54831
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
54832
|
+
delete localVarUrlObj.search;
|
|
54833
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
54834
|
+
const needsSerialization = (<any>"EmailDomain" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
54835
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(email_domain || {}) : (email_domain || "");
|
|
54836
|
+
|
|
54837
|
+
return {
|
|
54838
|
+
url: url.format(localVarUrlObj),
|
|
54839
|
+
options: localVarRequestOptions,
|
|
54840
|
+
};
|
|
54841
|
+
},
|
|
54759
54842
|
/**
|
|
54760
54843
|
*
|
|
54761
54844
|
* @summary Create Twilio account
|
|
@@ -64214,6 +64297,75 @@ export const StorefrontApiFetchParamCreator = function (configuration?: Configur
|
|
|
64214
64297
|
options: localVarRequestOptions,
|
|
64215
64298
|
};
|
|
64216
64299
|
},
|
|
64300
|
+
/**
|
|
64301
|
+
*
|
|
64302
|
+
* @summary Update email sending domain
|
|
64303
|
+
* @param {string} domain
|
|
64304
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
64305
|
+
* @param {*} [options] Override http request option.
|
|
64306
|
+
* @throws {RequiredError}
|
|
64307
|
+
*/
|
|
64308
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options: any = {}): FetchArgs {
|
|
64309
|
+
// verify required parameter 'domain' is not null or undefined
|
|
64310
|
+
if (domain === null || domain === undefined) {
|
|
64311
|
+
throw new RequiredError('domain','Required parameter domain was null or undefined when calling updateEmailSendingDomain.');
|
|
64312
|
+
}
|
|
64313
|
+
// verify required parameter 'email_domain' is not null or undefined
|
|
64314
|
+
if (email_domain === null || email_domain === undefined) {
|
|
64315
|
+
throw new RequiredError('email_domain','Required parameter email_domain was null or undefined when calling updateEmailSendingDomain.');
|
|
64316
|
+
}
|
|
64317
|
+
const localVarPath = `/storefront/email/sending_domains/{domain}`
|
|
64318
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
64319
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
64320
|
+
const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
64321
|
+
const localVarHeaderParameter = {} as any;
|
|
64322
|
+
const localVarQueryParameter = {} as any;
|
|
64323
|
+
|
|
64324
|
+
if(configuration && configuration.apiVersion) {
|
|
64325
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
64326
|
+
}
|
|
64327
|
+
|
|
64328
|
+
|
|
64329
|
+
|
|
64330
|
+
// authentication ultraCartBrowserApiKey required
|
|
64331
|
+
if (configuration && configuration.apiKey) {
|
|
64332
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
64333
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
64334
|
+
: configuration.apiKey;
|
|
64335
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
64336
|
+
}
|
|
64337
|
+
|
|
64338
|
+
// authentication ultraCartOauth required
|
|
64339
|
+
// oauth required
|
|
64340
|
+
if (configuration && configuration.accessToken) {
|
|
64341
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
64342
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_write"])
|
|
64343
|
+
: configuration.accessToken;
|
|
64344
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
64345
|
+
}
|
|
64346
|
+
|
|
64347
|
+
// authentication ultraCartSimpleApiKey required
|
|
64348
|
+
if (configuration && configuration.apiKey) {
|
|
64349
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
64350
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
64351
|
+
: configuration.apiKey;
|
|
64352
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
64353
|
+
}
|
|
64354
|
+
|
|
64355
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
64356
|
+
|
|
64357
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
64358
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
64359
|
+
delete localVarUrlObj.search;
|
|
64360
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
64361
|
+
const needsSerialization = (<any>"EmailDomain" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
64362
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(email_domain || {}) : (email_domain || "");
|
|
64363
|
+
|
|
64364
|
+
return {
|
|
64365
|
+
url: url.format(localVarUrlObj),
|
|
64366
|
+
options: localVarRequestOptions,
|
|
64367
|
+
};
|
|
64368
|
+
},
|
|
64217
64369
|
/**
|
|
64218
64370
|
*
|
|
64219
64371
|
* @summary Update email settings
|
|
@@ -65057,6 +65209,27 @@ export const StorefrontApiFp = function(configuration?: Configuration) {
|
|
|
65057
65209
|
});
|
|
65058
65210
|
};
|
|
65059
65211
|
},
|
|
65212
|
+
/**
|
|
65213
|
+
*
|
|
65214
|
+
* @summary Create email sending domain for various providers
|
|
65215
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
65216
|
+
* @param {*} [options] Override http request option.
|
|
65217
|
+
* @throws {RequiredError}
|
|
65218
|
+
*/
|
|
65219
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSendingDomainResponse> {
|
|
65220
|
+
const localVarFetchArgs = StorefrontApiFetchParamCreator(configuration).createEmailSendingDomain2(email_domain, options);
|
|
65221
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
65222
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
65223
|
+
|
|
65224
|
+
if (response.status >= 200 && response.status < 300) {
|
|
65225
|
+
return response.json();
|
|
65226
|
+
|
|
65227
|
+
} else {
|
|
65228
|
+
throw response;
|
|
65229
|
+
}
|
|
65230
|
+
});
|
|
65231
|
+
};
|
|
65232
|
+
},
|
|
65060
65233
|
/**
|
|
65061
65234
|
*
|
|
65062
65235
|
* @summary Create Twilio account
|
|
@@ -68198,6 +68371,28 @@ export const StorefrontApiFp = function(configuration?: Configuration) {
|
|
|
68198
68371
|
});
|
|
68199
68372
|
};
|
|
68200
68373
|
},
|
|
68374
|
+
/**
|
|
68375
|
+
*
|
|
68376
|
+
* @summary Update email sending domain
|
|
68377
|
+
* @param {string} domain
|
|
68378
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
68379
|
+
* @param {*} [options] Override http request option.
|
|
68380
|
+
* @throws {RequiredError}
|
|
68381
|
+
*/
|
|
68382
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSendingDomainResponse> {
|
|
68383
|
+
const localVarFetchArgs = StorefrontApiFetchParamCreator(configuration).updateEmailSendingDomain(domain, email_domain, options);
|
|
68384
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
68385
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
68386
|
+
|
|
68387
|
+
if (response.status >= 200 && response.status < 300) {
|
|
68388
|
+
return response.json();
|
|
68389
|
+
|
|
68390
|
+
} else {
|
|
68391
|
+
throw response;
|
|
68392
|
+
}
|
|
68393
|
+
});
|
|
68394
|
+
};
|
|
68395
|
+
},
|
|
68201
68396
|
/**
|
|
68202
68397
|
*
|
|
68203
68398
|
* @summary Update email settings
|
|
@@ -68510,6 +68705,16 @@ export const StorefrontApiFactory = function (configuration?: Configuration, fet
|
|
|
68510
68705
|
createEmailSendingDomain(domain: string, options?: any) {
|
|
68511
68706
|
return StorefrontApiFp(configuration).createEmailSendingDomain(domain, options)(fetch, basePath);
|
|
68512
68707
|
},
|
|
68708
|
+
/**
|
|
68709
|
+
*
|
|
68710
|
+
* @summary Create email sending domain for various providers
|
|
68711
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
68712
|
+
* @param {*} [options] Override http request option.
|
|
68713
|
+
* @throws {RequiredError}
|
|
68714
|
+
*/
|
|
68715
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any) {
|
|
68716
|
+
return StorefrontApiFp(configuration).createEmailSendingDomain2(email_domain, options)(fetch, basePath);
|
|
68717
|
+
},
|
|
68513
68718
|
/**
|
|
68514
68719
|
*
|
|
68515
68720
|
* @summary Create Twilio account
|
|
@@ -70089,6 +70294,17 @@ export const StorefrontApiFactory = function (configuration?: Configuration, fet
|
|
|
70089
70294
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any) {
|
|
70090
70295
|
return StorefrontApiFp(configuration).updateEmailSegment(storefront_oid, email_segment_uuid, email_segment, options)(fetch, basePath);
|
|
70091
70296
|
},
|
|
70297
|
+
/**
|
|
70298
|
+
*
|
|
70299
|
+
* @summary Update email sending domain
|
|
70300
|
+
* @param {string} domain
|
|
70301
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
70302
|
+
* @param {*} [options] Override http request option.
|
|
70303
|
+
* @throws {RequiredError}
|
|
70304
|
+
*/
|
|
70305
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any) {
|
|
70306
|
+
return StorefrontApiFp(configuration).updateEmailSendingDomain(domain, email_domain, options)(fetch, basePath);
|
|
70307
|
+
},
|
|
70092
70308
|
/**
|
|
70093
70309
|
*
|
|
70094
70310
|
* @summary Update email settings
|
|
@@ -70302,6 +70518,16 @@ export interface StorefrontApiInterface {
|
|
|
70302
70518
|
*/
|
|
70303
70519
|
createEmailSendingDomain(domain: string, options?: any): Promise<EmailSendingDomainResponse>;
|
|
70304
70520
|
|
|
70521
|
+
/**
|
|
70522
|
+
*
|
|
70523
|
+
* @summary Create email sending domain for various providers
|
|
70524
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
70525
|
+
* @param {*} [options] Override http request option.
|
|
70526
|
+
* @throws {RequiredError}
|
|
70527
|
+
* @memberof StorefrontApiInterface
|
|
70528
|
+
*/
|
|
70529
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
70530
|
+
|
|
70305
70531
|
/**
|
|
70306
70532
|
*
|
|
70307
70533
|
* @summary Create Twilio account
|
|
@@ -71881,6 +72107,17 @@ export interface StorefrontApiInterface {
|
|
|
71881
72107
|
*/
|
|
71882
72108
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): Promise<EmailSegmentResponse>;
|
|
71883
72109
|
|
|
72110
|
+
/**
|
|
72111
|
+
*
|
|
72112
|
+
* @summary Update email sending domain
|
|
72113
|
+
* @param {string} domain
|
|
72114
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
72115
|
+
* @param {*} [options] Override http request option.
|
|
72116
|
+
* @throws {RequiredError}
|
|
72117
|
+
* @memberof StorefrontApiInterface
|
|
72118
|
+
*/
|
|
72119
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
72120
|
+
|
|
71884
72121
|
/**
|
|
71885
72122
|
*
|
|
71886
72123
|
* @summary Update email settings
|
|
@@ -72112,6 +72349,18 @@ export class StorefrontApi extends BaseAPI implements StorefrontApiInterface {
|
|
|
72112
72349
|
return StorefrontApiFp(this.configuration).createEmailSendingDomain(domain, options)(this.fetch, this.basePath);
|
|
72113
72350
|
}
|
|
72114
72351
|
|
|
72352
|
+
/**
|
|
72353
|
+
*
|
|
72354
|
+
* @summary Create email sending domain for various providers
|
|
72355
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
72356
|
+
* @param {*} [options] Override http request option.
|
|
72357
|
+
* @throws {RequiredError}
|
|
72358
|
+
* @memberof StorefrontApi
|
|
72359
|
+
*/
|
|
72360
|
+
public createEmailSendingDomain2(email_domain: EmailDomain, options?: any) {
|
|
72361
|
+
return StorefrontApiFp(this.configuration).createEmailSendingDomain2(email_domain, options)(this.fetch, this.basePath);
|
|
72362
|
+
}
|
|
72363
|
+
|
|
72115
72364
|
/**
|
|
72116
72365
|
*
|
|
72117
72366
|
* @summary Create Twilio account
|
|
@@ -73975,6 +74224,19 @@ export class StorefrontApi extends BaseAPI implements StorefrontApiInterface {
|
|
|
73975
74224
|
return StorefrontApiFp(this.configuration).updateEmailSegment(storefront_oid, email_segment_uuid, email_segment, options)(this.fetch, this.basePath);
|
|
73976
74225
|
}
|
|
73977
74226
|
|
|
74227
|
+
/**
|
|
74228
|
+
*
|
|
74229
|
+
* @summary Update email sending domain
|
|
74230
|
+
* @param {string} domain
|
|
74231
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
74232
|
+
* @param {*} [options] Override http request option.
|
|
74233
|
+
* @throws {RequiredError}
|
|
74234
|
+
* @memberof StorefrontApi
|
|
74235
|
+
*/
|
|
74236
|
+
public updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any) {
|
|
74237
|
+
return StorefrontApiFp(this.configuration).updateEmailSendingDomain(domain, email_domain, options)(this.fetch, this.basePath);
|
|
74238
|
+
}
|
|
74239
|
+
|
|
73978
74240
|
/**
|
|
73979
74241
|
*
|
|
73980
74242
|
* @summary Update email settings
|
package/dist/api.d.ts
CHANGED
|
@@ -12386,6 +12386,12 @@ export interface EmailDomain {
|
|
|
12386
12386
|
* @memberof EmailDomain
|
|
12387
12387
|
*/
|
|
12388
12388
|
identity_status?: string;
|
|
12389
|
+
/**
|
|
12390
|
+
*
|
|
12391
|
+
* @type {Mailgun}
|
|
12392
|
+
* @memberof EmailDomain
|
|
12393
|
+
*/
|
|
12394
|
+
mailgun?: Mailgun;
|
|
12389
12395
|
/**
|
|
12390
12396
|
*
|
|
12391
12397
|
* @type {string}
|
|
@@ -22386,6 +22392,19 @@ export interface LookupResponse {
|
|
|
22386
22392
|
*/
|
|
22387
22393
|
warning?: Warning;
|
|
22388
22394
|
}
|
|
22395
|
+
/**
|
|
22396
|
+
*
|
|
22397
|
+
* @export
|
|
22398
|
+
* @interface Mailgun
|
|
22399
|
+
*/
|
|
22400
|
+
export interface Mailgun {
|
|
22401
|
+
/**
|
|
22402
|
+
*
|
|
22403
|
+
* @type {string}
|
|
22404
|
+
* @memberof Mailgun
|
|
22405
|
+
*/
|
|
22406
|
+
api_key?: string;
|
|
22407
|
+
}
|
|
22389
22408
|
/**
|
|
22390
22409
|
*
|
|
22391
22410
|
* @export
|
|
@@ -42806,6 +42825,14 @@ export declare const StorefrontApiFetchParamCreator: (configuration?: Configurat
|
|
|
42806
42825
|
* @throws {RequiredError}
|
|
42807
42826
|
*/
|
|
42808
42827
|
createEmailSendingDomain(domain: string, options?: any): FetchArgs;
|
|
42828
|
+
/**
|
|
42829
|
+
*
|
|
42830
|
+
* @summary Create email sending domain for various providers
|
|
42831
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
42832
|
+
* @param {*} [options] Override http request option.
|
|
42833
|
+
* @throws {RequiredError}
|
|
42834
|
+
*/
|
|
42835
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): FetchArgs;
|
|
42809
42836
|
/**
|
|
42810
42837
|
*
|
|
42811
42838
|
* @summary Create Twilio account
|
|
@@ -44101,6 +44128,15 @@ export declare const StorefrontApiFetchParamCreator: (configuration?: Configurat
|
|
|
44101
44128
|
* @throws {RequiredError}
|
|
44102
44129
|
*/
|
|
44103
44130
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): FetchArgs;
|
|
44131
|
+
/**
|
|
44132
|
+
*
|
|
44133
|
+
* @summary Update email sending domain
|
|
44134
|
+
* @param {string} domain
|
|
44135
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
44136
|
+
* @param {*} [options] Override http request option.
|
|
44137
|
+
* @throws {RequiredError}
|
|
44138
|
+
*/
|
|
44139
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): FetchArgs;
|
|
44104
44140
|
/**
|
|
44105
44141
|
*
|
|
44106
44142
|
* @summary Update email settings
|
|
@@ -44275,6 +44311,14 @@ export declare const StorefrontApiFp: (configuration?: Configuration) => {
|
|
|
44275
44311
|
* @throws {RequiredError}
|
|
44276
44312
|
*/
|
|
44277
44313
|
createEmailSendingDomain(domain: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSendingDomainResponse>;
|
|
44314
|
+
/**
|
|
44315
|
+
*
|
|
44316
|
+
* @summary Create email sending domain for various providers
|
|
44317
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
44318
|
+
* @param {*} [options] Override http request option.
|
|
44319
|
+
* @throws {RequiredError}
|
|
44320
|
+
*/
|
|
44321
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSendingDomainResponse>;
|
|
44278
44322
|
/**
|
|
44279
44323
|
*
|
|
44280
44324
|
* @summary Create Twilio account
|
|
@@ -45570,6 +45614,15 @@ export declare const StorefrontApiFp: (configuration?: Configuration) => {
|
|
|
45570
45614
|
* @throws {RequiredError}
|
|
45571
45615
|
*/
|
|
45572
45616
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSegmentResponse>;
|
|
45617
|
+
/**
|
|
45618
|
+
*
|
|
45619
|
+
* @summary Update email sending domain
|
|
45620
|
+
* @param {string} domain
|
|
45621
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
45622
|
+
* @param {*} [options] Override http request option.
|
|
45623
|
+
* @throws {RequiredError}
|
|
45624
|
+
*/
|
|
45625
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailSendingDomainResponse>;
|
|
45573
45626
|
/**
|
|
45574
45627
|
*
|
|
45575
45628
|
* @summary Update email settings
|
|
@@ -45744,6 +45797,14 @@ export declare const StorefrontApiFactory: (configuration?: Configuration, fetch
|
|
|
45744
45797
|
* @throws {RequiredError}
|
|
45745
45798
|
*/
|
|
45746
45799
|
createEmailSendingDomain(domain: string, options?: any): Promise<EmailSendingDomainResponse>;
|
|
45800
|
+
/**
|
|
45801
|
+
*
|
|
45802
|
+
* @summary Create email sending domain for various providers
|
|
45803
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
45804
|
+
* @param {*} [options] Override http request option.
|
|
45805
|
+
* @throws {RequiredError}
|
|
45806
|
+
*/
|
|
45807
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
45747
45808
|
/**
|
|
45748
45809
|
*
|
|
45749
45810
|
* @summary Create Twilio account
|
|
@@ -47039,6 +47100,15 @@ export declare const StorefrontApiFactory: (configuration?: Configuration, fetch
|
|
|
47039
47100
|
* @throws {RequiredError}
|
|
47040
47101
|
*/
|
|
47041
47102
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): Promise<EmailSegmentResponse>;
|
|
47103
|
+
/**
|
|
47104
|
+
*
|
|
47105
|
+
* @summary Update email sending domain
|
|
47106
|
+
* @param {string} domain
|
|
47107
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
47108
|
+
* @param {*} [options] Override http request option.
|
|
47109
|
+
* @throws {RequiredError}
|
|
47110
|
+
*/
|
|
47111
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
47042
47112
|
/**
|
|
47043
47113
|
*
|
|
47044
47114
|
* @summary Update email settings
|
|
@@ -47223,6 +47293,15 @@ export interface StorefrontApiInterface {
|
|
|
47223
47293
|
* @memberof StorefrontApiInterface
|
|
47224
47294
|
*/
|
|
47225
47295
|
createEmailSendingDomain(domain: string, options?: any): Promise<EmailSendingDomainResponse>;
|
|
47296
|
+
/**
|
|
47297
|
+
*
|
|
47298
|
+
* @summary Create email sending domain for various providers
|
|
47299
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
47300
|
+
* @param {*} [options] Override http request option.
|
|
47301
|
+
* @throws {RequiredError}
|
|
47302
|
+
* @memberof StorefrontApiInterface
|
|
47303
|
+
*/
|
|
47304
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
47226
47305
|
/**
|
|
47227
47306
|
*
|
|
47228
47307
|
* @summary Create Twilio account
|
|
@@ -48660,6 +48739,16 @@ export interface StorefrontApiInterface {
|
|
|
48660
48739
|
* @memberof StorefrontApiInterface
|
|
48661
48740
|
*/
|
|
48662
48741
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): Promise<EmailSegmentResponse>;
|
|
48742
|
+
/**
|
|
48743
|
+
*
|
|
48744
|
+
* @summary Update email sending domain
|
|
48745
|
+
* @param {string} domain
|
|
48746
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
48747
|
+
* @param {*} [options] Override http request option.
|
|
48748
|
+
* @throws {RequiredError}
|
|
48749
|
+
* @memberof StorefrontApiInterface
|
|
48750
|
+
*/
|
|
48751
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
48663
48752
|
/**
|
|
48664
48753
|
*
|
|
48665
48754
|
* @summary Update email settings
|
|
@@ -48854,6 +48943,15 @@ export declare class StorefrontApi extends BaseAPI implements StorefrontApiInter
|
|
|
48854
48943
|
* @memberof StorefrontApi
|
|
48855
48944
|
*/
|
|
48856
48945
|
createEmailSendingDomain(domain: string, options?: any): Promise<EmailSendingDomainResponse>;
|
|
48946
|
+
/**
|
|
48947
|
+
*
|
|
48948
|
+
* @summary Create email sending domain for various providers
|
|
48949
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
48950
|
+
* @param {*} [options] Override http request option.
|
|
48951
|
+
* @throws {RequiredError}
|
|
48952
|
+
* @memberof StorefrontApi
|
|
48953
|
+
*/
|
|
48954
|
+
createEmailSendingDomain2(email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
48857
48955
|
/**
|
|
48858
48956
|
*
|
|
48859
48957
|
* @summary Create Twilio account
|
|
@@ -50291,6 +50389,16 @@ export declare class StorefrontApi extends BaseAPI implements StorefrontApiInter
|
|
|
50291
50389
|
* @memberof StorefrontApi
|
|
50292
50390
|
*/
|
|
50293
50391
|
updateEmailSegment(storefront_oid: number, email_segment_uuid: string, email_segment: EmailSegment, options?: any): Promise<EmailSegmentResponse>;
|
|
50392
|
+
/**
|
|
50393
|
+
*
|
|
50394
|
+
* @summary Update email sending domain
|
|
50395
|
+
* @param {string} domain
|
|
50396
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
50397
|
+
* @param {*} [options] Override http request option.
|
|
50398
|
+
* @throws {RequiredError}
|
|
50399
|
+
* @memberof StorefrontApi
|
|
50400
|
+
*/
|
|
50401
|
+
updateEmailSendingDomain(domain: string, email_domain: EmailDomain, options?: any): Promise<EmailSendingDomainResponse>;
|
|
50294
50402
|
/**
|
|
50295
50403
|
*
|
|
50296
50404
|
* @summary Update email settings
|
package/dist/api.js
CHANGED
|
@@ -17350,6 +17350,61 @@ var StorefrontApiFetchParamCreator = function (configuration) {
|
|
|
17350
17350
|
options: localVarRequestOptions,
|
|
17351
17351
|
};
|
|
17352
17352
|
},
|
|
17353
|
+
/**
|
|
17354
|
+
*
|
|
17355
|
+
* @summary Create email sending domain for various providers
|
|
17356
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
17357
|
+
* @param {*} [options] Override http request option.
|
|
17358
|
+
* @throws {RequiredError}
|
|
17359
|
+
*/
|
|
17360
|
+
createEmailSendingDomain2: function (email_domain, options) {
|
|
17361
|
+
if (options === void 0) { options = {}; }
|
|
17362
|
+
// verify required parameter 'email_domain' is not null or undefined
|
|
17363
|
+
if (email_domain === null || email_domain === undefined) {
|
|
17364
|
+
throw new RequiredError('email_domain', 'Required parameter email_domain was null or undefined when calling createEmailSendingDomain2.');
|
|
17365
|
+
}
|
|
17366
|
+
var localVarPath = "/storefront/email/sending_domains";
|
|
17367
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
17368
|
+
var localVarRequestOptions = Object.assign({ method: 'POST' }, options);
|
|
17369
|
+
var localVarHeaderParameter = {};
|
|
17370
|
+
var localVarQueryParameter = {};
|
|
17371
|
+
if (configuration && configuration.apiVersion) {
|
|
17372
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
17373
|
+
}
|
|
17374
|
+
// authentication ultraCartBrowserApiKey required
|
|
17375
|
+
if (configuration && configuration.apiKey) {
|
|
17376
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17377
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
17378
|
+
: configuration.apiKey;
|
|
17379
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
17380
|
+
}
|
|
17381
|
+
// authentication ultraCartOauth required
|
|
17382
|
+
// oauth required
|
|
17383
|
+
if (configuration && configuration.accessToken) {
|
|
17384
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
17385
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_read"])
|
|
17386
|
+
: configuration.accessToken;
|
|
17387
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
17388
|
+
}
|
|
17389
|
+
// authentication ultraCartSimpleApiKey required
|
|
17390
|
+
if (configuration && configuration.apiKey) {
|
|
17391
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
17392
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
17393
|
+
: configuration.apiKey;
|
|
17394
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
17395
|
+
}
|
|
17396
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17397
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
17398
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
17399
|
+
delete localVarUrlObj.search;
|
|
17400
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
17401
|
+
var needsSerialization = ("EmailDomain" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
17402
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(email_domain || {}) : (email_domain || "");
|
|
17403
|
+
return {
|
|
17404
|
+
url: url.format(localVarUrlObj),
|
|
17405
|
+
options: localVarRequestOptions,
|
|
17406
|
+
};
|
|
17407
|
+
},
|
|
17353
17408
|
/**
|
|
17354
17409
|
*
|
|
17355
17410
|
* @summary Create Twilio account
|
|
@@ -25733,6 +25788,67 @@ var StorefrontApiFetchParamCreator = function (configuration) {
|
|
|
25733
25788
|
options: localVarRequestOptions,
|
|
25734
25789
|
};
|
|
25735
25790
|
},
|
|
25791
|
+
/**
|
|
25792
|
+
*
|
|
25793
|
+
* @summary Update email sending domain
|
|
25794
|
+
* @param {string} domain
|
|
25795
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
25796
|
+
* @param {*} [options] Override http request option.
|
|
25797
|
+
* @throws {RequiredError}
|
|
25798
|
+
*/
|
|
25799
|
+
updateEmailSendingDomain: function (domain, email_domain, options) {
|
|
25800
|
+
if (options === void 0) { options = {}; }
|
|
25801
|
+
// verify required parameter 'domain' is not null or undefined
|
|
25802
|
+
if (domain === null || domain === undefined) {
|
|
25803
|
+
throw new RequiredError('domain', 'Required parameter domain was null or undefined when calling updateEmailSendingDomain.');
|
|
25804
|
+
}
|
|
25805
|
+
// verify required parameter 'email_domain' is not null or undefined
|
|
25806
|
+
if (email_domain === null || email_domain === undefined) {
|
|
25807
|
+
throw new RequiredError('email_domain', 'Required parameter email_domain was null or undefined when calling updateEmailSendingDomain.');
|
|
25808
|
+
}
|
|
25809
|
+
var localVarPath = "/storefront/email/sending_domains/{domain}"
|
|
25810
|
+
.replace("{".concat("domain", "}"), encodeURIComponent(String(domain)));
|
|
25811
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
25812
|
+
var localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
25813
|
+
var localVarHeaderParameter = {};
|
|
25814
|
+
var localVarQueryParameter = {};
|
|
25815
|
+
if (configuration && configuration.apiVersion) {
|
|
25816
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
25817
|
+
}
|
|
25818
|
+
// authentication ultraCartBrowserApiKey required
|
|
25819
|
+
if (configuration && configuration.apiKey) {
|
|
25820
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
25821
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
25822
|
+
: configuration.apiKey;
|
|
25823
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
25824
|
+
}
|
|
25825
|
+
// authentication ultraCartOauth required
|
|
25826
|
+
// oauth required
|
|
25827
|
+
if (configuration && configuration.accessToken) {
|
|
25828
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
25829
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_write"])
|
|
25830
|
+
: configuration.accessToken;
|
|
25831
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
25832
|
+
}
|
|
25833
|
+
// authentication ultraCartSimpleApiKey required
|
|
25834
|
+
if (configuration && configuration.apiKey) {
|
|
25835
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
25836
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
25837
|
+
: configuration.apiKey;
|
|
25838
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
25839
|
+
}
|
|
25840
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25841
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
25842
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
25843
|
+
delete localVarUrlObj.search;
|
|
25844
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
25845
|
+
var needsSerialization = ("EmailDomain" !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
25846
|
+
localVarRequestOptions.body = needsSerialization ? JSON.stringify(email_domain || {}) : (email_domain || "");
|
|
25847
|
+
return {
|
|
25848
|
+
url: url.format(localVarUrlObj),
|
|
25849
|
+
options: localVarRequestOptions,
|
|
25850
|
+
};
|
|
25851
|
+
},
|
|
25736
25852
|
/**
|
|
25737
25853
|
*
|
|
25738
25854
|
* @summary Update email settings
|
|
@@ -26515,6 +26631,28 @@ var StorefrontApiFp = function (configuration) {
|
|
|
26515
26631
|
});
|
|
26516
26632
|
};
|
|
26517
26633
|
},
|
|
26634
|
+
/**
|
|
26635
|
+
*
|
|
26636
|
+
* @summary Create email sending domain for various providers
|
|
26637
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
26638
|
+
* @param {*} [options] Override http request option.
|
|
26639
|
+
* @throws {RequiredError}
|
|
26640
|
+
*/
|
|
26641
|
+
createEmailSendingDomain2: function (email_domain, options) {
|
|
26642
|
+
var localVarFetchArgs = (0, exports.StorefrontApiFetchParamCreator)(configuration).createEmailSendingDomain2(email_domain, options);
|
|
26643
|
+
return function (fetch, basePath) {
|
|
26644
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
26645
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
26646
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
26647
|
+
if (response.status >= 200 && response.status < 300) {
|
|
26648
|
+
return response.json();
|
|
26649
|
+
}
|
|
26650
|
+
else {
|
|
26651
|
+
throw response;
|
|
26652
|
+
}
|
|
26653
|
+
});
|
|
26654
|
+
};
|
|
26655
|
+
},
|
|
26518
26656
|
/**
|
|
26519
26657
|
*
|
|
26520
26658
|
* @summary Create Twilio account
|
|
@@ -29798,6 +29936,29 @@ var StorefrontApiFp = function (configuration) {
|
|
|
29798
29936
|
});
|
|
29799
29937
|
};
|
|
29800
29938
|
},
|
|
29939
|
+
/**
|
|
29940
|
+
*
|
|
29941
|
+
* @summary Update email sending domain
|
|
29942
|
+
* @param {string} domain
|
|
29943
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
29944
|
+
* @param {*} [options] Override http request option.
|
|
29945
|
+
* @throws {RequiredError}
|
|
29946
|
+
*/
|
|
29947
|
+
updateEmailSendingDomain: function (domain, email_domain, options) {
|
|
29948
|
+
var localVarFetchArgs = (0, exports.StorefrontApiFetchParamCreator)(configuration).updateEmailSendingDomain(domain, email_domain, options);
|
|
29949
|
+
return function (fetch, basePath) {
|
|
29950
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
29951
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
29952
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
29953
|
+
if (response.status >= 200 && response.status < 300) {
|
|
29954
|
+
return response.json();
|
|
29955
|
+
}
|
|
29956
|
+
else {
|
|
29957
|
+
throw response;
|
|
29958
|
+
}
|
|
29959
|
+
});
|
|
29960
|
+
};
|
|
29961
|
+
},
|
|
29801
29962
|
/**
|
|
29802
29963
|
*
|
|
29803
29964
|
* @summary Update email settings
|
|
@@ -30119,6 +30280,16 @@ var StorefrontApiFactory = function (configuration, fetch, basePath) {
|
|
|
30119
30280
|
createEmailSendingDomain: function (domain, options) {
|
|
30120
30281
|
return (0, exports.StorefrontApiFp)(configuration).createEmailSendingDomain(domain, options)(fetch, basePath);
|
|
30121
30282
|
},
|
|
30283
|
+
/**
|
|
30284
|
+
*
|
|
30285
|
+
* @summary Create email sending domain for various providers
|
|
30286
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
30287
|
+
* @param {*} [options] Override http request option.
|
|
30288
|
+
* @throws {RequiredError}
|
|
30289
|
+
*/
|
|
30290
|
+
createEmailSendingDomain2: function (email_domain, options) {
|
|
30291
|
+
return (0, exports.StorefrontApiFp)(configuration).createEmailSendingDomain2(email_domain, options)(fetch, basePath);
|
|
30292
|
+
},
|
|
30122
30293
|
/**
|
|
30123
30294
|
*
|
|
30124
30295
|
* @summary Create Twilio account
|
|
@@ -31698,6 +31869,17 @@ var StorefrontApiFactory = function (configuration, fetch, basePath) {
|
|
|
31698
31869
|
updateEmailSegment: function (storefront_oid, email_segment_uuid, email_segment, options) {
|
|
31699
31870
|
return (0, exports.StorefrontApiFp)(configuration).updateEmailSegment(storefront_oid, email_segment_uuid, email_segment, options)(fetch, basePath);
|
|
31700
31871
|
},
|
|
31872
|
+
/**
|
|
31873
|
+
*
|
|
31874
|
+
* @summary Update email sending domain
|
|
31875
|
+
* @param {string} domain
|
|
31876
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
31877
|
+
* @param {*} [options] Override http request option.
|
|
31878
|
+
* @throws {RequiredError}
|
|
31879
|
+
*/
|
|
31880
|
+
updateEmailSendingDomain: function (domain, email_domain, options) {
|
|
31881
|
+
return (0, exports.StorefrontApiFp)(configuration).updateEmailSendingDomain(domain, email_domain, options)(fetch, basePath);
|
|
31882
|
+
},
|
|
31701
31883
|
/**
|
|
31702
31884
|
*
|
|
31703
31885
|
* @summary Update email settings
|
|
@@ -31925,6 +32107,17 @@ var StorefrontApi = /** @class */ (function (_super) {
|
|
|
31925
32107
|
StorefrontApi.prototype.createEmailSendingDomain = function (domain, options) {
|
|
31926
32108
|
return (0, exports.StorefrontApiFp)(this.configuration).createEmailSendingDomain(domain, options)(this.fetch, this.basePath);
|
|
31927
32109
|
};
|
|
32110
|
+
/**
|
|
32111
|
+
*
|
|
32112
|
+
* @summary Create email sending domain for various providers
|
|
32113
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
32114
|
+
* @param {*} [options] Override http request option.
|
|
32115
|
+
* @throws {RequiredError}
|
|
32116
|
+
* @memberof StorefrontApi
|
|
32117
|
+
*/
|
|
32118
|
+
StorefrontApi.prototype.createEmailSendingDomain2 = function (email_domain, options) {
|
|
32119
|
+
return (0, exports.StorefrontApiFp)(this.configuration).createEmailSendingDomain2(email_domain, options)(this.fetch, this.basePath);
|
|
32120
|
+
};
|
|
31928
32121
|
/**
|
|
31929
32122
|
*
|
|
31930
32123
|
* @summary Create Twilio account
|
|
@@ -33646,6 +33839,18 @@ var StorefrontApi = /** @class */ (function (_super) {
|
|
|
33646
33839
|
StorefrontApi.prototype.updateEmailSegment = function (storefront_oid, email_segment_uuid, email_segment, options) {
|
|
33647
33840
|
return (0, exports.StorefrontApiFp)(this.configuration).updateEmailSegment(storefront_oid, email_segment_uuid, email_segment, options)(this.fetch, this.basePath);
|
|
33648
33841
|
};
|
|
33842
|
+
/**
|
|
33843
|
+
*
|
|
33844
|
+
* @summary Update email sending domain
|
|
33845
|
+
* @param {string} domain
|
|
33846
|
+
* @param {EmailDomain} email_domain EmailDomain
|
|
33847
|
+
* @param {*} [options] Override http request option.
|
|
33848
|
+
* @throws {RequiredError}
|
|
33849
|
+
* @memberof StorefrontApi
|
|
33850
|
+
*/
|
|
33851
|
+
StorefrontApi.prototype.updateEmailSendingDomain = function (domain, email_domain, options) {
|
|
33852
|
+
return (0, exports.StorefrontApiFp)(this.configuration).updateEmailSendingDomain(domain, email_domain, options)(this.fetch, this.basePath);
|
|
33853
|
+
};
|
|
33649
33854
|
/**
|
|
33650
33855
|
*
|
|
33651
33856
|
* @summary Update email settings
|