Skip to content

Commit 7d0cc85

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@6f0b0196.
1 parent 9143e60 commit 7d0cc85

File tree

708 files changed

+1110
-719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

708 files changed

+1110
-719
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
1010

1111
See the next sections for more information on how to use the Segment Public API TypeScript SDK.
1212

13-
Latest API and SDK version: 59.5.0
13+
Latest API and SDK version: 59.6.0
1414

1515
## Installation
1616

api/aPICallsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/activationsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/apis.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function configureApis(
171171

172172
for (const k of Object.keys(apis)) {
173173
const key = k as keyof typeof apis;
174-
headers['User-Agent'] = 'Public API SDK 59.5.0 (TypeScript)';
174+
headers['User-Agent'] = 'Public API SDK 59.6.0 (TypeScript)';
175175
apis[key].accessToken = token;
176176
apis[key].defaultHeaders = headers;
177177
}
@@ -218,7 +218,7 @@ export function configureEuApis(
218218

219219
for (const k of Object.keys(apis)) {
220220
const key = k as keyof typeof apis;
221-
headers['User-Agent'] = 'Public API SDK 59.5.0 (TypeScript)';
221+
headers['User-Agent'] = 'Public API SDK 59.6.0 (TypeScript)';
222222
apis[key].accessToken = token;
223223
apis[key].defaultHeaders = headers;
224224
}

api/audiencesApi.ts

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -41,7 +41,9 @@ import { RemoveAudienceFromSpace200Response } from '../model/removeAudienceFromS
4141
import { RemoveAudienceFromSpace200Response1 } from '../model/removeAudienceFromSpace200Response1';
4242
import { RequestErrorEnvelope } from '../model/requestErrorEnvelope';
4343
import { UpdateAudienceForSpace200Response } from '../model/updateAudienceForSpace200Response';
44+
import { UpdateAudienceForSpace200Response1 } from '../model/updateAudienceForSpace200Response1';
4445
import { UpdateAudienceForSpaceAlphaInput } from '../model/updateAudienceForSpaceAlphaInput';
46+
import { UpdateAudienceForSpaceBetaInput } from '../model/updateAudienceForSpaceBetaInput';
4547
import { UpdateAudienceScheduleForAudience200Response } from '../model/updateAudienceScheduleForAudience200Response';
4648
import { UpdateAudienceScheduleForAudienceAlphaInput } from '../model/updateAudienceScheduleForAudienceAlphaInput';
4749

@@ -1515,12 +1517,12 @@ export class AudiencesApi {
15151517
* @summary Update Audience for Space
15161518
* @param spaceId
15171519
* @param id
1518-
* @param UpdateAudienceForSpaceAlphaInput
1520+
* @param UpdateAudienceForSpaceBetaInput
15191521
*/
15201522
public async updateAudienceForSpace(
15211523
spaceId: string,
15221524
id: string,
1523-
UpdateAudienceForSpaceAlphaInput: UpdateAudienceForSpaceAlphaInput,
1525+
UpdateAudienceForSpaceBetaInput: UpdateAudienceForSpaceBetaInput,
15241526
options: { headers: { [name: string]: string } } = { headers: {} }
15251527
): Promise<{
15261528
response: http.IncomingMessage;
@@ -1540,6 +1542,7 @@ export class AudiencesApi {
15401542
this._defaultHeaders
15411543
);
15421544
const produces = [
1545+
'application/vnd.segment.v1beta+json',
15431546
'application/vnd.segment.v1alpha+json',
15441547
'application/json',
15451548
];
@@ -1565,13 +1568,13 @@ export class AudiencesApi {
15651568
);
15661569
}
15671570

1568-
// verify required parameter 'UpdateAudienceForSpaceAlphaInput' is not null or undefined
1571+
// verify required parameter 'UpdateAudienceForSpaceBetaInput' is not null or undefined
15691572
if (
1570-
UpdateAudienceForSpaceAlphaInput === null ||
1571-
UpdateAudienceForSpaceAlphaInput === undefined
1573+
UpdateAudienceForSpaceBetaInput === null ||
1574+
UpdateAudienceForSpaceBetaInput === undefined
15721575
) {
15731576
throw new Error(
1574-
'Required parameter UpdateAudienceForSpaceAlphaInput was null or undefined when calling updateAudienceForSpace.'
1577+
'Required parameter UpdateAudienceForSpaceBetaInput was null or undefined when calling updateAudienceForSpace.'
15751578
);
15761579
}
15771580

@@ -1587,8 +1590,8 @@ export class AudiencesApi {
15871590
useQuerystring: this._useQuerystring,
15881591
json: true,
15891592
body: ObjectSerializer.serialize(
1590-
UpdateAudienceForSpaceAlphaInput,
1591-
'UpdateAudienceForSpaceAlphaInput'
1593+
UpdateAudienceForSpaceBetaInput,
1594+
'UpdateAudienceForSpaceBetaInput'
15921595
),
15931596
};
15941597

api/auditTrailApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/catalogApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/computedTraitsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/customerInsightsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

api/dbtApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Segment Public API
33
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
44
*
5-
* The version of the OpenAPI document: 59.5.0
5+
* The version of the OpenAPI document: 59.6.0
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)