Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to to API Version 3.5 #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Alec2435
Copy link

@Alec2435 Alec2435 commented Sep 5, 2024

  • Change file naming to be version agnostic
  • Update OpenAPI Spec to 3.5
  • Generate new library with latest spec

@isaced
Copy link
Owner

isaced commented Sep 8, 2024

npm run test

> appstore-connect-sdk@1.1.0 test
> jest

 FAIL  test/events.test.ts
  ● Test suite failed to run

    src/openapi/apis/index.ts:121:1 - error TS2308: Module './AppsApi' has already exported a member named 'AppsBetaTesterUsagesGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './AppsApi' has already exported a member named 'AppsBetaTesterUsagesGetMetricsPeriodEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './AppsApi' has already exported a member named 'AppsBetaTesterUsagesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BetaGroupsApi' has already exported a member named 'BetaGroupsBetaTesterUsagesGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BetaGroupsApi' has already exported a member named 'BetaGroupsBetaTesterUsagesGetMetricsPeriodEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BetaGroupsApi' has already exported a member named 'BetaGroupsBetaTesterUsagesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BetaTestersApi' has already exported a member named 'BetaTestersBetaTesterUsagesGetMetricsPeriodEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BetaTestersApi' has already exported a member named 'BetaTestersBetaTesterUsagesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './BuildsApi' has already exported a member named 'BuildsBetaBuildUsagesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsClassicMatchmakingRequestsGetMetricsFilterResultEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsClassicMatchmakingRequestsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsClassicMatchmakingRequestsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsClassicMatchmakingRequestsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsClassicMatchmakingRequestsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsFilterResultEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterDetailsApi' has already exported a member named 'GameCenterDetailsRuleBasedMatchmakingRequestsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingQueueSizesGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsFilterResultEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesExperimentMatchmakingRequestsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingQueueSizesGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsFilterResultEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingRequestsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingQueuesApi' has already exported a member named 'GameCenterMatchmakingQueuesMatchmakingSessionsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingBooleanRuleResultsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingNumberRuleResultsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGranularityEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsGroupByEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsRequest'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/openapi/apis/index.ts:121:1 - error TS2308: Module './GameCenterMatchmakingRulesApi' has already exported a member named 'GameCenterMatchmakingRulesMatchmakingRuleErrorsGetMetricsSortEnum'. Consider explicitly re-exporting to resolve the ambiguity.

    121 export * from './MetricsApi';
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.594 s
Ran all test suites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants