@superoffice/webapi 12.2.2072 → 12.3.2570
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/dist/cjs/Carriers.d.ts +367 -20
- package/dist/cjs/Carriers.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.d.ts +17 -0
- package/dist/cjs/ConfigurationAgent.d.ts.map +1 -1
- package/dist/cjs/ConfigurationAgent.js +35 -0
- package/dist/cjs/ConfigurationAgent.js.map +1 -1
- package/dist/cjs/Converters.d.ts +24 -0
- package/dist/cjs/Converters.d.ts.map +1 -1
- package/dist/cjs/Converters.js +317 -32
- package/dist/cjs/Converters.js.map +1 -1
- package/dist/cjs/DiagnosticsAgent.d.ts +7 -0
- package/dist/cjs/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/cjs/DiagnosticsAgent.js +24 -0
- package/dist/cjs/DiagnosticsAgent.js.map +1 -1
- package/dist/cjs/Enums.d.ts +22 -0
- package/dist/cjs/Enums.d.ts.map +1 -1
- package/dist/cjs/Enums.js +25 -1
- package/dist/cjs/Enums.js.map +1 -1
- package/dist/cjs/ListAgent.d.ts +31 -0
- package/dist/cjs/ListAgent.d.ts.map +1 -1
- package/dist/cjs/ListAgent.js +87 -0
- package/dist/cjs/ListAgent.js.map +1 -1
- package/dist/cjs/MarketingAgent.d.ts +94 -16
- package/dist/cjs/MarketingAgent.d.ts.map +1 -1
- package/dist/cjs/MarketingAgent.js +222 -34
- package/dist/cjs/MarketingAgent.js.map +1 -1
- package/dist/cjs/ViewStateAgent.d.ts +34 -0
- package/dist/cjs/ViewStateAgent.d.ts.map +1 -1
- package/dist/cjs/ViewStateAgent.js +70 -0
- package/dist/cjs/ViewStateAgent.js.map +1 -1
- package/dist/esm/Carriers.d.ts +367 -20
- package/dist/esm/Carriers.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.d.ts +17 -0
- package/dist/esm/ConfigurationAgent.d.ts.map +1 -1
- package/dist/esm/ConfigurationAgent.js +35 -0
- package/dist/esm/ConfigurationAgent.js.map +1 -1
- package/dist/esm/Converters.d.ts +24 -0
- package/dist/esm/Converters.d.ts.map +1 -1
- package/dist/esm/Converters.js +262 -1
- package/dist/esm/Converters.js.map +1 -1
- package/dist/esm/DiagnosticsAgent.d.ts +7 -0
- package/dist/esm/DiagnosticsAgent.d.ts.map +1 -1
- package/dist/esm/DiagnosticsAgent.js +24 -0
- package/dist/esm/DiagnosticsAgent.js.map +1 -1
- package/dist/esm/Enums.d.ts +22 -0
- package/dist/esm/Enums.d.ts.map +1 -1
- package/dist/esm/Enums.js +23 -0
- package/dist/esm/Enums.js.map +1 -1
- package/dist/esm/ListAgent.d.ts +31 -0
- package/dist/esm/ListAgent.d.ts.map +1 -1
- package/dist/esm/ListAgent.js +87 -0
- package/dist/esm/ListAgent.js.map +1 -1
- package/dist/esm/MarketingAgent.d.ts +94 -16
- package/dist/esm/MarketingAgent.d.ts.map +1 -1
- package/dist/esm/MarketingAgent.js +222 -34
- package/dist/esm/MarketingAgent.js.map +1 -1
- package/dist/esm/ViewStateAgent.d.ts +34 -0
- package/dist/esm/ViewStateAgent.d.ts.map +1 -1
- package/dist/esm/ViewStateAgent.js +70 -0
- package/dist/esm/ViewStateAgent.js.map +1 -1
- package/package.json +3 -3
- package/src/Carriers.ts +524 -24
- package/src/ConfigurationAgent.ts +60 -0
- package/src/Converters.ts +326 -1
- package/src/DiagnosticsAgent.ts +30 -0
- package/src/Enums.ts +24 -0
- package/src/ListAgent.ts +94 -0
- package/src/MarketingAgent.ts +324 -58
- package/src/ViewStateAgent.ts +120 -0
package/dist/esm/Carriers.d.ts
CHANGED
|
@@ -274,6 +274,19 @@ export interface GrantedModuleLicense extends Carrier {
|
|
|
274
274
|
export interface IntStringDictionary {
|
|
275
275
|
[index: number]: string;
|
|
276
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* The combined answer of one live UI sync call: new UI events, plus the sync state of the tickets the client asked about.
|
|
279
|
+
*/
|
|
280
|
+
export interface LiveUiSyncResult {
|
|
281
|
+
/**
|
|
282
|
+
* New events since the given event id — the same content the PublishAndRetrieveUiEvents operation returns.
|
|
283
|
+
*/
|
|
284
|
+
events?: UiEvent[];
|
|
285
|
+
/**
|
|
286
|
+
* Sync state of each requested ticket the user is allowed to see. Requested tickets the user cannot see are omitted.
|
|
287
|
+
*/
|
|
288
|
+
ticketStates?: TicketStateInfo[];
|
|
289
|
+
}
|
|
277
290
|
/**
|
|
278
291
|
* LocalizedField is used to store localized information such as formatted address data, a formatted phone number, etc.
|
|
279
292
|
*/
|
|
@@ -868,7 +881,7 @@ export interface SoPrincipalCarrier {
|
|
|
868
881
|
databaseContextIdentifier?: string;
|
|
869
882
|
}
|
|
870
883
|
/**
|
|
871
|
-
*
|
|
884
|
+
* System Information - license, version, database type, language
|
|
872
885
|
*/
|
|
873
886
|
export interface SoSystemInfoCarrier extends Carrier {
|
|
874
887
|
/**
|
|
@@ -928,7 +941,7 @@ export interface SoSystemInfoCarrier extends Carrier {
|
|
|
928
941
|
*/
|
|
929
942
|
companyName?: string;
|
|
930
943
|
/**
|
|
931
|
-
* License Info: Company
|
|
944
|
+
* License Info: Company (contact_id) associated with license.
|
|
932
945
|
*/
|
|
933
946
|
companyId?: number;
|
|
934
947
|
/**
|
|
@@ -951,6 +964,10 @@ export interface SoSystemInfoCarrier extends Carrier {
|
|
|
951
964
|
* Is the current database a Satellite
|
|
952
965
|
*/
|
|
953
966
|
isSatellite?: boolean;
|
|
967
|
+
/**
|
|
968
|
+
* Default language configured on the database (iso2 language code: en, sv, no, da, de, zh-cn, pt-br, de-ch, etc) - null if not configured
|
|
969
|
+
*/
|
|
970
|
+
databaseLanguage?: string;
|
|
954
971
|
}
|
|
955
972
|
/**
|
|
956
973
|
* Serializable dictionary.
|
|
@@ -1066,6 +1083,44 @@ export interface TicketMessageHeader extends Carrier {
|
|
|
1066
1083
|
*/
|
|
1067
1084
|
stdItemCol?: enums.MessageHeaderStdItemCol;
|
|
1068
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* The sync state of one ticket: its current last-changed value on the server, whether the client's copy is out of date, and who last changed it.
|
|
1088
|
+
*/
|
|
1089
|
+
export interface TicketStateInfo {
|
|
1090
|
+
/**
|
|
1091
|
+
* The primary key (auto-incremented)
|
|
1092
|
+
*/
|
|
1093
|
+
ticketId?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* The ticket's current last-changed value on the server. Clients store this and send it back as the version in later calls.
|
|
1096
|
+
*/
|
|
1097
|
+
lastChanged?: Date;
|
|
1098
|
+
/**
|
|
1099
|
+
* True when the ticket changed after the version the client sent. Always false when the client sent no version (DateTime.MinValue).
|
|
1100
|
+
*/
|
|
1101
|
+
isStale?: boolean;
|
|
1102
|
+
/**
|
|
1103
|
+
* The associate who made the latest change, when the ticket is stale and the change can be attributed; 0 otherwise.
|
|
1104
|
+
*/
|
|
1105
|
+
changedById?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* Full name of the associate who made the latest change; empty when unknown.
|
|
1108
|
+
*/
|
|
1109
|
+
changedByName?: string;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
* A ticket the client is showing, together with the last-changed value of the client's loaded copy. Sent to the server to ask whether that copy is out of date.
|
|
1113
|
+
*/
|
|
1114
|
+
export interface TicketVersionInfo {
|
|
1115
|
+
/**
|
|
1116
|
+
* The primary key (auto-incremented)
|
|
1117
|
+
*/
|
|
1118
|
+
ticketId?: number;
|
|
1119
|
+
/**
|
|
1120
|
+
* The last-changed value of the copy the client has loaded. DateTime.MinValue (or omitted) means the client has no loaded copy and only wants the ticket's current value back.
|
|
1121
|
+
*/
|
|
1122
|
+
lastChanged?: Date;
|
|
1123
|
+
}
|
|
1069
1124
|
/**
|
|
1070
1125
|
* The UserCandidate carrier is used to represent a Customer Centre User.
|
|
1071
1126
|
*/
|
|
@@ -17326,6 +17381,51 @@ export interface PaymentType extends Carrier {
|
|
|
17326
17381
|
*/
|
|
17327
17382
|
export interface List_GetPaymentTypesRequest {
|
|
17328
17383
|
}
|
|
17384
|
+
/**
|
|
17385
|
+
* Picture/mailing folder (s_picture_folder)
|
|
17386
|
+
*/
|
|
17387
|
+
export interface PictureFolderEntity extends Carrier {
|
|
17388
|
+
/**
|
|
17389
|
+
* Primary key
|
|
17390
|
+
*/
|
|
17391
|
+
sPictureFolderId?: number;
|
|
17392
|
+
/**
|
|
17393
|
+
* Name of folder
|
|
17394
|
+
*/
|
|
17395
|
+
name?: string;
|
|
17396
|
+
/**
|
|
17397
|
+
* The parent id for this folder. -1 for root folders
|
|
17398
|
+
*/
|
|
17399
|
+
parentId?: number;
|
|
17400
|
+
/**
|
|
17401
|
+
* A description of the folder
|
|
17402
|
+
*/
|
|
17403
|
+
description?: string;
|
|
17404
|
+
/**
|
|
17405
|
+
* Indicates which type of folder this is
|
|
17406
|
+
*/
|
|
17407
|
+
folderType?: number;
|
|
17408
|
+
/**
|
|
17409
|
+
* Sub-folders, if any.
|
|
17410
|
+
*/
|
|
17411
|
+
children?: PictureFolderEntity[];
|
|
17412
|
+
/**
|
|
17413
|
+
* Registered when
|
|
17414
|
+
*/
|
|
17415
|
+
registered?: Date;
|
|
17416
|
+
/**
|
|
17417
|
+
* Registered by whom
|
|
17418
|
+
*/
|
|
17419
|
+
registeredAssociateId?: number;
|
|
17420
|
+
/**
|
|
17421
|
+
* Last updated when
|
|
17422
|
+
*/
|
|
17423
|
+
updated?: Date;
|
|
17424
|
+
/**
|
|
17425
|
+
* Last updated by whom
|
|
17426
|
+
*/
|
|
17427
|
+
updatedAssociateId?: number;
|
|
17428
|
+
}
|
|
17329
17429
|
/**
|
|
17330
17430
|
*
|
|
17331
17431
|
*/
|
|
@@ -20219,6 +20319,10 @@ export interface LandingPageEntity extends Carrier {
|
|
|
20219
20319
|
* Entity records pinned on this landing page. Item.Id = recordId, Item.Name = display name, Item.Type = entity table name (contact, person, sale, ...).
|
|
20220
20320
|
*/
|
|
20221
20321
|
pinnedEntities?: MDOListItem[];
|
|
20322
|
+
/**
|
|
20323
|
+
* All tabs on this landing page (pinned and open), ordered by rank. Supersedes PinnedSelections/PinnedEntities and additionally carries open-state and provider tabs.
|
|
20324
|
+
*/
|
|
20325
|
+
tabs?: LandingPageTab[];
|
|
20222
20326
|
}
|
|
20223
20327
|
/**
|
|
20224
20328
|
* Get the landing page configuration for an associate and entity table. Creates the landing page row if it does not exist.
|
|
@@ -20259,6 +20363,57 @@ export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
|
20259
20363
|
*/
|
|
20260
20364
|
recordId: number;
|
|
20261
20365
|
}
|
|
20366
|
+
/**
|
|
20367
|
+
* Replace the full ordered set of tabs on the landing page identified by associate and entity table, reconciling against the existing rows. Creates the landing page row if it does not exist.
|
|
20368
|
+
* Returns LandingPageEntity
|
|
20369
|
+
*/
|
|
20370
|
+
export interface Configuration_SaveLandingPageTabsRequest {
|
|
20371
|
+
/**
|
|
20372
|
+
* Id of the associate that owns the landing page.
|
|
20373
|
+
*/
|
|
20374
|
+
associateId: number;
|
|
20375
|
+
/**
|
|
20376
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
20377
|
+
*/
|
|
20378
|
+
entityTableName: string;
|
|
20379
|
+
/**
|
|
20380
|
+
* The complete ordered set of tabs to persist.
|
|
20381
|
+
*/
|
|
20382
|
+
tabs: LandingPageTab[];
|
|
20383
|
+
}
|
|
20384
|
+
/**
|
|
20385
|
+
* A single tab on a landing page. Depending on TabType it represents a saved selection, an entity record, or a hardcoded provider.
|
|
20386
|
+
*/
|
|
20387
|
+
export interface LandingPageTab extends Carrier {
|
|
20388
|
+
/**
|
|
20389
|
+
* Record id the tab points at: the selection id for a selection tab, the entity record id for an entity tab, 0 for a provider tab.
|
|
20390
|
+
*/
|
|
20391
|
+
id?: number;
|
|
20392
|
+
/**
|
|
20393
|
+
* Display name for the tab. Populated for selection and entity tabs; empty for provider tabs (the client owns provider captions).
|
|
20394
|
+
*/
|
|
20395
|
+
name?: string;
|
|
20396
|
+
/**
|
|
20397
|
+
* Table name of the record the tab points at (selection, contact, person, sale, ...) for a selection or entity tab; empty for a provider tab.
|
|
20398
|
+
*/
|
|
20399
|
+
entityType?: string;
|
|
20400
|
+
/**
|
|
20401
|
+
* What kind of content the tab shows: a saved selection, a single entity record, or a hardcoded provider.
|
|
20402
|
+
*/
|
|
20403
|
+
tabType?: enums.LandingPageTabType;
|
|
20404
|
+
/**
|
|
20405
|
+
* True if the tab is pinned; false if it is only open in the working set.
|
|
20406
|
+
*/
|
|
20407
|
+
pinned?: boolean;
|
|
20408
|
+
/**
|
|
20409
|
+
* Zero-based position of the tab in the landing page's tab order.
|
|
20410
|
+
*/
|
|
20411
|
+
rank?: number;
|
|
20412
|
+
/**
|
|
20413
|
+
* Provider key for a provider tab (e.g. LastTickets, FavouriteTickets); empty for selection and entity tabs.
|
|
20414
|
+
*/
|
|
20415
|
+
providerKey?: string;
|
|
20416
|
+
}
|
|
20262
20417
|
/**
|
|
20263
20418
|
* Entity for system events
|
|
20264
20419
|
*/
|
|
@@ -20623,6 +20778,32 @@ export interface HistoryRequest extends Carrier {
|
|
|
20623
20778
|
*/
|
|
20624
20779
|
requestForNewRecord?: boolean;
|
|
20625
20780
|
}
|
|
20781
|
+
/**
|
|
20782
|
+
* A single navigation entry - a key and its navigation value (soprotocol).
|
|
20783
|
+
*/
|
|
20784
|
+
export interface NavigationElement extends Carrier {
|
|
20785
|
+
/**
|
|
20786
|
+
* Navigation key; identifies the screen/panel for Current, or the entry for Recent
|
|
20787
|
+
*/
|
|
20788
|
+
key?: string;
|
|
20789
|
+
/**
|
|
20790
|
+
* The navigation value (soprotocol string)
|
|
20791
|
+
*/
|
|
20792
|
+
navigationValue?: string;
|
|
20793
|
+
}
|
|
20794
|
+
/**
|
|
20795
|
+
* Upsert Recent navigation entries for the logged-in associate and the given client. The entries are ranked so that the first element in the array becomes the most recent. The list is capped by the RecentNavigationLimit preference; the oldest entries beyond the cap are removed.
|
|
20796
|
+
*/
|
|
20797
|
+
export interface ViewState_UpsertRecentNavigationRequest {
|
|
20798
|
+
/**
|
|
20799
|
+
* The client the entries belong to, e.g. Crm, Admin or Mobile
|
|
20800
|
+
*/
|
|
20801
|
+
client: string;
|
|
20802
|
+
/**
|
|
20803
|
+
* The navigation entries to upsert. The first element becomes the most recent; duplicate keys are collapsed keeping the first occurrence.
|
|
20804
|
+
*/
|
|
20805
|
+
elements: NavigationElement[];
|
|
20806
|
+
}
|
|
20626
20807
|
/**
|
|
20627
20808
|
* An event that the user interface should know about. The origin may be something that happens in the user interface (in any session), or in the database (for instance, background process)
|
|
20628
20809
|
*/
|
|
@@ -20674,6 +20855,28 @@ export interface ViewState_PublishAndRetrieveUiEventsRequest {
|
|
|
20674
20855
|
*/
|
|
20675
20856
|
metrics: MetricPair[];
|
|
20676
20857
|
}
|
|
20858
|
+
/**
|
|
20859
|
+
* Publish zero or more events and return any new events since the given event id, exactly like PublishAndRetrieveUiEvents — and additionally answer, for each ticket version the client supplies, whether that ticket has changed since (and by whom). Requested tickets the user cannot see are omitted from the answer
|
|
20860
|
+
* Returns LiveUiSyncResult
|
|
20861
|
+
*/
|
|
20862
|
+
export interface ViewState_PublishAndSyncUiEventsRequest {
|
|
20863
|
+
/**
|
|
20864
|
+
* The last event ID that this client knows about. The return value will be any events occurring /after/ that point, numbered by the server. Clients need to keep track themselves of this number between calls
|
|
20865
|
+
*/
|
|
20866
|
+
latestKnownEventId: number;
|
|
20867
|
+
/**
|
|
20868
|
+
* Array of events to publish. This can be empty if the client only wants to retrieve information
|
|
20869
|
+
*/
|
|
20870
|
+
publishEvents: UiEvent[];
|
|
20871
|
+
/**
|
|
20872
|
+
* Optional statistical and performance metrics collected by the frontend. Can be null or empty. Metrics are sum-accumulated and reported once a minute; please do not report the same logical event twice
|
|
20873
|
+
*/
|
|
20874
|
+
metrics: MetricPair[];
|
|
20875
|
+
/**
|
|
20876
|
+
* The tickets the client is showing, each with the last-changed value of the client's loaded copy (DateTime.MinValue or omitted = no copy; the current value is then returned without a staleness verdict). At most 500 entries after removing duplicates
|
|
20877
|
+
*/
|
|
20878
|
+
ticketVersions: TicketVersionInfo[];
|
|
20879
|
+
}
|
|
20677
20880
|
/**
|
|
20678
20881
|
*
|
|
20679
20882
|
*/
|
|
@@ -21171,6 +21374,17 @@ export interface Diagnostics_TrackUserRequest {
|
|
|
21171
21374
|
*/
|
|
21172
21375
|
userProperties: StringDictionary;
|
|
21173
21376
|
}
|
|
21377
|
+
/**
|
|
21378
|
+
* System information
|
|
21379
|
+
*/
|
|
21380
|
+
export interface SystemInfo extends Carrier {
|
|
21381
|
+
}
|
|
21382
|
+
/**
|
|
21383
|
+
* Get system information
|
|
21384
|
+
* Returns SoSystemInfoCarrier
|
|
21385
|
+
*/
|
|
21386
|
+
export interface Diagnostics_GetSystemInfoRequest {
|
|
21387
|
+
}
|
|
21174
21388
|
/**
|
|
21175
21389
|
*
|
|
21176
21390
|
*/
|
|
@@ -22617,10 +22831,6 @@ export interface EMailAccount extends Carrier {
|
|
|
22617
22831
|
* Sent email folder name if available in the db
|
|
22618
22832
|
*/
|
|
22619
22833
|
sentFolder?: string;
|
|
22620
|
-
/**
|
|
22621
|
-
* Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
|
|
22622
|
-
*/
|
|
22623
|
-
simpleMode?: number;
|
|
22624
22834
|
/**
|
|
22625
22835
|
* When we last fetched email
|
|
22626
22836
|
*/
|
|
@@ -34158,6 +34368,19 @@ export interface FormEntity extends Carrier {
|
|
|
34158
34368
|
*/
|
|
34159
34369
|
folderName?: string;
|
|
34160
34370
|
}
|
|
34371
|
+
/**
|
|
34372
|
+
* Move one or more forms into the given folder. FolderId -1 = root. Only the folder reference is written - Save would rewrite the whole form, including a re-sanitized Config, and would bump Updated (the thumbnail cache-buster).
|
|
34373
|
+
*/
|
|
34374
|
+
export interface Marketing_MoveFormsToFolderRequest {
|
|
34375
|
+
/**
|
|
34376
|
+
* Ids of the forms to move (form.form_id)
|
|
34377
|
+
*/
|
|
34378
|
+
formIds: number[];
|
|
34379
|
+
/**
|
|
34380
|
+
* Target folder id (s_picture_folder.id, formFolder type); -1 = root
|
|
34381
|
+
*/
|
|
34382
|
+
folderId: number;
|
|
34383
|
+
}
|
|
34161
34384
|
/**
|
|
34162
34385
|
* This method will try to verify a Google recaptcha token. The token is gained from the recaptcha frontend component
|
|
34163
34386
|
* Returns boolean
|
|
@@ -34243,6 +34466,135 @@ export interface FormSubmissionEntity extends Carrier {
|
|
|
34243
34466
|
*/
|
|
34244
34467
|
processingLog?: string;
|
|
34245
34468
|
}
|
|
34469
|
+
/**
|
|
34470
|
+
* A mailing (shipment) — the run that sends a message to a set of recipients
|
|
34471
|
+
*/
|
|
34472
|
+
export interface MailingEntity extends Carrier {
|
|
34473
|
+
/**
|
|
34474
|
+
* Primary key
|
|
34475
|
+
*/
|
|
34476
|
+
mailingId?: number;
|
|
34477
|
+
/**
|
|
34478
|
+
* Describes the shipment
|
|
34479
|
+
*/
|
|
34480
|
+
description?: string;
|
|
34481
|
+
/**
|
|
34482
|
+
* The id of the message that is sent in this shipment
|
|
34483
|
+
*/
|
|
34484
|
+
messageId?: number;
|
|
34485
|
+
/**
|
|
34486
|
+
* The folder which this shipment belongs to. -1 indicates that the shipment is on the root
|
|
34487
|
+
*/
|
|
34488
|
+
folderId?: number;
|
|
34489
|
+
/**
|
|
34490
|
+
* The date and time when to start this shipment
|
|
34491
|
+
*/
|
|
34492
|
+
startDate?: Date;
|
|
34493
|
+
/**
|
|
34494
|
+
* Is set when this shipment is ended
|
|
34495
|
+
*/
|
|
34496
|
+
endDate?: Date;
|
|
34497
|
+
/**
|
|
34498
|
+
* Email address to put in the From header of the messages
|
|
34499
|
+
*/
|
|
34500
|
+
fromAddr?: string;
|
|
34501
|
+
/**
|
|
34502
|
+
* Email address to put in the Reply To: header of the messages
|
|
34503
|
+
*/
|
|
34504
|
+
replyAddr?: string;
|
|
34505
|
+
/**
|
|
34506
|
+
* Email address for the MTA envelope (where bounces are returned)
|
|
34507
|
+
*/
|
|
34508
|
+
envelopeFrom?: string;
|
|
34509
|
+
/**
|
|
34510
|
+
* Sending/stopped/failed etc.
|
|
34511
|
+
*/
|
|
34512
|
+
status?: enums.ShipmentStatus;
|
|
34513
|
+
/**
|
|
34514
|
+
* The total number of recipients to send message to.
|
|
34515
|
+
*/
|
|
34516
|
+
recipients?: number;
|
|
34517
|
+
/**
|
|
34518
|
+
* This field indicates what kind of shipment this is.
|
|
34519
|
+
*/
|
|
34520
|
+
configuration?: number;
|
|
34521
|
+
/**
|
|
34522
|
+
* Set if this shipment should be related to a Selection
|
|
34523
|
+
*/
|
|
34524
|
+
selectionId?: number;
|
|
34525
|
+
/**
|
|
34526
|
+
* Set if this shipment should be related to a Project
|
|
34527
|
+
*/
|
|
34528
|
+
projectId?: number;
|
|
34529
|
+
/**
|
|
34530
|
+
* Id of subscriptionType that this shipment has, so we may check for reservations
|
|
34531
|
+
*/
|
|
34532
|
+
shipmenttypeId?: number;
|
|
34533
|
+
/**
|
|
34534
|
+
* Number of mails sent
|
|
34535
|
+
*/
|
|
34536
|
+
sentNum?: number;
|
|
34537
|
+
/**
|
|
34538
|
+
* Number of mails sent minus bounces
|
|
34539
|
+
*/
|
|
34540
|
+
deliveredNum?: number;
|
|
34541
|
+
/**
|
|
34542
|
+
* Registered when
|
|
34543
|
+
*/
|
|
34544
|
+
registered?: Date;
|
|
34545
|
+
/**
|
|
34546
|
+
* Registered by whom
|
|
34547
|
+
*/
|
|
34548
|
+
registeredAssociateId?: number;
|
|
34549
|
+
/**
|
|
34550
|
+
* Last updated when
|
|
34551
|
+
*/
|
|
34552
|
+
updated?: Date;
|
|
34553
|
+
/**
|
|
34554
|
+
* Last updated by whom
|
|
34555
|
+
*/
|
|
34556
|
+
updatedAssociateId?: number;
|
|
34557
|
+
/**
|
|
34558
|
+
* Number of updates made to this record
|
|
34559
|
+
*/
|
|
34560
|
+
updatedCount?: number;
|
|
34561
|
+
}
|
|
34562
|
+
/**
|
|
34563
|
+
* Move one or more mailings (shipments) into the given folder. FolderId -1 = root.
|
|
34564
|
+
*/
|
|
34565
|
+
export interface Marketing_MoveMailingsToFolderRequest {
|
|
34566
|
+
/**
|
|
34567
|
+
* Shipment ids of the mailings to move (s_shipment.id)
|
|
34568
|
+
*/
|
|
34569
|
+
mailingIds: number[];
|
|
34570
|
+
/**
|
|
34571
|
+
* Target folder id (s_picture_folder.id, shipmentFolder type); -1 = root
|
|
34572
|
+
*/
|
|
34573
|
+
folderId: number;
|
|
34574
|
+
}
|
|
34575
|
+
/**
|
|
34576
|
+
* Change the mailing name (shipment description) that the given message (MessageId) belongs to
|
|
34577
|
+
*/
|
|
34578
|
+
export interface Marketing_RenameMailingByMessageIdRequest {
|
|
34579
|
+
/**
|
|
34580
|
+
* Message id
|
|
34581
|
+
*/
|
|
34582
|
+
messageId: number;
|
|
34583
|
+
/**
|
|
34584
|
+
* The new name
|
|
34585
|
+
*/
|
|
34586
|
+
name: string;
|
|
34587
|
+
}
|
|
34588
|
+
/**
|
|
34589
|
+
* Reload and send a mailing
|
|
34590
|
+
* Returns boolean
|
|
34591
|
+
*/
|
|
34592
|
+
export interface Marketing_ReloadAndSendMailingRequest {
|
|
34593
|
+
/**
|
|
34594
|
+
* Mailing id
|
|
34595
|
+
*/
|
|
34596
|
+
mailingId: number;
|
|
34597
|
+
}
|
|
34246
34598
|
/**
|
|
34247
34599
|
* Methods for calculating mailing statistics
|
|
34248
34600
|
*/
|
|
@@ -34566,19 +34918,6 @@ export interface ShipmentMessageEntity extends Carrier {
|
|
|
34566
34918
|
*/
|
|
34567
34919
|
updatedCount?: number;
|
|
34568
34920
|
}
|
|
34569
|
-
/**
|
|
34570
|
-
* Change the mailing name (shipment description) that the given message (MessageId) belongs to
|
|
34571
|
-
*/
|
|
34572
|
-
export interface Marketing_RenameMailingByMessageIdRequest {
|
|
34573
|
-
/**
|
|
34574
|
-
* Message id
|
|
34575
|
-
*/
|
|
34576
|
-
messageId: number;
|
|
34577
|
-
/**
|
|
34578
|
-
* The new name
|
|
34579
|
-
*/
|
|
34580
|
-
name: string;
|
|
34581
|
-
}
|
|
34582
34921
|
/**
|
|
34583
34922
|
* Delete the message and the shipment the message (MessageId) belongs to
|
|
34584
34923
|
*/
|
|
@@ -40645,7 +40984,7 @@ export interface NewsFeedCTA {
|
|
|
40645
40984
|
*/
|
|
40646
40985
|
ctaType?: enums.CtaType;
|
|
40647
40986
|
/**
|
|
40648
|
-
* The flavor of the CTA, which determines the style the CTA button renders
|
|
40987
|
+
* The flavor of the CTA, which determines the style/color/icon the CTA button renders with. Info/Warning/Error/Accept/Reject
|
|
40649
40988
|
*/
|
|
40650
40989
|
ctaFlavor?: enums.CtaFlavor;
|
|
40651
40990
|
}
|
|
@@ -40741,6 +41080,14 @@ export interface NewsFeedItem {
|
|
|
40741
41080
|
* The id of the application that registered this news item. Used to resolve where any CTA should be posted when clicked.
|
|
40742
41081
|
*/
|
|
40743
41082
|
applicationId?: string;
|
|
41083
|
+
/**
|
|
41084
|
+
* Place related to news item (city or city + country) (optional)
|
|
41085
|
+
*/
|
|
41086
|
+
location?: string;
|
|
41087
|
+
/**
|
|
41088
|
+
* Rating as percentage (0-100). 0 = undefined. 1-9 = No stars, 10-30 = One star, Two stars = 31-50, 90-100 = Five stars. Client can render rating as stars, pie chart, thumbs up or down, however they want. Default 0 indicates no rating.
|
|
41089
|
+
*/
|
|
41090
|
+
ratingPercent?: number;
|
|
40744
41091
|
}
|
|
40745
41092
|
/**
|
|
40746
41093
|
* Saves a new item to the newsfeed, publishing it to the specified users.
|