@segment/public-api-sdk-typescript 59.1.0-b13292 → 59.1.0-b13365

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.
@@ -1,6 +1,7 @@
1
1
  export declare class TraitOptions {
2
2
  'includeHistoricalData'?: boolean;
3
3
  'includeAnonymousUsers'?: boolean;
4
+ 'backfillDurationDays'?: number;
4
5
  static discriminator: string | undefined;
5
6
  static attributeTypeMap: Array<{
6
7
  name: string;
@@ -19,6 +19,11 @@ var TraitOptions = (function () {
19
19
  baseName: 'includeAnonymousUsers',
20
20
  type: 'boolean',
21
21
  },
22
+ {
23
+ name: 'backfillDurationDays',
24
+ baseName: 'backfillDurationDays',
25
+ type: 'number',
26
+ },
22
27
  ];
23
28
  return TraitOptions;
24
29
  }());
@@ -1 +1 @@
1
- {"version":3,"file":"traitOptions.js","sourceRoot":"","sources":["../../model/traitOptions.ts"],"names":[],"mappings":";;;AAcA;IAAA;IAgCA,CAAC;IAHU,gCAAmB,GAA1B;QACI,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;IArBM,0BAAa,GAAuB,SAAS,CAAC;IAE9C,6BAAgB,GAIlB;QACD;YACI,IAAI,EAAE,uBAAuB;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,uBAAuB;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,IAAI,EAAE,SAAS;SAClB;KACJ,CAAC;IAKN,mBAAC;CAAA,AAhCD,IAgCC;AAhCY,oCAAY"}
1
+ {"version":3,"file":"traitOptions.js","sourceRoot":"","sources":["../../model/traitOptions.ts"],"names":[],"mappings":";;;AAcA;IAAA;IAyCA,CAAC;IAHU,gCAAmB,GAA1B;QACI,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACzC,CAAC;IA1BM,0BAAa,GAAuB,SAAS,CAAC;IAE9C,6BAAgB,GAIlB;QACD;YACI,IAAI,EAAE,uBAAuB;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,uBAAuB;YAC7B,QAAQ,EAAE,uBAAuB;YACjC,IAAI,EAAE,SAAS;SAClB;QACD;YACI,IAAI,EAAE,sBAAsB;YAC5B,QAAQ,EAAE,sBAAsB;YAChC,IAAI,EAAE,QAAQ;SACjB;KACJ,CAAC;IAKN,mBAAC;CAAA,AAzCD,IAyCC;AAzCY,oCAAY"}
@@ -21,6 +21,10 @@ export class TraitOptions {
21
21
  * Determines whether anonymous users should be included when determining the computed trait value.
22
22
  */
23
23
  'includeAnonymousUsers'?: boolean;
24
+ /**
25
+ * If specified, the value of this field indicates the number of days, specified from the date the audience was created, that event data will be included from when determining audience membership. If unspecified, defer to the value of `includeHistoricalData` to determine whether historical data is either entirely included or entirely excluded when determining audience membership.
26
+ */
27
+ 'backfillDurationDays'?: number;
24
28
 
25
29
  static discriminator: string | undefined = undefined;
26
30
 
@@ -39,6 +43,11 @@ export class TraitOptions {
39
43
  baseName: 'includeAnonymousUsers',
40
44
  type: 'boolean',
41
45
  },
46
+ {
47
+ name: 'backfillDurationDays',
48
+ baseName: 'backfillDurationDays',
49
+ type: 'number',
50
+ },
42
51
  ];
43
52
 
44
53
  static getAttributeTypeMap() {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "uuid": "^8.3.2",
19
19
  "request": "^2.88.2"
20
20
  },
21
- "version": "59.1.0-b13292",
21
+ "version": "59.1.0-b13365",
22
22
  "devDependencies": {
23
23
  "@types/bluebird": "^3.5.33",
24
24
  "@types/jest": "^29",