ultracart_rest_api_v2_typescript 3.10.211 → 3.10.213
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 +4 -2
- package/api.ts +162 -26
- package/dist/api.d.ts +85 -26
- package/dist/api.js +143 -4
- 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.213
|
|
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.213 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 3.10.213 | 06/24/2024 | conversation object cleanup |
|
|
58
|
+
| 3.10.212 | 06/14/2024 | pbx menu - add say voice property |
|
|
57
59
|
| 3.10.211 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
|
|
58
60
|
| 3.10.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
|
59
61
|
| 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
package/api.ts
CHANGED
|
@@ -9287,6 +9287,12 @@ export interface ConversationPbxMenu {
|
|
|
9287
9287
|
* @memberof ConversationPbxMenu
|
|
9288
9288
|
*/
|
|
9289
9289
|
say?: string;
|
|
9290
|
+
/**
|
|
9291
|
+
* say voice
|
|
9292
|
+
* @type {string}
|
|
9293
|
+
* @memberof ConversationPbxMenu
|
|
9294
|
+
*/
|
|
9295
|
+
say_voice?: ConversationPbxMenu.SayVoiceEnum;
|
|
9290
9296
|
/**
|
|
9291
9297
|
* The idle seconds before this menu times out
|
|
9292
9298
|
* @type {number}
|
|
@@ -9295,6 +9301,21 @@ export interface ConversationPbxMenu {
|
|
|
9295
9301
|
timeout?: number;
|
|
9296
9302
|
}
|
|
9297
9303
|
|
|
9304
|
+
/**
|
|
9305
|
+
* @export
|
|
9306
|
+
* @namespace ConversationPbxMenu
|
|
9307
|
+
*/
|
|
9308
|
+
export namespace ConversationPbxMenu {
|
|
9309
|
+
/**
|
|
9310
|
+
* @export
|
|
9311
|
+
* @enum {string}
|
|
9312
|
+
*/
|
|
9313
|
+
export enum SayVoiceEnum {
|
|
9314
|
+
Man = <any> 'man',
|
|
9315
|
+
Woman = <any> 'woman'
|
|
9316
|
+
}
|
|
9317
|
+
}
|
|
9318
|
+
|
|
9298
9319
|
/**
|
|
9299
9320
|
*
|
|
9300
9321
|
* @export
|
|
@@ -10166,7 +10187,7 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
10166
10187
|
* @type {string}
|
|
10167
10188
|
* @memberof ConversationPbxVoicemailMailbox
|
|
10168
10189
|
*/
|
|
10169
|
-
voicemail_followup_say_voice?:
|
|
10190
|
+
voicemail_followup_say_voice?: ConversationPbxVoicemailMailbox.VoicemailFollowupSayVoiceEnum;
|
|
10170
10191
|
/**
|
|
10171
10192
|
* Voicemail mailbox id
|
|
10172
10193
|
* @type {string}
|
|
@@ -10196,7 +10217,7 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
10196
10217
|
* @type {string}
|
|
10197
10218
|
* @memberof ConversationPbxVoicemailMailbox
|
|
10198
10219
|
*/
|
|
10199
|
-
voicemail_prompt_say_voice?:
|
|
10220
|
+
voicemail_prompt_say_voice?: ConversationPbxVoicemailMailbox.VoicemailPromptSayVoiceEnum;
|
|
10200
10221
|
}
|
|
10201
10222
|
|
|
10202
10223
|
/**
|
|
@@ -10204,6 +10225,14 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
10204
10225
|
* @namespace ConversationPbxVoicemailMailbox
|
|
10205
10226
|
*/
|
|
10206
10227
|
export namespace ConversationPbxVoicemailMailbox {
|
|
10228
|
+
/**
|
|
10229
|
+
* @export
|
|
10230
|
+
* @enum {string}
|
|
10231
|
+
*/
|
|
10232
|
+
export enum VoicemailFollowupSayVoiceEnum {
|
|
10233
|
+
Man = <any> 'man',
|
|
10234
|
+
Woman = <any> 'woman'
|
|
10235
|
+
}
|
|
10207
10236
|
/**
|
|
10208
10237
|
* @export
|
|
10209
10238
|
* @enum {string}
|
|
@@ -10212,6 +10241,14 @@ export namespace ConversationPbxVoicemailMailbox {
|
|
|
10212
10241
|
Agent = <any> 'agent',
|
|
10213
10242
|
Shared = <any> 'shared'
|
|
10214
10243
|
}
|
|
10244
|
+
/**
|
|
10245
|
+
* @export
|
|
10246
|
+
* @enum {string}
|
|
10247
|
+
*/
|
|
10248
|
+
export enum VoicemailPromptSayVoiceEnum {
|
|
10249
|
+
Man = <any> 'man',
|
|
10250
|
+
Woman = <any> 'woman'
|
|
10251
|
+
}
|
|
10215
10252
|
}
|
|
10216
10253
|
|
|
10217
10254
|
/**
|
|
@@ -42779,12 +42816,6 @@ export interface Twilio {
|
|
|
42779
42816
|
* @memberof Twilio
|
|
42780
42817
|
*/
|
|
42781
42818
|
api_key_name?: string;
|
|
42782
|
-
/**
|
|
42783
|
-
*
|
|
42784
|
-
* @type {string}
|
|
42785
|
-
* @memberof Twilio
|
|
42786
|
-
*/
|
|
42787
|
-
api_key_secret?: string;
|
|
42788
42819
|
/**
|
|
42789
42820
|
*
|
|
42790
42821
|
* @type {string}
|
|
@@ -42815,24 +42846,6 @@ export interface Twilio {
|
|
|
42815
42846
|
* @memberof Twilio
|
|
42816
42847
|
*/
|
|
42817
42848
|
phone_numbers?: Array<string>;
|
|
42818
|
-
/**
|
|
42819
|
-
*
|
|
42820
|
-
* @type {string}
|
|
42821
|
-
* @memberof Twilio
|
|
42822
|
-
*/
|
|
42823
|
-
private_key_pem?: string;
|
|
42824
|
-
/**
|
|
42825
|
-
*
|
|
42826
|
-
* @type {string}
|
|
42827
|
-
* @memberof Twilio
|
|
42828
|
-
*/
|
|
42829
|
-
public_key_pem?: string;
|
|
42830
|
-
/**
|
|
42831
|
-
*
|
|
42832
|
-
* @type {string}
|
|
42833
|
-
* @memberof Twilio
|
|
42834
|
-
*/
|
|
42835
|
-
public_key_sid?: string;
|
|
42836
42849
|
/**
|
|
42837
42850
|
*
|
|
42838
42851
|
* @type {string}
|
|
@@ -85638,6 +85651,72 @@ export const StorefrontApiFetchParamCreator = function (configuration?: Configur
|
|
|
85638
85651
|
options: localVarRequestOptions,
|
|
85639
85652
|
};
|
|
85640
85653
|
},
|
|
85654
|
+
/**
|
|
85655
|
+
*
|
|
85656
|
+
* @summary Sunset email segment
|
|
85657
|
+
* @param {number} storefront_oid
|
|
85658
|
+
* @param {string} email_segment_uuid
|
|
85659
|
+
* @param {*} [options] Override http request option.
|
|
85660
|
+
* @throws {RequiredError}
|
|
85661
|
+
*/
|
|
85662
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options: any = {}): FetchArgs {
|
|
85663
|
+
// verify required parameter 'storefront_oid' is not null or undefined
|
|
85664
|
+
if (storefront_oid === null || storefront_oid === undefined) {
|
|
85665
|
+
throw new RequiredError('storefront_oid','Required parameter storefront_oid was null or undefined when calling sunsetEmailSegment.');
|
|
85666
|
+
}
|
|
85667
|
+
// verify required parameter 'email_segment_uuid' is not null or undefined
|
|
85668
|
+
if (email_segment_uuid === null || email_segment_uuid === undefined) {
|
|
85669
|
+
throw new RequiredError('email_segment_uuid','Required parameter email_segment_uuid was null or undefined when calling sunsetEmailSegment.');
|
|
85670
|
+
}
|
|
85671
|
+
const localVarPath = `/storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset`
|
|
85672
|
+
.replace(`{${"storefront_oid"}}`, encodeURIComponent(String(storefront_oid)))
|
|
85673
|
+
.replace(`{${"email_segment_uuid"}}`, encodeURIComponent(String(email_segment_uuid)));
|
|
85674
|
+
const localVarUrlObj = url.parse(localVarPath, true);
|
|
85675
|
+
const localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
85676
|
+
const localVarHeaderParameter = {} as any;
|
|
85677
|
+
const localVarQueryParameter = {} as any;
|
|
85678
|
+
|
|
85679
|
+
if(configuration && configuration.apiVersion) {
|
|
85680
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
85681
|
+
}
|
|
85682
|
+
|
|
85683
|
+
|
|
85684
|
+
|
|
85685
|
+
// authentication ultraCartBrowserApiKey required
|
|
85686
|
+
if (configuration && configuration.apiKey) {
|
|
85687
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
85688
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
85689
|
+
: configuration.apiKey;
|
|
85690
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
85691
|
+
}
|
|
85692
|
+
|
|
85693
|
+
// authentication ultraCartOauth required
|
|
85694
|
+
// oauth required
|
|
85695
|
+
if (configuration && configuration.accessToken) {
|
|
85696
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
85697
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_write"])
|
|
85698
|
+
: configuration.accessToken;
|
|
85699
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
85700
|
+
}
|
|
85701
|
+
|
|
85702
|
+
// authentication ultraCartSimpleApiKey required
|
|
85703
|
+
if (configuration && configuration.apiKey) {
|
|
85704
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
85705
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
85706
|
+
: configuration.apiKey;
|
|
85707
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
85708
|
+
}
|
|
85709
|
+
|
|
85710
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
85711
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
85712
|
+
delete localVarUrlObj.search;
|
|
85713
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
85714
|
+
|
|
85715
|
+
return {
|
|
85716
|
+
url: url.format(localVarUrlObj),
|
|
85717
|
+
options: localVarRequestOptions,
|
|
85718
|
+
};
|
|
85719
|
+
},
|
|
85641
85720
|
/**
|
|
85642
85721
|
* Remove favorite flag on screen recording
|
|
85643
85722
|
* @summary Remove favorite flag on screen recording
|
|
@@ -90813,6 +90892,28 @@ export const StorefrontApiFp = function(configuration?: Configuration) {
|
|
|
90813
90892
|
});
|
|
90814
90893
|
};
|
|
90815
90894
|
},
|
|
90895
|
+
/**
|
|
90896
|
+
*
|
|
90897
|
+
* @summary Sunset email segment
|
|
90898
|
+
* @param {number} storefront_oid
|
|
90899
|
+
* @param {string} email_segment_uuid
|
|
90900
|
+
* @param {*} [options] Override http request option.
|
|
90901
|
+
* @throws {RequiredError}
|
|
90902
|
+
*/
|
|
90903
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response> {
|
|
90904
|
+
const localVarFetchArgs = StorefrontApiFetchParamCreator(configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options);
|
|
90905
|
+
return (fetch: FetchAPI = portableFetch, basePath: string = BASE_PATH) => {
|
|
90906
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
90907
|
+
|
|
90908
|
+
if (response.status >= 200 && response.status < 300) {
|
|
90909
|
+
return response;
|
|
90910
|
+
|
|
90911
|
+
} else {
|
|
90912
|
+
throw response;
|
|
90913
|
+
}
|
|
90914
|
+
});
|
|
90915
|
+
};
|
|
90916
|
+
},
|
|
90816
90917
|
/**
|
|
90817
90918
|
* Remove favorite flag on screen recording
|
|
90818
90919
|
* @summary Remove favorite flag on screen recording
|
|
@@ -93073,6 +93174,17 @@ export const StorefrontApiFactory = function (configuration?: Configuration, fet
|
|
|
93073
93174
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any) {
|
|
93074
93175
|
return StorefrontApiFp(configuration).subscribeToEmailList(storefront_oid, email_list_uuid, customers, options)(fetch, basePath);
|
|
93075
93176
|
},
|
|
93177
|
+
/**
|
|
93178
|
+
*
|
|
93179
|
+
* @summary Sunset email segment
|
|
93180
|
+
* @param {number} storefront_oid
|
|
93181
|
+
* @param {string} email_segment_uuid
|
|
93182
|
+
* @param {*} [options] Override http request option.
|
|
93183
|
+
* @throws {RequiredError}
|
|
93184
|
+
*/
|
|
93185
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any) {
|
|
93186
|
+
return StorefrontApiFp(configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options)(fetch, basePath);
|
|
93187
|
+
},
|
|
93076
93188
|
/**
|
|
93077
93189
|
* Remove favorite flag on screen recording
|
|
93078
93190
|
* @summary Remove favorite flag on screen recording
|
|
@@ -95047,6 +95159,17 @@ export interface StorefrontApiInterface {
|
|
|
95047
95159
|
*/
|
|
95048
95160
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): Promise<EmailListSubscribeResponse>;
|
|
95049
95161
|
|
|
95162
|
+
/**
|
|
95163
|
+
*
|
|
95164
|
+
* @summary Sunset email segment
|
|
95165
|
+
* @param {number} storefront_oid
|
|
95166
|
+
* @param {string} email_segment_uuid
|
|
95167
|
+
* @param {*} [options] Override http request option.
|
|
95168
|
+
* @throws {RequiredError}
|
|
95169
|
+
* @memberof StorefrontApiInterface
|
|
95170
|
+
*/
|
|
95171
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): Promise<{}>;
|
|
95172
|
+
|
|
95050
95173
|
/**
|
|
95051
95174
|
* Remove favorite flag on screen recording
|
|
95052
95175
|
* @summary Remove favorite flag on screen recording
|
|
@@ -97321,6 +97444,19 @@ export class StorefrontApi extends BaseAPI implements StorefrontApiInterface {
|
|
|
97321
97444
|
return StorefrontApiFp(this.configuration).subscribeToEmailList(storefront_oid, email_list_uuid, customers, options)(this.fetch, this.basePath);
|
|
97322
97445
|
}
|
|
97323
97446
|
|
|
97447
|
+
/**
|
|
97448
|
+
*
|
|
97449
|
+
* @summary Sunset email segment
|
|
97450
|
+
* @param {number} storefront_oid
|
|
97451
|
+
* @param {string} email_segment_uuid
|
|
97452
|
+
* @param {*} [options] Override http request option.
|
|
97453
|
+
* @throws {RequiredError}
|
|
97454
|
+
* @memberof StorefrontApi
|
|
97455
|
+
*/
|
|
97456
|
+
public sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any) {
|
|
97457
|
+
return StorefrontApiFp(this.configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options)(this.fetch, this.basePath);
|
|
97458
|
+
}
|
|
97459
|
+
|
|
97324
97460
|
/**
|
|
97325
97461
|
* Remove favorite flag on screen recording
|
|
97326
97462
|
* @summary Remove favorite flag on screen recording
|
package/dist/api.d.ts
CHANGED
|
@@ -9069,6 +9069,12 @@ export interface ConversationPbxMenu {
|
|
|
9069
9069
|
* @memberof ConversationPbxMenu
|
|
9070
9070
|
*/
|
|
9071
9071
|
say?: string;
|
|
9072
|
+
/**
|
|
9073
|
+
* say voice
|
|
9074
|
+
* @type {string}
|
|
9075
|
+
* @memberof ConversationPbxMenu
|
|
9076
|
+
*/
|
|
9077
|
+
say_voice?: ConversationPbxMenu.SayVoiceEnum;
|
|
9072
9078
|
/**
|
|
9073
9079
|
* The idle seconds before this menu times out
|
|
9074
9080
|
* @type {number}
|
|
@@ -9076,6 +9082,20 @@ export interface ConversationPbxMenu {
|
|
|
9076
9082
|
*/
|
|
9077
9083
|
timeout?: number;
|
|
9078
9084
|
}
|
|
9085
|
+
/**
|
|
9086
|
+
* @export
|
|
9087
|
+
* @namespace ConversationPbxMenu
|
|
9088
|
+
*/
|
|
9089
|
+
export declare namespace ConversationPbxMenu {
|
|
9090
|
+
/**
|
|
9091
|
+
* @export
|
|
9092
|
+
* @enum {string}
|
|
9093
|
+
*/
|
|
9094
|
+
enum SayVoiceEnum {
|
|
9095
|
+
Man,
|
|
9096
|
+
Woman
|
|
9097
|
+
}
|
|
9098
|
+
}
|
|
9079
9099
|
/**
|
|
9080
9100
|
*
|
|
9081
9101
|
* @export
|
|
@@ -9925,7 +9945,7 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
9925
9945
|
* @type {string}
|
|
9926
9946
|
* @memberof ConversationPbxVoicemailMailbox
|
|
9927
9947
|
*/
|
|
9928
|
-
voicemail_followup_say_voice?:
|
|
9948
|
+
voicemail_followup_say_voice?: ConversationPbxVoicemailMailbox.VoicemailFollowupSayVoiceEnum;
|
|
9929
9949
|
/**
|
|
9930
9950
|
* Voicemail mailbox id
|
|
9931
9951
|
* @type {string}
|
|
@@ -9955,13 +9975,21 @@ export interface ConversationPbxVoicemailMailbox {
|
|
|
9955
9975
|
* @type {string}
|
|
9956
9976
|
* @memberof ConversationPbxVoicemailMailbox
|
|
9957
9977
|
*/
|
|
9958
|
-
voicemail_prompt_say_voice?:
|
|
9978
|
+
voicemail_prompt_say_voice?: ConversationPbxVoicemailMailbox.VoicemailPromptSayVoiceEnum;
|
|
9959
9979
|
}
|
|
9960
9980
|
/**
|
|
9961
9981
|
* @export
|
|
9962
9982
|
* @namespace ConversationPbxVoicemailMailbox
|
|
9963
9983
|
*/
|
|
9964
9984
|
export declare namespace ConversationPbxVoicemailMailbox {
|
|
9985
|
+
/**
|
|
9986
|
+
* @export
|
|
9987
|
+
* @enum {string}
|
|
9988
|
+
*/
|
|
9989
|
+
enum VoicemailFollowupSayVoiceEnum {
|
|
9990
|
+
Man,
|
|
9991
|
+
Woman
|
|
9992
|
+
}
|
|
9965
9993
|
/**
|
|
9966
9994
|
* @export
|
|
9967
9995
|
* @enum {string}
|
|
@@ -9970,6 +9998,14 @@ export declare namespace ConversationPbxVoicemailMailbox {
|
|
|
9970
9998
|
Agent,
|
|
9971
9999
|
Shared
|
|
9972
10000
|
}
|
|
10001
|
+
/**
|
|
10002
|
+
* @export
|
|
10003
|
+
* @enum {string}
|
|
10004
|
+
*/
|
|
10005
|
+
enum VoicemailPromptSayVoiceEnum {
|
|
10006
|
+
Man,
|
|
10007
|
+
Woman
|
|
10008
|
+
}
|
|
9973
10009
|
}
|
|
9974
10010
|
/**
|
|
9975
10011
|
*
|
|
@@ -41879,12 +41915,6 @@ export interface Twilio {
|
|
|
41879
41915
|
* @memberof Twilio
|
|
41880
41916
|
*/
|
|
41881
41917
|
api_key_name?: string;
|
|
41882
|
-
/**
|
|
41883
|
-
*
|
|
41884
|
-
* @type {string}
|
|
41885
|
-
* @memberof Twilio
|
|
41886
|
-
*/
|
|
41887
|
-
api_key_secret?: string;
|
|
41888
41918
|
/**
|
|
41889
41919
|
*
|
|
41890
41920
|
* @type {string}
|
|
@@ -41915,24 +41945,6 @@ export interface Twilio {
|
|
|
41915
41945
|
* @memberof Twilio
|
|
41916
41946
|
*/
|
|
41917
41947
|
phone_numbers?: Array<string>;
|
|
41918
|
-
/**
|
|
41919
|
-
*
|
|
41920
|
-
* @type {string}
|
|
41921
|
-
* @memberof Twilio
|
|
41922
|
-
*/
|
|
41923
|
-
private_key_pem?: string;
|
|
41924
|
-
/**
|
|
41925
|
-
*
|
|
41926
|
-
* @type {string}
|
|
41927
|
-
* @memberof Twilio
|
|
41928
|
-
*/
|
|
41929
|
-
public_key_pem?: string;
|
|
41930
|
-
/**
|
|
41931
|
-
*
|
|
41932
|
-
* @type {string}
|
|
41933
|
-
* @memberof Twilio
|
|
41934
|
-
*/
|
|
41935
|
-
public_key_sid?: string;
|
|
41936
41948
|
/**
|
|
41937
41949
|
*
|
|
41938
41950
|
* @type {string}
|
|
@@ -58053,6 +58065,15 @@ export declare const StorefrontApiFetchParamCreator: (configuration?: Configurat
|
|
|
58053
58065
|
* @throws {RequiredError}
|
|
58054
58066
|
*/
|
|
58055
58067
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): FetchArgs;
|
|
58068
|
+
/**
|
|
58069
|
+
*
|
|
58070
|
+
* @summary Sunset email segment
|
|
58071
|
+
* @param {number} storefront_oid
|
|
58072
|
+
* @param {string} email_segment_uuid
|
|
58073
|
+
* @param {*} [options] Override http request option.
|
|
58074
|
+
* @throws {RequiredError}
|
|
58075
|
+
*/
|
|
58076
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): FetchArgs;
|
|
58056
58077
|
/**
|
|
58057
58078
|
* Remove favorite flag on screen recording
|
|
58058
58079
|
* @summary Remove favorite flag on screen recording
|
|
@@ -59672,6 +59693,15 @@ export declare const StorefrontApiFp: (configuration?: Configuration) => {
|
|
|
59672
59693
|
* @throws {RequiredError}
|
|
59673
59694
|
*/
|
|
59674
59695
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<EmailListSubscribeResponse>;
|
|
59696
|
+
/**
|
|
59697
|
+
*
|
|
59698
|
+
* @summary Sunset email segment
|
|
59699
|
+
* @param {number} storefront_oid
|
|
59700
|
+
* @param {string} email_segment_uuid
|
|
59701
|
+
* @param {*} [options] Override http request option.
|
|
59702
|
+
* @throws {RequiredError}
|
|
59703
|
+
*/
|
|
59704
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<Response>;
|
|
59675
59705
|
/**
|
|
59676
59706
|
* Remove favorite flag on screen recording
|
|
59677
59707
|
* @summary Remove favorite flag on screen recording
|
|
@@ -61291,6 +61321,15 @@ export declare const StorefrontApiFactory: (configuration?: Configuration, fetch
|
|
|
61291
61321
|
* @throws {RequiredError}
|
|
61292
61322
|
*/
|
|
61293
61323
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): Promise<EmailListSubscribeResponse>;
|
|
61324
|
+
/**
|
|
61325
|
+
*
|
|
61326
|
+
* @summary Sunset email segment
|
|
61327
|
+
* @param {number} storefront_oid
|
|
61328
|
+
* @param {string} email_segment_uuid
|
|
61329
|
+
* @param {*} [options] Override http request option.
|
|
61330
|
+
* @throws {RequiredError}
|
|
61331
|
+
*/
|
|
61332
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): Promise<Response>;
|
|
61294
61333
|
/**
|
|
61295
61334
|
* Remove favorite flag on screen recording
|
|
61296
61335
|
* @summary Remove favorite flag on screen recording
|
|
@@ -63061,6 +63100,16 @@ export interface StorefrontApiInterface {
|
|
|
63061
63100
|
* @memberof StorefrontApiInterface
|
|
63062
63101
|
*/
|
|
63063
63102
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): Promise<EmailListSubscribeResponse>;
|
|
63103
|
+
/**
|
|
63104
|
+
*
|
|
63105
|
+
* @summary Sunset email segment
|
|
63106
|
+
* @param {number} storefront_oid
|
|
63107
|
+
* @param {string} email_segment_uuid
|
|
63108
|
+
* @param {*} [options] Override http request option.
|
|
63109
|
+
* @throws {RequiredError}
|
|
63110
|
+
* @memberof StorefrontApiInterface
|
|
63111
|
+
*/
|
|
63112
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): Promise<{}>;
|
|
63064
63113
|
/**
|
|
63065
63114
|
* Remove favorite flag on screen recording
|
|
63066
63115
|
* @summary Remove favorite flag on screen recording
|
|
@@ -64858,6 +64907,16 @@ export declare class StorefrontApi extends BaseAPI implements StorefrontApiInter
|
|
|
64858
64907
|
* @memberof StorefrontApi
|
|
64859
64908
|
*/
|
|
64860
64909
|
subscribeToEmailList(storefront_oid: number, email_list_uuid: string, customers: Array<EmailCustomer>, options?: any): Promise<EmailListSubscribeResponse>;
|
|
64910
|
+
/**
|
|
64911
|
+
*
|
|
64912
|
+
* @summary Sunset email segment
|
|
64913
|
+
* @param {number} storefront_oid
|
|
64914
|
+
* @param {string} email_segment_uuid
|
|
64915
|
+
* @param {*} [options] Override http request option.
|
|
64916
|
+
* @throws {RequiredError}
|
|
64917
|
+
* @memberof StorefrontApi
|
|
64918
|
+
*/
|
|
64919
|
+
sunsetEmailSegment(storefront_oid: number, email_segment_uuid: string, options?: any): Promise<Response>;
|
|
64861
64920
|
/**
|
|
64862
64921
|
* Remove favorite flag on screen recording
|
|
64863
64922
|
* @summary Remove favorite flag on screen recording
|
package/dist/api.js
CHANGED
|
@@ -28,10 +28,10 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
28
28
|
};
|
|
29
29
|
})();
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.WorkflowApi = exports.WorkflowApiFactory = exports.WorkflowApiFp = exports.WorkflowApiFetchParamCreator = exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = void 0;
|
|
31
|
+
exports.ItemTax = exports.ItemTag = exports.ItemShippingMethod = exports.ItemShippingDestinationRestriction = exports.ItemReview = exports.ItemRestrictionItem = exports.ItemRelatedItem = exports.ItemOptionValue = exports.ItemOption = exports.ItemContentMultimedia = exports.ItemAutoOrderStep = exports.Experiment = exports.EmailPerformance = exports.EmailCommseqStep = exports.Distance = exports.Coupon = exports.ConversationWebsocketMessage = exports.ConversationWebchatQueueStatusUpdateRequest = exports.ConversationWebchatQueueStatusAgent = exports.ConversationSummary = exports.ConversationSentiment = exports.ConversationPbxVoicemailMessageSummary = exports.ConversationPbxVoicemailMessage = exports.ConversationPbxVoicemailMailbox = exports.ConversationPbxTimeBasedMapping = exports.ConversationPbxPhoneNumber = exports.ConversationPbxMenuMapping = exports.ConversationPbxMenu = exports.ConversationMessageTransportStatus = exports.ConversationMessage = exports.ConversationEventRRWeb = exports.ConversationEngagementEquationFunction = exports.ConversationEngagement = exports.ConversationAgentProfile = exports.Conversation = exports.CheckoutHandoffRequest = exports.ChannelPartnerOrderItem = exports.ChannelPartnerOrder = exports.CartKitComponentOption = exports.CartItemOption = exports.CartItemMultimedia = exports.CartCustomerProfileCreditCard = exports.AutoOrderItemSimpleSchedule = exports.AutoOrderItem = exports.AutoOrder = exports.AffiliateLink = exports.AffiliateLedger = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = void 0;
|
|
32
|
+
exports.CheckoutApi = exports.CheckoutApiFactory = exports.CheckoutApiFp = exports.CheckoutApiFetchParamCreator = exports.ChargebackApi = exports.ChargebackApiFactory = exports.ChargebackApiFp = exports.ChargebackApiFetchParamCreator = exports.ChannelPartnerApi = exports.ChannelPartnerApiFactory = exports.ChannelPartnerApiFp = exports.ChannelPartnerApiFetchParamCreator = exports.AutoOrderApi = exports.AutoOrderApiFactory = exports.AutoOrderApiFp = exports.AutoOrderApiFetchParamCreator = exports.AffiliateApi = exports.AffiliateApiFactory = exports.AffiliateApiFp = exports.AffiliateApiFetchParamCreator = exports.WorkflowTasksRequest = exports.WorkflowTask = exports.Weight = exports.Webhook = exports.TempMultimedia = exports.ReportWebsocketEvent = exports.ReportPageVisualizationMetric = exports.ReportPageVisualization = exports.ReportFilter = exports.ReportExecuteQueriesRequest = exports.ReportDataSourceSchema = exports.ReportDataSetSchema = exports.ReportDataSetQuery = exports.ReportDataSet = exports.Report = exports.PointOfSaleReader = exports.OrderQuery = exports.OrderPaymentECheck = exports.OrderPaymentCreditCard = exports.OrderPayment = exports.OrderItemOption = exports.OrderItem = exports.OrderFraudScore = exports.OrderFormat = exports.OrderEdiDocument = exports.OrderAutoOrder = exports.OrderAffiliateLedger = exports.Order = exports.OauthTokenResponse = exports.ItemThirdPartyEmailMarketing = void 0;
|
|
33
|
+
exports.TaxApiFp = exports.TaxApiFetchParamCreator = exports.StorefrontApi = exports.StorefrontApiFactory = exports.StorefrontApiFp = exports.StorefrontApiFetchParamCreator = exports.SsoApi = exports.SsoApiFactory = exports.SsoApiFp = exports.SsoApiFetchParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiFetchParamCreator = exports.OauthApi = exports.OauthApiFactory = exports.OauthApiFp = exports.OauthApiFetchParamCreator = exports.ItemApi = exports.ItemApiFactory = exports.ItemApiFp = exports.ItemApiFetchParamCreator = exports.IntegrationLogApi = exports.IntegrationLogApiFactory = exports.IntegrationLogApiFp = exports.IntegrationLogApiFetchParamCreator = exports.GiftCertificateApi = exports.GiftCertificateApiFactory = exports.GiftCertificateApiFp = exports.GiftCertificateApiFetchParamCreator = exports.FulfillmentApi = exports.FulfillmentApiFactory = exports.FulfillmentApiFp = exports.FulfillmentApiFetchParamCreator = exports.DatawarehouseApi = exports.DatawarehouseApiFactory = exports.DatawarehouseApiFp = exports.DatawarehouseApiFetchParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiFetchParamCreator = exports.CouponApi = exports.CouponApiFactory = exports.CouponApiFp = exports.CouponApiFetchParamCreator = exports.ConversationApi = exports.ConversationApiFactory = exports.ConversationApiFp = exports.ConversationApiFetchParamCreator = void 0;
|
|
34
|
+
exports.WorkflowApi = exports.WorkflowApiFactory = exports.WorkflowApiFp = exports.WorkflowApiFetchParamCreator = exports.WebhookApi = exports.WebhookApiFactory = exports.WebhookApiFp = exports.WebhookApiFetchParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiFetchParamCreator = exports.TaxApi = exports.TaxApiFactory = void 0;
|
|
35
35
|
var url = require("url");
|
|
36
36
|
var portableFetch = require("portable-fetch");
|
|
37
37
|
var BASE_PATH = "https://secure.ultracart.com/rest/v2".replace(/\/+$/, "");
|
|
@@ -581,6 +581,22 @@ var ConversationMessageTransportStatus;
|
|
|
581
581
|
StatusEnum[StatusEnum["PINPOINTERROR"] = 'PINPOINT_ERROR'] = "PINPOINTERROR";
|
|
582
582
|
})(StatusEnum = ConversationMessageTransportStatus.StatusEnum || (ConversationMessageTransportStatus.StatusEnum = {}));
|
|
583
583
|
})(ConversationMessageTransportStatus = exports.ConversationMessageTransportStatus || (exports.ConversationMessageTransportStatus = {}));
|
|
584
|
+
/**
|
|
585
|
+
* @export
|
|
586
|
+
* @namespace ConversationPbxMenu
|
|
587
|
+
*/
|
|
588
|
+
var ConversationPbxMenu;
|
|
589
|
+
(function (ConversationPbxMenu) {
|
|
590
|
+
/**
|
|
591
|
+
* @export
|
|
592
|
+
* @enum {string}
|
|
593
|
+
*/
|
|
594
|
+
var SayVoiceEnum;
|
|
595
|
+
(function (SayVoiceEnum) {
|
|
596
|
+
SayVoiceEnum[SayVoiceEnum["Man"] = 'man'] = "Man";
|
|
597
|
+
SayVoiceEnum[SayVoiceEnum["Woman"] = 'woman'] = "Woman";
|
|
598
|
+
})(SayVoiceEnum = ConversationPbxMenu.SayVoiceEnum || (ConversationPbxMenu.SayVoiceEnum = {}));
|
|
599
|
+
})(ConversationPbxMenu = exports.ConversationPbxMenu || (exports.ConversationPbxMenu = {}));
|
|
584
600
|
/**
|
|
585
601
|
* @export
|
|
586
602
|
* @namespace ConversationPbxMenuMapping
|
|
@@ -644,6 +660,15 @@ var ConversationPbxTimeBasedMapping;
|
|
|
644
660
|
*/
|
|
645
661
|
var ConversationPbxVoicemailMailbox;
|
|
646
662
|
(function (ConversationPbxVoicemailMailbox) {
|
|
663
|
+
/**
|
|
664
|
+
* @export
|
|
665
|
+
* @enum {string}
|
|
666
|
+
*/
|
|
667
|
+
var VoicemailFollowupSayVoiceEnum;
|
|
668
|
+
(function (VoicemailFollowupSayVoiceEnum) {
|
|
669
|
+
VoicemailFollowupSayVoiceEnum[VoicemailFollowupSayVoiceEnum["Man"] = 'man'] = "Man";
|
|
670
|
+
VoicemailFollowupSayVoiceEnum[VoicemailFollowupSayVoiceEnum["Woman"] = 'woman'] = "Woman";
|
|
671
|
+
})(VoicemailFollowupSayVoiceEnum = ConversationPbxVoicemailMailbox.VoicemailFollowupSayVoiceEnum || (ConversationPbxVoicemailMailbox.VoicemailFollowupSayVoiceEnum = {}));
|
|
647
672
|
/**
|
|
648
673
|
* @export
|
|
649
674
|
* @enum {string}
|
|
@@ -653,6 +678,15 @@ var ConversationPbxVoicemailMailbox;
|
|
|
653
678
|
VoicemailMailboxTypeEnum[VoicemailMailboxTypeEnum["Agent"] = 'agent'] = "Agent";
|
|
654
679
|
VoicemailMailboxTypeEnum[VoicemailMailboxTypeEnum["Shared"] = 'shared'] = "Shared";
|
|
655
680
|
})(VoicemailMailboxTypeEnum = ConversationPbxVoicemailMailbox.VoicemailMailboxTypeEnum || (ConversationPbxVoicemailMailbox.VoicemailMailboxTypeEnum = {}));
|
|
681
|
+
/**
|
|
682
|
+
* @export
|
|
683
|
+
* @enum {string}
|
|
684
|
+
*/
|
|
685
|
+
var VoicemailPromptSayVoiceEnum;
|
|
686
|
+
(function (VoicemailPromptSayVoiceEnum) {
|
|
687
|
+
VoicemailPromptSayVoiceEnum[VoicemailPromptSayVoiceEnum["Man"] = 'man'] = "Man";
|
|
688
|
+
VoicemailPromptSayVoiceEnum[VoicemailPromptSayVoiceEnum["Woman"] = 'woman'] = "Woman";
|
|
689
|
+
})(VoicemailPromptSayVoiceEnum = ConversationPbxVoicemailMailbox.VoicemailPromptSayVoiceEnum || (ConversationPbxVoicemailMailbox.VoicemailPromptSayVoiceEnum = {}));
|
|
656
690
|
})(ConversationPbxVoicemailMailbox = exports.ConversationPbxVoicemailMailbox || (exports.ConversationPbxVoicemailMailbox = {}));
|
|
657
691
|
/**
|
|
658
692
|
* @export
|
|
@@ -36557,6 +36591,65 @@ var StorefrontApiFetchParamCreator = function (configuration) {
|
|
|
36557
36591
|
options: localVarRequestOptions,
|
|
36558
36592
|
};
|
|
36559
36593
|
},
|
|
36594
|
+
/**
|
|
36595
|
+
*
|
|
36596
|
+
* @summary Sunset email segment
|
|
36597
|
+
* @param {number} storefront_oid
|
|
36598
|
+
* @param {string} email_segment_uuid
|
|
36599
|
+
* @param {*} [options] Override http request option.
|
|
36600
|
+
* @throws {RequiredError}
|
|
36601
|
+
*/
|
|
36602
|
+
sunsetEmailSegment: function (storefront_oid, email_segment_uuid, options) {
|
|
36603
|
+
if (options === void 0) { options = {}; }
|
|
36604
|
+
// verify required parameter 'storefront_oid' is not null or undefined
|
|
36605
|
+
if (storefront_oid === null || storefront_oid === undefined) {
|
|
36606
|
+
throw new RequiredError('storefront_oid', 'Required parameter storefront_oid was null or undefined when calling sunsetEmailSegment.');
|
|
36607
|
+
}
|
|
36608
|
+
// verify required parameter 'email_segment_uuid' is not null or undefined
|
|
36609
|
+
if (email_segment_uuid === null || email_segment_uuid === undefined) {
|
|
36610
|
+
throw new RequiredError('email_segment_uuid', 'Required parameter email_segment_uuid was null or undefined when calling sunsetEmailSegment.');
|
|
36611
|
+
}
|
|
36612
|
+
var localVarPath = "/storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset"
|
|
36613
|
+
.replace("{".concat("storefront_oid", "}"), encodeURIComponent(String(storefront_oid)))
|
|
36614
|
+
.replace("{".concat("email_segment_uuid", "}"), encodeURIComponent(String(email_segment_uuid)));
|
|
36615
|
+
var localVarUrlObj = url.parse(localVarPath, true);
|
|
36616
|
+
var localVarRequestOptions = Object.assign({ method: 'PUT' }, options);
|
|
36617
|
+
var localVarHeaderParameter = {};
|
|
36618
|
+
var localVarQueryParameter = {};
|
|
36619
|
+
if (configuration && configuration.apiVersion) {
|
|
36620
|
+
localVarHeaderParameter["X-UltraCart-Api-Version"] = configuration.apiVersion;
|
|
36621
|
+
}
|
|
36622
|
+
// authentication ultraCartBrowserApiKey required
|
|
36623
|
+
if (configuration && configuration.apiKey) {
|
|
36624
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
36625
|
+
? configuration.apiKey("x-ultracart-browser-key")
|
|
36626
|
+
: configuration.apiKey;
|
|
36627
|
+
localVarHeaderParameter["x-ultracart-browser-key"] = localVarApiKeyValue;
|
|
36628
|
+
}
|
|
36629
|
+
// authentication ultraCartOauth required
|
|
36630
|
+
// oauth required
|
|
36631
|
+
if (configuration && configuration.accessToken) {
|
|
36632
|
+
var localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
36633
|
+
? configuration.accessToken("ultraCartOauth", ["storefront_write"])
|
|
36634
|
+
: configuration.accessToken;
|
|
36635
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
36636
|
+
}
|
|
36637
|
+
// authentication ultraCartSimpleApiKey required
|
|
36638
|
+
if (configuration && configuration.apiKey) {
|
|
36639
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
36640
|
+
? configuration.apiKey("x-ultracart-simple-key")
|
|
36641
|
+
: configuration.apiKey;
|
|
36642
|
+
localVarHeaderParameter["x-ultracart-simple-key"] = localVarApiKeyValue;
|
|
36643
|
+
}
|
|
36644
|
+
localVarUrlObj.query = Object.assign({}, localVarUrlObj.query, localVarQueryParameter, options.query);
|
|
36645
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
36646
|
+
delete localVarUrlObj.search;
|
|
36647
|
+
localVarRequestOptions.headers = Object.assign({}, localVarHeaderParameter, options.headers);
|
|
36648
|
+
return {
|
|
36649
|
+
url: url.format(localVarUrlObj),
|
|
36650
|
+
options: localVarRequestOptions,
|
|
36651
|
+
};
|
|
36652
|
+
},
|
|
36560
36653
|
/**
|
|
36561
36654
|
* Remove favorite flag on screen recording
|
|
36562
36655
|
* @summary Remove favorite flag on screen recording
|
|
@@ -41678,6 +41771,29 @@ var StorefrontApiFp = function (configuration) {
|
|
|
41678
41771
|
});
|
|
41679
41772
|
};
|
|
41680
41773
|
},
|
|
41774
|
+
/**
|
|
41775
|
+
*
|
|
41776
|
+
* @summary Sunset email segment
|
|
41777
|
+
* @param {number} storefront_oid
|
|
41778
|
+
* @param {string} email_segment_uuid
|
|
41779
|
+
* @param {*} [options] Override http request option.
|
|
41780
|
+
* @throws {RequiredError}
|
|
41781
|
+
*/
|
|
41782
|
+
sunsetEmailSegment: function (storefront_oid, email_segment_uuid, options) {
|
|
41783
|
+
var localVarFetchArgs = (0, exports.StorefrontApiFetchParamCreator)(configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options);
|
|
41784
|
+
return function (fetch, basePath) {
|
|
41785
|
+
if (fetch === void 0) { fetch = portableFetch; }
|
|
41786
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
41787
|
+
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then(function (response) {
|
|
41788
|
+
if (response.status >= 200 && response.status < 300) {
|
|
41789
|
+
return response;
|
|
41790
|
+
}
|
|
41791
|
+
else {
|
|
41792
|
+
throw response;
|
|
41793
|
+
}
|
|
41794
|
+
});
|
|
41795
|
+
};
|
|
41796
|
+
},
|
|
41681
41797
|
/**
|
|
41682
41798
|
* Remove favorite flag on screen recording
|
|
41683
41799
|
* @summary Remove favorite flag on screen recording
|
|
@@ -43964,6 +44080,17 @@ var StorefrontApiFactory = function (configuration, fetch, basePath) {
|
|
|
43964
44080
|
subscribeToEmailList: function (storefront_oid, email_list_uuid, customers, options) {
|
|
43965
44081
|
return (0, exports.StorefrontApiFp)(configuration).subscribeToEmailList(storefront_oid, email_list_uuid, customers, options)(fetch, basePath);
|
|
43966
44082
|
},
|
|
44083
|
+
/**
|
|
44084
|
+
*
|
|
44085
|
+
* @summary Sunset email segment
|
|
44086
|
+
* @param {number} storefront_oid
|
|
44087
|
+
* @param {string} email_segment_uuid
|
|
44088
|
+
* @param {*} [options] Override http request option.
|
|
44089
|
+
* @throws {RequiredError}
|
|
44090
|
+
*/
|
|
44091
|
+
sunsetEmailSegment: function (storefront_oid, email_segment_uuid, options) {
|
|
44092
|
+
return (0, exports.StorefrontApiFp)(configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options)(fetch, basePath);
|
|
44093
|
+
},
|
|
43967
44094
|
/**
|
|
43968
44095
|
* Remove favorite flag on screen recording
|
|
43969
44096
|
* @summary Remove favorite flag on screen recording
|
|
@@ -46093,6 +46220,18 @@ var StorefrontApi = /** @class */ (function (_super) {
|
|
|
46093
46220
|
StorefrontApi.prototype.subscribeToEmailList = function (storefront_oid, email_list_uuid, customers, options) {
|
|
46094
46221
|
return (0, exports.StorefrontApiFp)(this.configuration).subscribeToEmailList(storefront_oid, email_list_uuid, customers, options)(this.fetch, this.basePath);
|
|
46095
46222
|
};
|
|
46223
|
+
/**
|
|
46224
|
+
*
|
|
46225
|
+
* @summary Sunset email segment
|
|
46226
|
+
* @param {number} storefront_oid
|
|
46227
|
+
* @param {string} email_segment_uuid
|
|
46228
|
+
* @param {*} [options] Override http request option.
|
|
46229
|
+
* @throws {RequiredError}
|
|
46230
|
+
* @memberof StorefrontApi
|
|
46231
|
+
*/
|
|
46232
|
+
StorefrontApi.prototype.sunsetEmailSegment = function (storefront_oid, email_segment_uuid, options) {
|
|
46233
|
+
return (0, exports.StorefrontApiFp)(this.configuration).sunsetEmailSegment(storefront_oid, email_segment_uuid, options)(this.fetch, this.basePath);
|
|
46234
|
+
};
|
|
46096
46235
|
/**
|
|
46097
46236
|
* Remove favorite flag on screen recording
|
|
46098
46237
|
* @summary Remove favorite flag on screen recording
|