@segment/public-api-sdk-typescript 33.0.4-b5483 → 33.0.4-b5491

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 (37) hide show
  1. package/dist/model/addLabelsToSourceV1Input.d.ts +1 -1
  2. package/dist/model/addPermissionsToUserGroupV1Input.d.ts +1 -1
  3. package/dist/model/addPermissionsToUserV1Input.d.ts +1 -1
  4. package/dist/model/addSourceToTrackingPlanV1Input.d.ts +1 -1
  5. package/dist/model/addUsersToUserGroupV1Input.d.ts +1 -1
  6. package/dist/model/createCloudSourceRegulationV1Input.d.ts +2 -2
  7. package/dist/model/createFilterForDestinationV1Input.d.ts +2 -2
  8. package/dist/model/createSourceRegulationV1Input.d.ts +2 -2
  9. package/dist/model/replaceAdvancedSyncScheduleForWarehouseV1Input.d.ts +1 -1
  10. package/dist/model/replaceLabelsInSourceV1Input.d.ts +1 -1
  11. package/dist/model/replacePermissionsForUserGroupV1Input.d.ts +1 -1
  12. package/dist/model/replacePermissionsForUserV1Input.d.ts +1 -1
  13. package/dist/model/replaceRulesInTrackingPlanV1Input.d.ts +1 -1
  14. package/dist/model/replaceUsersInUserGroupV1Input.d.ts +1 -1
  15. package/dist/model/updateRulesInTrackingPlanV1Input.d.ts +1 -1
  16. package/dist/model/updateSelectiveSyncForWarehouseV1Input.d.ts +1 -1
  17. package/dist/model/updateUserGroupV1Input.d.ts +1 -1
  18. package/dist/model/updateWarehouseV1Input.d.ts +1 -1
  19. package/model/addLabelsToSourceV1Input.ts +1 -1
  20. package/model/addPermissionsToUserGroupV1Input.ts +1 -1
  21. package/model/addPermissionsToUserV1Input.ts +1 -1
  22. package/model/addSourceToTrackingPlanV1Input.ts +1 -1
  23. package/model/addUsersToUserGroupV1Input.ts +1 -1
  24. package/model/createCloudSourceRegulationV1Input.ts +2 -2
  25. package/model/createFilterForDestinationV1Input.ts +2 -2
  26. package/model/createSourceRegulationV1Input.ts +2 -2
  27. package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +1 -1
  28. package/model/replaceLabelsInSourceV1Input.ts +1 -1
  29. package/model/replacePermissionsForUserGroupV1Input.ts +1 -1
  30. package/model/replacePermissionsForUserV1Input.ts +1 -1
  31. package/model/replaceRulesInTrackingPlanV1Input.ts +1 -1
  32. package/model/replaceUsersInUserGroupV1Input.ts +1 -1
  33. package/model/updateRulesInTrackingPlanV1Input.ts +1 -1
  34. package/model/updateSelectiveSyncForWarehouseV1Input.ts +1 -1
  35. package/model/updateUserGroupV1Input.ts +1 -1
  36. package/model/updateWarehouseV1Input.ts +1 -1
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { LabelV1 } from './labelV1';
2
2
  export declare class AddLabelsToSourceV1Input {
3
- 'labels'?: Array<LabelV1>;
3
+ 'labels': Array<LabelV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { PermissionInputV1 } from './permissionInputV1';
2
2
  export declare class AddPermissionsToUserGroupV1Input {
3
- 'permissions'?: Array<PermissionInputV1>;
3
+ 'permissions': Array<PermissionInputV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { PermissionInputV1 } from './permissionInputV1';
2
2
  export declare class AddPermissionsToUserV1Input {
3
- 'permissions'?: Array<PermissionInputV1>;
3
+ 'permissions': Array<PermissionInputV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,5 +1,5 @@
1
1
  export declare class AddSourceToTrackingPlanV1Input {
2
- 'sourceId'?: string;
2
+ 'sourceId': string;
3
3
  static discriminator: string | undefined;
4
4
  static attributeTypeMap: Array<{
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  export declare class AddUsersToUserGroupV1Input {
2
- 'emails'?: Array<string>;
2
+ 'emails': Array<string>;
3
3
  static discriminator: string | undefined;
4
4
  static attributeTypeMap: Array<{
5
5
  name: string;
@@ -1,7 +1,7 @@
1
1
  export declare class CreateCloudSourceRegulationV1Input {
2
2
  'regulationType': CreateCloudSourceRegulationV1Input.RegulationTypeEnum;
3
- 'subjectType'?: CreateCloudSourceRegulationV1Input.SubjectTypeEnum;
4
- 'subjectIds'?: Array<string>;
3
+ 'subjectType': CreateCloudSourceRegulationV1Input.SubjectTypeEnum;
4
+ 'subjectIds': Array<string>;
5
5
  'collection': string;
6
6
  static discriminator: string | undefined;
7
7
  static attributeTypeMap: Array<{
@@ -1,9 +1,9 @@
1
1
  import { DestinationFilterActionV1 } from './destinationFilterActionV1';
2
2
  export declare class CreateFilterForDestinationV1Input {
3
- 'sourceId'?: string;
3
+ 'sourceId': string;
4
4
  'if': string;
5
5
  'actions': Array<DestinationFilterActionV1>;
6
- 'title'?: string;
6
+ 'title': string;
7
7
  'description'?: string;
8
8
  'enabled': boolean;
9
9
  static discriminator: string | undefined;
@@ -1,7 +1,7 @@
1
1
  export declare class CreateSourceRegulationV1Input {
2
2
  'regulationType': CreateSourceRegulationV1Input.RegulationTypeEnum;
3
- 'subjectType'?: CreateSourceRegulationV1Input.SubjectTypeEnum;
4
- 'subjectIds'?: Array<string>;
3
+ 'subjectType': CreateSourceRegulationV1Input.SubjectTypeEnum;
4
+ 'subjectIds': Array<string>;
5
5
  static discriminator: string | undefined;
6
6
  static attributeTypeMap: Array<{
7
7
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { Schedule1 } from './schedule1';
2
2
  export declare class ReplaceAdvancedSyncScheduleForWarehouseV1Input {
3
- 'enabled'?: boolean;
3
+ 'enabled': boolean;
4
4
  'schedule'?: Schedule1;
5
5
  static discriminator: string | undefined;
6
6
  static attributeTypeMap: Array<{
@@ -1,6 +1,6 @@
1
1
  import { LabelV1 } from './labelV1';
2
2
  export declare class ReplaceLabelsInSourceV1Input {
3
- 'labels'?: Array<LabelV1>;
3
+ 'labels': Array<LabelV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { PermissionInputV1 } from './permissionInputV1';
2
2
  export declare class ReplacePermissionsForUserGroupV1Input {
3
- 'permissions'?: Array<PermissionInputV1>;
3
+ 'permissions': Array<PermissionInputV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { PermissionInputV1 } from './permissionInputV1';
2
2
  export declare class ReplacePermissionsForUserV1Input {
3
- 'permissions'?: Array<PermissionInputV1>;
3
+ 'permissions': Array<PermissionInputV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { RuleV1 } from './ruleV1';
2
2
  export declare class ReplaceRulesInTrackingPlanV1Input {
3
- 'rules'?: Array<RuleV1>;
3
+ 'rules': Array<RuleV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,5 +1,5 @@
1
1
  export declare class ReplaceUsersInUserGroupV1Input {
2
- 'emails'?: Array<string>;
2
+ 'emails': Array<string>;
3
3
  static discriminator: string | undefined;
4
4
  static attributeTypeMap: Array<{
5
5
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { UpsertRuleV1 } from './upsertRuleV1';
2
2
  export declare class UpdateRulesInTrackingPlanV1Input {
3
- 'rules'?: Array<UpsertRuleV1>;
3
+ 'rules': Array<UpsertRuleV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { WarehouseSyncOverrideV1 } from './warehouseSyncOverrideV1';
2
2
  export declare class UpdateSelectiveSyncForWarehouseV1Input {
3
- 'syncOverrides'?: Array<WarehouseSyncOverrideV1>;
3
+ 'syncOverrides': Array<WarehouseSyncOverrideV1>;
4
4
  static discriminator: string | undefined;
5
5
  static attributeTypeMap: Array<{
6
6
  name: string;
@@ -1,5 +1,5 @@
1
1
  export declare class UpdateUserGroupV1Input {
2
- 'name'?: string;
2
+ 'name': string;
3
3
  static discriminator: string | undefined;
4
4
  static attributeTypeMap: Array<{
5
5
  name: string;
@@ -1,7 +1,7 @@
1
1
  export declare class UpdateWarehouseV1Input {
2
2
  'name'?: string | null;
3
3
  'enabled'?: boolean;
4
- 'settings'?: any | null;
4
+ 'settings': any | null;
5
5
  static discriminator: string | undefined;
6
6
  static attributeTypeMap: Array<{
7
7
  name: string;
@@ -20,7 +20,7 @@ export class AddLabelsToSourceV1Input {
20
20
  /**
21
21
  * The labels to associate with a Source.
22
22
  */
23
- 'labels'?: Array<LabelV1>;
23
+ 'labels': Array<LabelV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class AddPermissionsToUserGroupV1Input {
20
20
  /**
21
21
  * The permissions to add.
22
22
  */
23
- 'permissions'?: Array<PermissionInputV1>;
23
+ 'permissions': Array<PermissionInputV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class AddPermissionsToUserV1Input {
20
20
  /**
21
21
  * The permissions to add.
22
22
  */
23
- 'permissions'?: Array<PermissionInputV1>;
23
+ 'permissions': Array<PermissionInputV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -19,7 +19,7 @@ export class AddSourceToTrackingPlanV1Input {
19
19
  /**
20
20
  * The id of the Source associated with the Tracking Plan. Config API note: analogous to `sourceName`.
21
21
  */
22
- 'sourceId'?: string;
22
+ 'sourceId': string;
23
23
 
24
24
  static discriminator: string | undefined = undefined;
25
25
 
@@ -19,7 +19,7 @@ export class AddUsersToUserGroupV1Input {
19
19
  /**
20
20
  * The email addresses of the users and invites to add.
21
21
  */
22
- 'emails'?: Array<string>;
22
+ 'emails': Array<string>;
23
23
 
24
24
  static discriminator: string | undefined = undefined;
25
25
 
@@ -23,11 +23,11 @@ export class CreateCloudSourceRegulationV1Input {
23
23
  /**
24
24
  * The subject type. Must be `objectId` for Cloud Sources.
25
25
  */
26
- 'subjectType'?: CreateCloudSourceRegulationV1Input.SubjectTypeEnum;
26
+ 'subjectType': CreateCloudSourceRegulationV1Input.SubjectTypeEnum;
27
27
  /**
28
28
  * The user or object ids of the subjects to regulate. Config API note: equal to `parent` but allows an array.
29
29
  */
30
- 'subjectIds'?: Array<string>;
30
+ 'subjectIds': Array<string>;
31
31
  /**
32
32
  * The Cloud Source collection to regulate.
33
33
  */
@@ -20,7 +20,7 @@ export class CreateFilterForDestinationV1Input {
20
20
  /**
21
21
  * The id of the Source associated with this filter.
22
22
  */
23
- 'sourceId'?: string;
23
+ 'sourceId': string;
24
24
  /**
25
25
  * The filter\'s condition.
26
26
  */
@@ -32,7 +32,7 @@ export class CreateFilterForDestinationV1Input {
32
32
  /**
33
33
  * The title of the filter.
34
34
  */
35
- 'title'?: string;
35
+ 'title': string;
36
36
  /**
37
37
  * The description of the filter.
38
38
  */
@@ -23,11 +23,11 @@ export class CreateSourceRegulationV1Input {
23
23
  /**
24
24
  * The subject type.
25
25
  */
26
- 'subjectType'?: CreateSourceRegulationV1Input.SubjectTypeEnum;
26
+ 'subjectType': CreateSourceRegulationV1Input.SubjectTypeEnum;
27
27
  /**
28
28
  * The user or object ids of the subjects to regulate. Config API note: equal to `parent` but allows an array.
29
29
  */
30
- 'subjectIds'?: Array<string>;
30
+ 'subjectIds': Array<string>;
31
31
 
32
32
  static discriminator: string | undefined = undefined;
33
33
 
@@ -20,7 +20,7 @@ export class ReplaceAdvancedSyncScheduleForWarehouseV1Input {
20
20
  /**
21
21
  * Enable to turn on an advanced sync schedule for the Warehouse.
22
22
  */
23
- 'enabled'?: boolean;
23
+ 'enabled': boolean;
24
24
  'schedule'?: Schedule1;
25
25
 
26
26
  static discriminator: string | undefined = undefined;
@@ -20,7 +20,7 @@ export class ReplaceLabelsInSourceV1Input {
20
20
  /**
21
21
  * The list of labels to replace in the Source.
22
22
  */
23
- 'labels'?: Array<LabelV1>;
23
+ 'labels': Array<LabelV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class ReplacePermissionsForUserGroupV1Input {
20
20
  /**
21
21
  * The permissions to replace with.
22
22
  */
23
- 'permissions'?: Array<PermissionInputV1>;
23
+ 'permissions': Array<PermissionInputV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class ReplacePermissionsForUserV1Input {
20
20
  /**
21
21
  * The permissions to add.
22
22
  */
23
- 'permissions'?: Array<PermissionInputV1>;
23
+ 'permissions': Array<PermissionInputV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class ReplaceRulesInTrackingPlanV1Input {
20
20
  /**
21
21
  * Rules to replace.
22
22
  */
23
- 'rules'?: Array<RuleV1>;
23
+ 'rules': Array<RuleV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -19,7 +19,7 @@ export class ReplaceUsersInUserGroupV1Input {
19
19
  /**
20
20
  * The email addresses of the users and invites to replace.
21
21
  */
22
- 'emails'?: Array<string>;
22
+ 'emails': Array<string>;
23
23
 
24
24
  static discriminator: string | undefined = undefined;
25
25
 
@@ -20,7 +20,7 @@ export class UpdateRulesInTrackingPlanV1Input {
20
20
  /**
21
21
  * Rules to update or insert.
22
22
  */
23
- 'rules'?: Array<UpsertRuleV1>;
23
+ 'rules': Array<UpsertRuleV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -20,7 +20,7 @@ export class UpdateSelectiveSyncForWarehouseV1Input {
20
20
  /**
21
21
  * A list of sync schema overrides to apply to this Warehouse.
22
22
  */
23
- 'syncOverrides'?: Array<WarehouseSyncOverrideV1>;
23
+ 'syncOverrides': Array<WarehouseSyncOverrideV1>;
24
24
 
25
25
  static discriminator: string | undefined = undefined;
26
26
 
@@ -19,7 +19,7 @@ export class UpdateUserGroupV1Input {
19
19
  /**
20
20
  * The intended value to rename the user group to.
21
21
  */
22
- 'name'?: string;
22
+ 'name': string;
23
23
 
24
24
  static discriminator: string | undefined = undefined;
25
25
 
@@ -27,7 +27,7 @@ export class UpdateWarehouseV1Input {
27
27
  /**
28
28
  * A key-value object that contains instance-specific settings for a Warehouse. Different kinds of Warehouses require different settings. The required and optional settings for a Warehouse are described in the `options` object of the associated Warehouse metadata. You can find the full list of Warehouse metadata and related settings information in the `/catalog/warehouses` endpoint.
29
29
  */
30
- 'settings'?: any | null;
30
+ 'settings': any | null;
31
31
 
32
32
  static discriminator: string | undefined = undefined;
33
33
 
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "uuid": "^8.3.2",
19
19
  "request": "^2.88.2"
20
20
  },
21
- "version": "33.0.4-b5483",
21
+ "version": "33.0.4-b5491",
22
22
  "devDependencies": {
23
23
  "@types/bluebird": "^3.5.33",
24
24
  "@types/jest": "^29",