@segment/public-api-sdk-typescript 53.1.0-b9571 → 53.1.0-b9575

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.
Files changed (43) hide show
  1. package/dist/model/audienceSummary.d.ts +2 -2
  2. package/dist/model/audienceSummary.js +1 -1
  3. package/dist/model/audienceSummary.js.map +1 -1
  4. package/dist/model/computedTraitSummary.d.ts +2 -2
  5. package/dist/model/computedTraitSummary.js +1 -1
  6. package/dist/model/computedTraitSummary.js.map +1 -1
  7. package/dist/model/config.d.ts +0 -3
  8. package/dist/model/config.js +0 -15
  9. package/dist/model/config.js.map +1 -1
  10. package/dist/model/definition.d.ts +21 -0
  11. package/dist/model/definition.js +34 -0
  12. package/dist/model/definition.js.map +1 -0
  13. package/dist/model/definition1.d.ts +21 -0
  14. package/dist/model/definition1.js +34 -0
  15. package/dist/model/definition1.js.map +1 -0
  16. package/dist/model/destinationSubscription.d.ts +1 -1
  17. package/dist/model/destinationSubscription.js +1 -1
  18. package/dist/model/destinationSubscription.js.map +1 -1
  19. package/dist/model/function.d.ts +36 -0
  20. package/dist/model/function.js +96 -0
  21. package/dist/model/function.js.map +1 -0
  22. package/dist/model/getFunctionV1Output.d.ts +2 -2
  23. package/dist/model/getFunctionV1Output.js +1 -1
  24. package/dist/model/getFunctionV1Output.js.map +1 -1
  25. package/dist/model/models.d.ts +3 -0
  26. package/dist/model/models.js +12 -0
  27. package/dist/model/models.js.map +1 -1
  28. package/dist/model/scheduleConfig.d.ts +0 -3
  29. package/dist/model/scheduleConfig.js +0 -15
  30. package/dist/model/scheduleConfig.js.map +1 -1
  31. package/dist/model/space.js.map +1 -1
  32. package/model/audienceSummary.ts +3 -3
  33. package/model/computedTraitSummary.ts +3 -3
  34. package/model/config.ts +0 -29
  35. package/model/definition.ts +57 -0
  36. package/model/definition1.ts +57 -0
  37. package/model/destinationSubscription.ts +2 -2
  38. package/model/function.ts +168 -0
  39. package/model/getFunctionV1Output.ts +3 -3
  40. package/model/models.ts +12 -0
  41. package/model/scheduleConfig.ts +0 -29
  42. package/model/space.ts +3 -0
  43. package/package.json +1 -1
package/model/models.ts CHANGED
@@ -114,6 +114,8 @@ export * from './createWorkspaceRegulationV1Input';
114
114
  export * from './createWorkspaceRegulationV1Output';
115
115
  export * from './createWriteKeyForSource200Response';
116
116
  export * from './createWriteKeyForSourceAlphaOutput';
117
+ export * from './definition';
118
+ export * from './definition1';
117
119
  export * from './deleteDestination200Response';
118
120
  export * from './deleteDestinationV1Output';
119
121
  export * from './deleteFunction200Response';
@@ -175,6 +177,7 @@ export * from './echoV1Output';
175
177
  export * from './edgeFunctionsAlpha';
176
178
  export * from './eventSourceV1';
177
179
  export * from './fQLDefinedPropertyV1';
180
+ export * from './function';
178
181
  export * from './functionDeployment';
179
182
  export * from './functionSettingV1';
180
183
  export * from './functionV1';
@@ -662,6 +665,8 @@ import { CreateWorkspaceRegulationV1Input } from './createWorkspaceRegulationV1I
662
665
  import { CreateWorkspaceRegulationV1Output } from './createWorkspaceRegulationV1Output';
663
666
  import { CreateWriteKeyForSource200Response } from './createWriteKeyForSource200Response';
664
667
  import { CreateWriteKeyForSourceAlphaOutput } from './createWriteKeyForSourceAlphaOutput';
668
+ import { Definition } from './definition';
669
+ import { Definition1 } from './definition1';
665
670
  import { DeleteDestination200Response } from './deleteDestination200Response';
666
671
  import { DeleteDestinationV1Output } from './deleteDestinationV1Output';
667
672
  import { DeleteFunction200Response } from './deleteFunction200Response';
@@ -723,6 +728,7 @@ import { EchoV1Output } from './echoV1Output';
723
728
  import { EdgeFunctionsAlpha } from './edgeFunctionsAlpha';
724
729
  import { EventSourceV1 } from './eventSourceV1';
725
730
  import { FQLDefinedPropertyV1 } from './fQLDefinedPropertyV1';
731
+ import { Function } from './function';
726
732
  import { FunctionDeployment } from './functionDeployment';
727
733
  import { FunctionSettingV1 } from './functionSettingV1';
728
734
  import { FunctionV1 } from './functionV1';
