@segment/public-api-sdk-typescript 73.0.0-b19523 → 73.0.0-b19564

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.
@@ -9,6 +9,7 @@ export declare class ActivationOutput {
9
9
  'connectionId': string;
10
10
  'activationType': string;
11
11
  'activationName': string;
12
+ 'displayName'?: string | null;
12
13
  'personalization': PersonalizationInput;
13
14
  'destinationMapping'?: DestinationSubscriptionConfiguration;
14
15
  'performResync'?: boolean;
@@ -49,6 +49,11 @@ var ActivationOutput = (function () {
49
49
  baseName: 'activationName',
50
50
  type: 'string',
51
51
  },
52
+ {
53
+ name: 'displayName',
54
+ baseName: 'displayName',
55
+ type: 'string',
56
+ },
52
57
  {
53
58
  name: 'personalization',
54
59
  baseName: 'personalization',
@@ -1 +1 @@
1
- {"version":3,"file":"activationOutput.js","sourceRoot":"","sources":["../../model/activationOutput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IA2GA,CAAC;IAHU,oCAAmB,GAA1B;QACI,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IAlEM,8BAAa,GAAuB,SAAS,CAAC;IAE9C,iCAAgB,GAIlB;QACD;YACI,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE,cAAc;YACxB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAKN,uBAAC;CAAA,AA3GD,IA2GC;AA3GY,4CAAgB"}
1
+ {"version":3,"file":"activationOutput.js","sourceRoot":"","sources":["../../model/activationOutput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IAoHA,CAAC;IAHU,oCAAmB,GAA1B;QACI,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IAvEM,8BAAa,GAAuB,SAAS,CAAC;IAE9C,iCAAgB,GAIlB;QACD;YACI,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,QAAQ,EAAE,cAAc;YACxB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAKN,uBAAC;CAAA,AApHD,IAoHC;AApHY,4CAAgB"}
@@ -5,6 +5,7 @@ export declare class AddActivationToAudienceAlphaInput {
5
5
  'performResync': boolean;
6
6
  'activationType': string;
7
7
  'activationName': string;
8
+ 'displayName'?: string;
8
9
  'personalization': PersonalizationInput;
9
10
  'destinationMapping'?: DestinationSubscriptionConfiguration;
10
11
  static discriminator: string | undefined;
@@ -29,6 +29,11 @@ var AddActivationToAudienceAlphaInput = (function () {
29
29
  baseName: 'activationName',
30
30
  type: 'string',
31
31
  },
32
+ {
33
+ name: 'displayName',
34
+ baseName: 'displayName',
35
+ type: 'string',
36
+ },
32
37
  {
33
38
  name: 'personalization',
34
39
  baseName: 'personalization',
@@ -1 +1 @@
1
- {"version":3,"file":"addActivationToAudienceAlphaInput.js","sourceRoot":"","sources":["../../model/addActivationToAudienceAlphaInput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IA8DA,CAAC;IAHU,qDAAmB,GAA1B;QACI,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC9D,CAAC;IAzCM,+CAAa,GAAuB,SAAS,CAAC;IAE9C,kDAAgB,GAIlB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;KACJ,CAAC;IAKN,wCAAC;CAAA,AA9DD,IA8DC;AA9DY,8EAAiC"}
1
+ {"version":3,"file":"addActivationToAudienceAlphaInput.js","sourceRoot":"","sources":["../../model/addActivationToAudienceAlphaInput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IAuEA,CAAC;IAHU,qDAAmB,GAA1B;QACI,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC9D,CAAC;IA9CM,+CAAa,GAAuB,SAAS,CAAC;IAE9C,kDAAgB,GAIlB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;KACJ,CAAC;IAKN,wCAAC;CAAA,AAvED,IAuEC;AAvEY,8EAAiC"}
@@ -3,6 +3,7 @@ import { PersonalizationInput } from './personalizationInput';
3
3
  export declare class UpdateActivationForAudienceAlphaInput {
4
4
  'enabled'?: boolean;
5
5
  'activationName'?: string;
6
+ 'displayName'?: string | null;
6
7
  'personalization'?: PersonalizationInput;
7
8
  'destinationMapping'?: DestinationSubscriptionConfiguration;
8
9
  'performResync'?: boolean;
@@ -19,6 +19,11 @@ var UpdateActivationForAudienceAlphaInput = (function () {
19
19
  baseName: 'activationName',
20
20
  type: 'string',
21
21
  },
22
+ {
23
+ name: 'displayName',
24
+ baseName: 'displayName',
25
+ type: 'string',
26
+ },
22
27
  {
23
28
  name: 'personalization',
24
29
  baseName: 'personalization',
@@ -1 +1 @@
1
- {"version":3,"file":"updateActivationForAudienceAlphaInput.js","sourceRoot":"","sources":["../../model/updateActivationForAudienceAlphaInput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IAqDA,CAAC;IAHU,yDAAmB,GAA1B;QACI,OAAO,qCAAqC,CAAC,gBAAgB,CAAC;IAClE,CAAC;IApCM,mDAAa,GAAuB,SAAS,CAAC;IAE9C,sDAAgB,GAIlB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAKN,4CAAC;CAAA,AArDD,IAqDC;AArDY,sFAAqC"}
1
+ {"version":3,"file":"updateActivationForAudienceAlphaInput.js","sourceRoot":"","sources":["../../model/updateActivationForAudienceAlphaInput.ts"],"names":[],"mappings":";;;AAmBA;IAAA;IA8DA,CAAC;IAHU,yDAAmB,GAA1B;QACI,OAAO,qCAAqC,CAAC,gBAAgB,CAAC;IAClE,CAAC;IAzCM,mDAAa,GAAuB,SAAS,CAAC;IAE9C,sDAAgB,GAIlB;QACD;YACI,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,QAAQ,EAAE,gBAAgB;YAC1B,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,QAAQ;SACjB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,QAAQ,EAAE,iBAAiB;YAC3B,IAAI,EAAE,sBAAsB;SAC/B;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE,sCAAsC;SAC/C;QACD;YACI,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,eAAe;YACzB,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAKN,4CAAC;CAAA,AA9DD,IA8DC;AA9DY,sFAAqC"}
@@ -43,13 +43,17 @@ export class ActivationOutput {
43
43
  */
44
44
  'connectionId': string;
45
45
  /**
46
- * Determines when an event is sent to the Destination. Possible values: Audience Entered: Sends an event when a profile or entity enters the audience. Audience Exited: Sends an event when a profile or entity exits the audience. Audience Membership Changed: Sends an event for both entries and exits. This does not apply to entities. Note that events are sent for the profile, unless the audience is a Linked Audience. In that case, events are sent for the target entity defined for that audience.
46
+ * Determines when an event is sent to the Destination. Possible values: Audience Entered: Sends an event when a profile or entity enters the audience. Audience Exited: Sends an event when a profile or entity exits the audience. Audience Membership Changed: Sends an event for both entries and exits. This does not apply to entities. Note that events are sent for the profile, unless the audience is a Linked Audience. In that case, events are sent for the target entity defined for that audience.
47
47
  */
48
48
  'activationType': string;
49
49
  /**
50
- * Name of the activation.
50
+ * Activation name. For Warehouse Destinations, this is the table name.
51
51
  */
52
52
  'activationName': string;
53
+ /**
54
+ * Human-readable label for the activation. Only present for Warehouse Destinations that have a display name configured. When null, the activationName serves as the label.
55
+ */
56
+ 'displayName'?: string | null;
53
57
  'personalization': PersonalizationInput;
54
58
  'destinationMapping'?: DestinationSubscriptionConfiguration;
55
59
  /**
@@ -104,6 +108,11 @@ export class ActivationOutput {
104
108
  baseName: 'activationName',
105
109
  type: 'string',
106
110
  },
111
+ {
112
+ name: 'displayName',
113
+ baseName: 'displayName',
114
+ type: 'string',
115
+ },
107
116
  {
108
117
  name: 'personalization',
109
118
  baseName: 'personalization',
@@ -27,13 +27,17 @@ export class AddActivationToAudienceAlphaInput {
27
27
  */
28
28
  'performResync': boolean;
29
29
  /**
30
- * Determines when an event is sent to the Destination. Possible values: Audience Entered: Sends an event when a profile or entity enters the audience. Audience Exited: Sends an event when a profile or entity exits the audience. Audience Membership Changed: Sends an event for both entries and exits. This does not apply to entities. Note that events are sent for the profile, unless the audience is a Linked Audience. In that case, events are sent for the target entity defined for that audience.
30
+ * Determines when an event is sent to the Destination. Possible values: Audience Entered: Sends an event when a profile or entity enters the audience. Audience Exited: Sends an event when a profile or entity exits the audience. Audience Membership Changed: Sends an event for both entries and exits. This does not apply to entities. Note that events are sent for the profile, unless the audience is a Linked Audience. In that case, events are sent for the target entity defined for that audience.
31
31
  */
32
32
  'activationType': string;
33
33
  /**
34
- * Name of the activation.
34
+ * Activation name. For Warehouse Destinations, this is used as the table name.
35
35
  */
36
36
  'activationName': string;
37
+ /**
38
+ * Optional human-readable label for the activation. Only supported for Warehouse Destinations. When omitted, the activationName is used as the label.
39
+ */
40
+ 'displayName'?: string;
37
41
  'personalization': PersonalizationInput;
38
42
  'destinationMapping'?: DestinationSubscriptionConfiguration;
39
43
 
@@ -64,6 +68,11 @@ export class AddActivationToAudienceAlphaInput {
64
68
  baseName: 'activationName',
65
69
  type: 'string',
66
70
  },
71
+ {
72
+ name: 'displayName',
73
+ baseName: 'displayName',
74
+ type: 'string',
75
+ },
67
76
  {
68
77
  name: 'personalization',
69
78
  baseName: 'personalization',
@@ -23,9 +23,13 @@ export class UpdateActivationForAudienceAlphaInput {
23
23
  */
24
24
  'enabled'?: boolean;
25
25
  /**
26
- * Activation name.
26
+ * Activation name. For Warehouse Destinations, this is used as the table name.
27
27
  */
28
28
  'activationName'?: string;
29
+ /**
30
+ * Optional human-readable label for the activation. Only supported for Warehouse Destinations. Send null to clear. When omitted, the activationName is used as the label.
31
+ */
32
+ 'displayName'?: string | null;
29
33
  'personalization'?: PersonalizationInput;
30
34
  'destinationMapping'?: DestinationSubscriptionConfiguration;
31
35
  /**
@@ -50,6 +54,11 @@ export class UpdateActivationForAudienceAlphaInput {
50
54
  baseName: 'activationName',
51
55
  type: 'string',
52
56
  },
57
+ {
58
+ name: 'displayName',
59
+ baseName: 'displayName',
60
+ type: 'string',
61
+ },
53
62
  {
54
63
  name: 'personalization',
55
64
  baseName: 'personalization',
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "uuid": "^8.3.2",
19
19
  "request": "^2.88.2"
20
20
  },
21
- "version": "73.0.0-b19523",
21
+ "version": "73.0.0-b19564",
22
22
  "devDependencies": {
23
23
  "@types/bluebird": "^3.5.33",
24
24
  "@types/jest": "^29",