@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/src/Carriers.ts
CHANGED
|
@@ -452,6 +452,30 @@ export interface IntStringDictionary {
|
|
|
452
452
|
|
|
453
453
|
|
|
454
454
|
|
|
455
|
+
/**
|
|
456
|
+
* The combined answer of one live UI sync call: new UI events, plus the sync state of the tickets the client asked about.
|
|
457
|
+
*/
|
|
458
|
+
export interface LiveUiSyncResult {
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* New events since the given event id — the same content the PublishAndRetrieveUiEvents operation returns.
|
|
463
|
+
*/
|
|
464
|
+
events?: UiEvent[];
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Sync state of each requested ticket the user is allowed to see. Requested tickets the user cannot see are omitted.
|
|
468
|
+
*/
|
|
469
|
+
ticketStates?: TicketStateInfo[];
|
|
470
|
+
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
|
|
455
479
|
/**
|
|
456
480
|
* LocalizedField is used to store localized information such as formatted address data, a formatted phone number, etc.
|
|
457
481
|
*/
|
|
@@ -1331,7 +1355,7 @@ export interface SoPrincipalCarrier {
|
|
|
1331
1355
|
|
|
1332
1356
|
|
|
1333
1357
|
/**
|
|
1334
|
-
*
|
|
1358
|
+
* System Information - license, version, database type, language
|
|
1335
1359
|
*/
|
|
1336
1360
|
export interface SoSystemInfoCarrier extends Carrier {
|
|
1337
1361
|
|
|
@@ -1407,7 +1431,7 @@ export interface SoSystemInfoCarrier extends Carrier {
|
|
|
1407
1431
|
companyName?: string;
|
|
1408
1432
|
|
|
1409
1433
|
/**
|
|
1410
|
-
* License Info: Company
|
|
1434
|
+
* License Info: Company (contact_id) associated with license.
|
|
1411
1435
|
*/
|
|
1412
1436
|
companyId?: number;
|
|
1413
1437
|
|
|
@@ -1436,6 +1460,11 @@ export interface SoSystemInfoCarrier extends Carrier {
|
|
|
1436
1460
|
*/
|
|
1437
1461
|
isSatellite?: boolean;
|
|
1438
1462
|
|
|
1463
|
+
/**
|
|
1464
|
+
* 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
|
|
1465
|
+
*/
|
|
1466
|
+
databaseLanguage?: string;
|
|
1467
|
+
|
|
1439
1468
|
}
|
|
1440
1469
|
|
|
1441
1470
|
|
|
@@ -1625,6 +1654,69 @@ export interface TicketMessageHeader extends Carrier {
|
|
|
1625
1654
|
|
|
1626
1655
|
|
|
1627
1656
|
|
|
1657
|
+
/**
|
|
1658
|
+
* 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.
|
|
1659
|
+
*/
|
|
1660
|
+
export interface TicketStateInfo {
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* The primary key (auto-incremented)
|
|
1665
|
+
*/
|
|
1666
|
+
ticketId?: number;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* The ticket's current last-changed value on the server. Clients store this and send it back as the version in later calls.
|
|
1670
|
+
*/
|
|
1671
|
+
lastChanged?: Date;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* True when the ticket changed after the version the client sent. Always false when the client sent no version (DateTime.MinValue).
|
|
1675
|
+
*/
|
|
1676
|
+
isStale?: boolean;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* The associate who made the latest change, when the ticket is stale and the change can be attributed; 0 otherwise.
|
|
1680
|
+
*/
|
|
1681
|
+
changedById?: number;
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Full name of the associate who made the latest change; empty when unknown.
|
|
1685
|
+
*/
|
|
1686
|
+
changedByName?: string;
|
|
1687
|
+
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* 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.
|
|
1698
|
+
*/
|
|
1699
|
+
export interface TicketVersionInfo {
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* The primary key (auto-incremented)
|
|
1704
|
+
*/
|
|
1705
|
+
ticketId?: number;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* 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.
|
|
1709
|
+
*/
|
|
1710
|
+
lastChanged?: Date;
|
|
1711
|
+
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
|
|
1628
1720
|
/**
|
|
1629
1721
|
* The UserCandidate carrier is used to represent a Customer Centre User.
|
|
1630
1722
|
*/
|
|
@@ -22823,6 +22915,70 @@ export interface List_GetPaymentTypesRequest {
|
|
|
22823
22915
|
// response object: PaymentType[]
|
|
22824
22916
|
|
|
22825
22917
|
|
|
22918
|
+
/**
|
|
22919
|
+
* Picture/mailing folder (s_picture_folder)
|
|
22920
|
+
*/
|
|
22921
|
+
export interface PictureFolderEntity extends Carrier {
|
|
22922
|
+
|
|
22923
|
+
|
|
22924
|
+
/**
|
|
22925
|
+
* Primary key
|
|
22926
|
+
*/
|
|
22927
|
+
sPictureFolderId?: number;
|
|
22928
|
+
|
|
22929
|
+
/**
|
|
22930
|
+
* Name of folder
|
|
22931
|
+
*/
|
|
22932
|
+
name?: string;
|
|
22933
|
+
|
|
22934
|
+
/**
|
|
22935
|
+
* The parent id for this folder. -1 for root folders
|
|
22936
|
+
*/
|
|
22937
|
+
parentId?: number;
|
|
22938
|
+
|
|
22939
|
+
/**
|
|
22940
|
+
* A description of the folder
|
|
22941
|
+
*/
|
|
22942
|
+
description?: string;
|
|
22943
|
+
|
|
22944
|
+
/**
|
|
22945
|
+
* Indicates which type of folder this is
|
|
22946
|
+
*/
|
|
22947
|
+
folderType?: number;
|
|
22948
|
+
|
|
22949
|
+
/**
|
|
22950
|
+
* Sub-folders, if any.
|
|
22951
|
+
*/
|
|
22952
|
+
children?: PictureFolderEntity[];
|
|
22953
|
+
|
|
22954
|
+
/**
|
|
22955
|
+
* Registered when
|
|
22956
|
+
*/
|
|
22957
|
+
registered?: Date;
|
|
22958
|
+
|
|
22959
|
+
/**
|
|
22960
|
+
* Registered by whom
|
|
22961
|
+
*/
|
|
22962
|
+
registeredAssociateId?: number;
|
|
22963
|
+
|
|
22964
|
+
/**
|
|
22965
|
+
* Last updated when
|
|
22966
|
+
*/
|
|
22967
|
+
updated?: Date;
|
|
22968
|
+
|
|
22969
|
+
/**
|
|
22970
|
+
* Last updated by whom
|
|
22971
|
+
*/
|
|
22972
|
+
updatedAssociateId?: number;
|
|
22973
|
+
|
|
22974
|
+
}
|
|
22975
|
+
|
|
22976
|
+
|
|
22977
|
+
|
|
22978
|
+
|
|
22979
|
+
|
|
22980
|
+
|
|
22981
|
+
|
|
22826
22982
|
/**
|
|
22827
22983
|
*
|
|
22828
22984
|
*/
|
|
@@ -25259,6 +25415,7 @@ export interface List_GetWebPanelByProgIdRequest {
|
|
|
25259
25415
|
|
|
25260
25416
|
|
|
25261
25417
|
|
|
25418
|
+
|
|
25262
25419
|
|
|
25263
25420
|
|
|
25264
25421
|
/**
|
|
@@ -26954,6 +27111,11 @@ export interface LandingPageEntity extends Carrier {
|
|
|
26954
27111
|
*/
|
|
26955
27112
|
pinnedEntities?: MDOListItem[];
|
|
26956
27113
|
|
|
27114
|
+
/**
|
|
27115
|
+
* All tabs on this landing page (pinned and open), ordered by rank. Supersedes PinnedSelections/PinnedEntities and additionally carries open-state and provider tabs.
|
|
27116
|
+
*/
|
|
27117
|
+
tabs?: LandingPageTab[];
|
|
27118
|
+
|
|
26957
27119
|
}
|
|
26958
27120
|
|
|
26959
27121
|
|
|
@@ -27006,6 +27168,76 @@ export interface Configuration_SetLandingPagePinForAssociateRequest {
|
|
|
27006
27168
|
|
|
27007
27169
|
// Void response...
|
|
27008
27170
|
|
|
27171
|
+
/**
|
|
27172
|
+
* 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.
|
|
27173
|
+
* Returns LandingPageEntity
|
|
27174
|
+
*/
|
|
27175
|
+
export interface Configuration_SaveLandingPageTabsRequest {
|
|
27176
|
+
/**
|
|
27177
|
+
* Id of the associate that owns the landing page.
|
|
27178
|
+
*/
|
|
27179
|
+
associateId: number;
|
|
27180
|
+
/**
|
|
27181
|
+
* Entity table name identifying which landing page (contact, person, sale, ...).
|
|
27182
|
+
*/
|
|
27183
|
+
entityTableName: string;
|
|
27184
|
+
/**
|
|
27185
|
+
* The complete ordered set of tabs to persist.
|
|
27186
|
+
*/
|
|
27187
|
+
tabs: LandingPageTab[];
|
|
27188
|
+
}
|
|
27189
|
+
|
|
27190
|
+
// response object: LandingPageEntity
|
|
27191
|
+
|
|
27192
|
+
|
|
27193
|
+
/**
|
|
27194
|
+
* A single tab on a landing page. Depending on TabType it represents a saved selection, an entity record, or a hardcoded provider.
|
|
27195
|
+
*/
|
|
27196
|
+
export interface LandingPageTab extends Carrier {
|
|
27197
|
+
|
|
27198
|
+
|
|
27199
|
+
/**
|
|
27200
|
+
* 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.
|
|
27201
|
+
*/
|
|
27202
|
+
id?: number;
|
|
27203
|
+
|
|
27204
|
+
/**
|
|
27205
|
+
* Display name for the tab. Populated for selection and entity tabs; empty for provider tabs (the client owns provider captions).
|
|
27206
|
+
*/
|
|
27207
|
+
name?: string;
|
|
27208
|
+
|
|
27209
|
+
/**
|
|
27210
|
+
* Table name of the record the tab points at (selection, contact, person, sale, ...) for a selection or entity tab; empty for a provider tab.
|
|
27211
|
+
*/
|
|
27212
|
+
entityType?: string;
|
|
27213
|
+
|
|
27214
|
+
/**
|
|
27215
|
+
* What kind of content the tab shows: a saved selection, a single entity record, or a hardcoded provider.
|
|
27216
|
+
*/
|
|
27217
|
+
tabType?: enums.LandingPageTabType;
|
|
27218
|
+
|
|
27219
|
+
/**
|
|
27220
|
+
* True if the tab is pinned; false if it is only open in the working set.
|
|
27221
|
+
*/
|
|
27222
|
+
pinned?: boolean;
|
|
27223
|
+
|
|
27224
|
+
/**
|
|
27225
|
+
* Zero-based position of the tab in the landing page's tab order.
|
|
27226
|
+
*/
|
|
27227
|
+
rank?: number;
|
|
27228
|
+
|
|
27229
|
+
/**
|
|
27230
|
+
* Provider key for a provider tab (e.g. LastTickets, FavouriteTickets); empty for selection and entity tabs.
|
|
27231
|
+
*/
|
|
27232
|
+
providerKey?: string;
|
|
27233
|
+
|
|
27234
|
+
}
|
|
27235
|
+
|
|
27236
|
+
|
|
27237
|
+
|
|
27238
|
+
|
|
27239
|
+
|
|
27240
|
+
|
|
27009
27241
|
|
|
27010
27242
|
/**
|
|
27011
27243
|
* Entity for system events
|
|
@@ -27234,6 +27466,8 @@ export interface Configuration_SaveWindowPosSizesRequest {
|
|
|
27234
27466
|
|
|
27235
27467
|
|
|
27236
27468
|
|
|
27469
|
+
|
|
27470
|
+
|
|
27237
27471
|
/**
|
|
27238
27472
|
* A config containing parameters for live UI
|
|
27239
27473
|
*/
|
|
@@ -27521,6 +27755,46 @@ export interface HistoryRequest extends Carrier {
|
|
|
27521
27755
|
|
|
27522
27756
|
|
|
27523
27757
|
|
|
27758
|
+
/**
|
|
27759
|
+
* A single navigation entry - a key and its navigation value (soprotocol).
|
|
27760
|
+
*/
|
|
27761
|
+
export interface NavigationElement extends Carrier {
|
|
27762
|
+
|
|
27763
|
+
|
|
27764
|
+
/**
|
|
27765
|
+
* Navigation key; identifies the screen/panel for Current, or the entry for Recent
|
|
27766
|
+
*/
|
|
27767
|
+
key?: string;
|
|
27768
|
+
|
|
27769
|
+
/**
|
|
27770
|
+
* The navigation value (soprotocol string)
|
|
27771
|
+
*/
|
|
27772
|
+
navigationValue?: string;
|
|
27773
|
+
|
|
27774
|
+
}
|
|
27775
|
+
|
|
27776
|
+
|
|
27777
|
+
|
|
27778
|
+
|
|
27779
|
+
|
|
27780
|
+
|
|
27781
|
+
/**
|
|
27782
|
+
* 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.
|
|
27783
|
+
*/
|
|
27784
|
+
export interface ViewState_UpsertRecentNavigationRequest {
|
|
27785
|
+
/**
|
|
27786
|
+
* The client the entries belong to, e.g. Crm, Admin or Mobile
|
|
27787
|
+
*/
|
|
27788
|
+
client: string;
|
|
27789
|
+
/**
|
|
27790
|
+
* The navigation entries to upsert. The first element becomes the most recent; duplicate keys are collapsed keeping the first occurrence.
|
|
27791
|
+
*/
|
|
27792
|
+
elements: NavigationElement[];
|
|
27793
|
+
}
|
|
27794
|
+
|
|
27795
|
+
// Void response...
|
|
27796
|
+
|
|
27797
|
+
|
|
27524
27798
|
/**
|
|
27525
27799
|
* 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)
|
|
27526
27800
|
*/
|
|
@@ -27590,6 +27864,35 @@ export interface ViewState_PublishAndRetrieveUiEventsRequest {
|
|
|
27590
27864
|
|
|
27591
27865
|
// response object: UiEvent[]
|
|
27592
27866
|
|
|
27867
|
+
/**
|
|
27868
|
+
* 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
|
|
27869
|
+
* Returns LiveUiSyncResult
|
|
27870
|
+
*/
|
|
27871
|
+
export interface ViewState_PublishAndSyncUiEventsRequest {
|
|
27872
|
+
/**
|
|
27873
|
+
* 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
|
|
27874
|
+
*/
|
|
27875
|
+
latestKnownEventId: number;
|
|
27876
|
+
/**
|
|
27877
|
+
* Array of events to publish. This can be empty if the client only wants to retrieve information
|
|
27878
|
+
*/
|
|
27879
|
+
publishEvents: UiEvent[];
|
|
27880
|
+
/**
|
|
27881
|
+
* 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
|
|
27882
|
+
*/
|
|
27883
|
+
metrics: MetricPair[];
|
|
27884
|
+
/**
|
|
27885
|
+
* 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
|
|
27886
|
+
*/
|
|
27887
|
+
ticketVersions: TicketVersionInfo[];
|
|
27888
|
+
}
|
|
27889
|
+
|
|
27890
|
+
// response object: LiveUiSyncResult
|
|
27891
|
+
|
|
27892
|
+
|
|
27893
|
+
|
|
27894
|
+
|
|
27895
|
+
|
|
27593
27896
|
|
|
27594
27897
|
|
|
27595
27898
|
|
|
@@ -28277,6 +28580,29 @@ export interface Diagnostics_TrackUserRequest {
|
|
|
28277
28580
|
// response object: number
|
|
28278
28581
|
|
|
28279
28582
|
|
|
28583
|
+
/**
|
|
28584
|
+
* System information
|
|
28585
|
+
*/
|
|
28586
|
+
export interface SystemInfo extends Carrier {
|
|
28587
|
+
|
|
28588
|
+
|
|
28589
|
+
}
|
|
28590
|
+
|
|
28591
|
+
|
|
28592
|
+
|
|
28593
|
+
|
|
28594
|
+
|
|
28595
|
+
|
|
28596
|
+
/**
|
|
28597
|
+
* Get system information
|
|
28598
|
+
* Returns SoSystemInfoCarrier
|
|
28599
|
+
*/
|
|
28600
|
+
export interface Diagnostics_GetSystemInfoRequest {
|
|
28601
|
+
}
|
|
28602
|
+
|
|
28603
|
+
// response object: SoSystemInfoCarrier
|
|
28604
|
+
|
|
28605
|
+
|
|
28280
28606
|
/**
|
|
28281
28607
|
*
|
|
28282
28608
|
*/
|
|
@@ -30232,11 +30558,6 @@ export interface EMailAccount extends Carrier {
|
|
|
30232
30558
|
*/
|
|
30233
30559
|
sentFolder?: string;
|
|
30234
30560
|
|
|
30235
|
-
/**
|
|
30236
|
-
* Simple mode used for sending and retrieving invitations, accept/decline etc. without the full Inbox GUI experience
|
|
30237
|
-
*/
|
|
30238
|
-
simpleMode?: number;
|
|
30239
|
-
|
|
30240
30561
|
/**
|
|
30241
30562
|
* When we last fetched email
|
|
30242
30563
|
*/
|
|
@@ -45860,6 +46181,22 @@ export interface FormEntity extends Carrier {
|
|
|
45860
46181
|
|
|
45861
46182
|
|
|
45862
46183
|
|
|
46184
|
+
/**
|
|
46185
|
+
* 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).
|
|
46186
|
+
*/
|
|
46187
|
+
export interface Marketing_MoveFormsToFolderRequest {
|
|
46188
|
+
/**
|
|
46189
|
+
* Ids of the forms to move (form.form_id)
|
|
46190
|
+
*/
|
|
46191
|
+
formIds: number[];
|
|
46192
|
+
/**
|
|
46193
|
+
* Target folder id (s_picture_folder.id, formFolder type); -1 = root
|
|
46194
|
+
*/
|
|
46195
|
+
folderId: number;
|
|
46196
|
+
}
|
|
46197
|
+
|
|
46198
|
+
// Void response...
|
|
46199
|
+
|
|
45863
46200
|
/**
|
|
45864
46201
|
* This method will try to verify a Google recaptcha token. The token is gained from the recaptcha frontend component
|
|
45865
46202
|
* Returns boolean
|
|
@@ -45983,6 +46320,175 @@ export interface FormSubmissionEntity extends Carrier {
|
|
|
45983
46320
|
|
|
45984
46321
|
|
|
45985
46322
|
|
|
46323
|
+
/**
|
|
46324
|
+
* A mailing (shipment) — the run that sends a message to a set of recipients
|
|
46325
|
+
*/
|
|
46326
|
+
export interface MailingEntity extends Carrier {
|
|
46327
|
+
|
|
46328
|
+
|
|
46329
|
+
/**
|
|
46330
|
+
* Primary key
|
|
46331
|
+
*/
|
|
46332
|
+
mailingId?: number;
|
|
46333
|
+
|
|
46334
|
+
/**
|
|
46335
|
+
* Describes the shipment
|
|
46336
|
+
*/
|
|
46337
|
+
description?: string;
|
|
46338
|
+
|
|
46339
|
+
/**
|
|
46340
|
+
* The id of the message that is sent in this shipment
|
|
46341
|
+
*/
|
|
46342
|
+
messageId?: number;
|
|
46343
|
+
|
|
46344
|
+
/**
|
|
46345
|
+
* The folder which this shipment belongs to. -1 indicates that the shipment is on the root
|
|
46346
|
+
*/
|
|
46347
|
+
folderId?: number;
|
|
46348
|
+
|
|
46349
|
+
/**
|
|
46350
|
+
* The date and time when to start this shipment
|
|
46351
|
+
*/
|
|
46352
|
+
startDate?: Date;
|
|
46353
|
+
|
|
46354
|
+
/**
|
|
46355
|
+
* Is set when this shipment is ended
|
|
46356
|
+
*/
|
|
46357
|
+
endDate?: Date;
|
|
46358
|
+
|
|
46359
|
+
/**
|
|
46360
|
+
* Email address to put in the From header of the messages
|
|
46361
|
+
*/
|
|
46362
|
+
fromAddr?: string;
|
|
46363
|
+
|
|
46364
|
+
/**
|
|
46365
|
+
* Email address to put in the Reply To: header of the messages
|
|
46366
|
+
*/
|
|
46367
|
+
replyAddr?: string;
|
|
46368
|
+
|
|
46369
|
+
/**
|
|
46370
|
+
* Email address for the MTA envelope (where bounces are returned)
|
|
46371
|
+
*/
|
|
46372
|
+
envelopeFrom?: string;
|
|
46373
|
+
|
|
46374
|
+
/**
|
|
46375
|
+
* Sending/stopped/failed etc.
|
|
46376
|
+
*/
|
|
46377
|
+
status?: enums.ShipmentStatus;
|
|
46378
|
+
|
|
46379
|
+
/**
|
|
46380
|
+
* The total number of recipients to send message to.
|
|
46381
|
+
*/
|
|
46382
|
+
recipients?: number;
|
|
46383
|
+
|
|
46384
|
+
/**
|
|
46385
|
+
* This field indicates what kind of shipment this is.
|
|
46386
|
+
*/
|
|
46387
|
+
configuration?: number;
|
|
46388
|
+
|
|
46389
|
+
/**
|
|
46390
|
+
* Set if this shipment should be related to a Selection
|
|
46391
|
+
*/
|
|
46392
|
+
selectionId?: number;
|
|
46393
|
+
|
|
46394
|
+
/**
|
|
46395
|
+
* Set if this shipment should be related to a Project
|
|
46396
|
+
*/
|
|
46397
|
+
projectId?: number;
|
|
46398
|
+
|
|
46399
|
+
/**
|
|
46400
|
+
* Id of subscriptionType that this shipment has, so we may check for reservations
|
|
46401
|
+
*/
|
|
46402
|
+
shipmenttypeId?: number;
|
|
46403
|
+
|
|
46404
|
+
/**
|
|
46405
|
+
* Number of mails sent
|
|
46406
|
+
*/
|
|
46407
|
+
sentNum?: number;
|
|
46408
|
+
|
|
46409
|
+
/**
|
|
46410
|
+
* Number of mails sent minus bounces
|
|
46411
|
+
*/
|
|
46412
|
+
deliveredNum?: number;
|
|
46413
|
+
|
|
46414
|
+
/**
|
|
46415
|
+
* Registered when
|
|
46416
|
+
*/
|
|
46417
|
+
registered?: Date;
|
|
46418
|
+
|
|
46419
|
+
/**
|
|
46420
|
+
* Registered by whom
|
|
46421
|
+
*/
|
|
46422
|
+
registeredAssociateId?: number;
|
|
46423
|
+
|
|
46424
|
+
/**
|
|
46425
|
+
* Last updated when
|
|
46426
|
+
*/
|
|
46427
|
+
updated?: Date;
|
|
46428
|
+
|
|
46429
|
+
/**
|
|
46430
|
+
* Last updated by whom
|
|
46431
|
+
*/
|
|
46432
|
+
updatedAssociateId?: number;
|
|
46433
|
+
|
|
46434
|
+
/**
|
|
46435
|
+
* Number of updates made to this record
|
|
46436
|
+
*/
|
|
46437
|
+
updatedCount?: number;
|
|
46438
|
+
|
|
46439
|
+
}
|
|
46440
|
+
|
|
46441
|
+
|
|
46442
|
+
|
|
46443
|
+
|
|
46444
|
+
|
|
46445
|
+
|
|
46446
|
+
/**
|
|
46447
|
+
* Move one or more mailings (shipments) into the given folder. FolderId -1 = root.
|
|
46448
|
+
*/
|
|
46449
|
+
export interface Marketing_MoveMailingsToFolderRequest {
|
|
46450
|
+
/**
|
|
46451
|
+
* Shipment ids of the mailings to move (s_shipment.id)
|
|
46452
|
+
*/
|
|
46453
|
+
mailingIds: number[];
|
|
46454
|
+
/**
|
|
46455
|
+
* Target folder id (s_picture_folder.id, shipmentFolder type); -1 = root
|
|
46456
|
+
*/
|
|
46457
|
+
folderId: number;
|
|
46458
|
+
}
|
|
46459
|
+
|
|
46460
|
+
// Void response...
|
|
46461
|
+
|
|
46462
|
+
/**
|
|
46463
|
+
* Change the mailing name (shipment description) that the given message (MessageId) belongs to
|
|
46464
|
+
*/
|
|
46465
|
+
export interface Marketing_RenameMailingByMessageIdRequest {
|
|
46466
|
+
/**
|
|
46467
|
+
* Message id
|
|
46468
|
+
*/
|
|
46469
|
+
messageId: number;
|
|
46470
|
+
/**
|
|
46471
|
+
* The new name
|
|
46472
|
+
*/
|
|
46473
|
+
name: string;
|
|
46474
|
+
}
|
|
46475
|
+
|
|
46476
|
+
// Void response...
|
|
46477
|
+
|
|
46478
|
+
/**
|
|
46479
|
+
* Reload and send a mailing
|
|
46480
|
+
* Returns boolean
|
|
46481
|
+
*/
|
|
46482
|
+
export interface Marketing_ReloadAndSendMailingRequest {
|
|
46483
|
+
/**
|
|
46484
|
+
* Mailing id
|
|
46485
|
+
*/
|
|
46486
|
+
mailingId: number;
|
|
46487
|
+
}
|
|
46488
|
+
|
|
46489
|
+
// response object: boolean
|
|
46490
|
+
|
|
46491
|
+
|
|
45986
46492
|
/**
|
|
45987
46493
|
* Methods for calculating mailing statistics
|
|
45988
46494
|
*/
|
|
@@ -46426,22 +46932,6 @@ export interface ShipmentMessageEntity extends Carrier {
|
|
|
46426
46932
|
|
|
46427
46933
|
|
|
46428
46934
|
|
|
46429
|
-
/**
|
|
46430
|
-
* Change the mailing name (shipment description) that the given message (MessageId) belongs to
|
|
46431
|
-
*/
|
|
46432
|
-
export interface Marketing_RenameMailingByMessageIdRequest {
|
|
46433
|
-
/**
|
|
46434
|
-
* Message id
|
|
46435
|
-
*/
|
|
46436
|
-
messageId: number;
|
|
46437
|
-
/**
|
|
46438
|
-
* The new name
|
|
46439
|
-
*/
|
|
46440
|
-
name: string;
|
|
46441
|
-
}
|
|
46442
|
-
|
|
46443
|
-
// Void response...
|
|
46444
|
-
|
|
46445
46935
|
/**
|
|
46446
46936
|
* Delete the message and the shipment the message (MessageId) belongs to
|
|
46447
46937
|
*/
|
|
@@ -54745,7 +55235,7 @@ export interface NewsFeedCTA {
|
|
|
54745
55235
|
ctaType?: enums.CtaType;
|
|
54746
55236
|
|
|
54747
55237
|
/**
|
|
54748
|
-
* The flavor of the CTA, which determines the style the CTA button renders
|
|
55238
|
+
* The flavor of the CTA, which determines the style/color/icon the CTA button renders with. Info/Warning/Error/Accept/Reject
|
|
54749
55239
|
*/
|
|
54750
55240
|
ctaFlavor?: enums.CtaFlavor;
|
|
54751
55241
|
|
|
@@ -54873,6 +55363,16 @@ export interface NewsFeedItem {
|
|
|
54873
55363
|
*/
|
|
54874
55364
|
applicationId?: string;
|
|
54875
55365
|
|
|
55366
|
+
/**
|
|
55367
|
+
* Place related to news item (city or city + country) (optional)
|
|
55368
|
+
*/
|
|
55369
|
+
location?: string;
|
|
55370
|
+
|
|
55371
|
+
/**
|
|
55372
|
+
* 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.
|
|
55373
|
+
*/
|
|
55374
|
+
ratingPercent?: number;
|
|
55375
|
+
|
|
54876
55376
|
}
|
|
54877
55377
|
|
|
54878
55378
|
|