@@ -1124,6 +1130,8 @@ let enumsMap: { [index: string]: any } = {
1124
1130
  CreateWorkspaceRegulationV1Input.RegulationTypeEnum,
1125
1131
  'CreateWorkspaceRegulationV1Input.SubjectTypeEnum':
1126
1132
  CreateWorkspaceRegulationV1Input.SubjectTypeEnum,
1133
+ 'Definition.TypeEnum': Definition.TypeEnum,
1134
+ 'Definition1.TypeEnum': Definition1.TypeEnum,
1127
1135
  'DeleteDestinationV1Output.StatusEnum':
1128
1136
  DeleteDestinationV1Output.StatusEnum,
1129
1137
  'DeleteFunctionV1Output.StatusEnum': DeleteFunctionV1Output.StatusEnum,
@@ -1163,6 +1171,7 @@ let enumsMap: { [index: string]: any } = {
1163
1171
  'DestinationStatusV1.StatusEnum': DestinationStatusV1.StatusEnum,
1164
1172
  'EchoAlphaOutput.MethodEnum': EchoAlphaOutput.MethodEnum,
1165
1173
  'EchoV1Output.MethodEnum': EchoV1Output.MethodEnum,
1174
+ 'Function.ResourceTypeEnum': Function.ResourceTypeEnum,
1166
1175
  'FunctionDeployment.StatusEnum': FunctionDeployment.StatusEnum,
1167
1176
  'FunctionSettingV1.TypeEnum': FunctionSettingV1.TypeEnum,
1168
1177
  'FunctionV1.ResourceTypeEnum': FunctionV1.ResourceTypeEnum,
@@ -1377,6 +1386,8 @@ let typeMap: { [index: string]: any } = {
1377
1386
  CreateWorkspaceRegulationV1Output: CreateWorkspaceRegulationV1Output,
1378
1387
  CreateWriteKeyForSource200Response: CreateWriteKeyForSource200Response,
1379
1388
  CreateWriteKeyForSourceAlphaOutput: CreateWriteKeyForSourceAlphaOutput,
1389
+ Definition: Definition,
1390
+ Definition1: Definition1,
1380
1391
  DeleteDestination200Response: DeleteDestination200Response,
1381
1392
  DeleteDestinationV1Output: DeleteDestinationV1Output,
1382
1393
  DeleteFunction200Response: DeleteFunction200Response,
@@ -1442,6 +1453,7 @@ let typeMap: { [index: string]: any } = {
1442
1453
  EdgeFunctionsAlpha: EdgeFunctionsAlpha,
1443
1454
  EventSourceV1: EventSourceV1,
1444
1455
  FQLDefinedPropertyV1: FQLDefinedPropertyV1,
1456
+ Function: Function,
1445
1457
  FunctionDeployment: FunctionDeployment,
1446
1458
  FunctionSettingV1: FunctionSettingV1,
1447
1459
  FunctionV1: FunctionV1,
@@ -11,8 +11,6 @@
11
11
  */
12
12
 
13
13
  import { RequestFile } from './models';
14
- import { ReverseEtlPeriodicScheduleConfig } from './reverseEtlPeriodicScheduleConfig';
15
- import { ReverseEtlSpecificTimeScheduleConfig } from './reverseEtlSpecificTimeScheduleConfig';
16
14
 
17
15
  /**
18
16
  * Depending on the chosen strategy, configures the schedule for this model.
@@ -22,18 +20,6 @@ export class ScheduleConfig {
22
20
  * Duration is specified as a string, eg: 15m, 3h25m30s.
23
21
  */
24
22
  'interval': string;
25
- /**
26
- * Days of the week.
27
- */
28
- 'days': Array<number>;
29
- /**
30
- * Hours of the day.
31
- */
32
- 'hours': Array<number>;
33
- /**
34
- * Timezone for the specified times.
35
- */
36
- 'timezone': string;
37
23
 
38
24
  static discriminator: string | undefined = undefined;
39
25
 
@@ -47,21 +33,6 @@ export class ScheduleConfig {
47
33
  baseName: 'interval',
48
34
  type: 'string',
49
35
  },
50
- {
51
- name: 'days',
52
- baseName: 'days',
53
- type: 'Array<number>',
54
- },
55
- {
56
- name: 'hours',
57
- baseName: 'hours',
58
- type: 'Array<number>',
59
- },
60
- {
61
- name: 'timezone',
62
- baseName: 'timezone',
63
- type: 'string',
64
- },
65
36
  ];
66
37
 
67
38
  static getAttributeTypeMap() {
package/model/space.ts CHANGED
@@ -12,6 +12,9 @@
12
12
 
13
13
  import { RequestFile } from './models';
14
14
 
15
+ /**
16
+ * Space matching the given id.
17
+ */
15
18
  export class Space {
16
19
  'id': string;
17
20
  'slug': string;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "uuid": "^8.3.2",
19
19
  "request": "^2.88.2"
20
20
  },
21
- "version": "53.1.0-b9571",
21
+ "version": "53.1.0-b9575",
22
22
  "devDependencies": {
23
23
  "@types/bluebird": "^3.5.33",
24
24
  "@types/jest": "^29",