@distilled.cloud/planetscale 0.19.0 → 0.19.1
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.
- package/lib/operations/getDeployQueue.d.ts +1 -1
- package/lib/operations/getDeployQueue.d.ts.map +1 -1
- package/lib/operations/getDeployQueue.js +7 -1
- package/lib/operations/getDeployQueue.js.map +1 -1
- package/lib/operations/getInvoiceLineItems.d.ts +1 -1
- package/lib/operations/getInvoiceLineItems.d.ts.map +1 -1
- package/lib/operations/getInvoiceLineItems.js +8 -1
- package/lib/operations/getInvoiceLineItems.js.map +1 -1
- package/lib/operations/lintBranchSchema.d.ts +1 -1
- package/lib/operations/lintBranchSchema.d.ts.map +1 -1
- package/lib/operations/lintBranchSchema.js +7 -1
- package/lib/operations/lintBranchSchema.js.map +1 -1
- package/lib/operations/listBackupPolicies.d.ts +1 -1
- package/lib/operations/listBackupPolicies.d.ts.map +1 -1
- package/lib/operations/listBackupPolicies.js +7 -1
- package/lib/operations/listBackupPolicies.js.map +1 -1
- package/lib/operations/listBackups.d.ts +1 -1
- package/lib/operations/listBackups.d.ts.map +1 -1
- package/lib/operations/listBackups.js +7 -1
- package/lib/operations/listBackups.js.map +1 -1
- package/lib/operations/listBouncerResizeRequests.d.ts +1 -1
- package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBouncerResizeRequests.js +8 -1
- package/lib/operations/listBouncerResizeRequests.js.map +1 -1
- package/lib/operations/listBouncers.d.ts +1 -1
- package/lib/operations/listBouncers.d.ts.map +1 -1
- package/lib/operations/listBouncers.js +7 -1
- package/lib/operations/listBouncers.js.map +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -1
- package/lib/operations/listBranchBouncerResizeRequests.js +7 -1
- package/lib/operations/listBranchBouncerResizeRequests.js.map +1 -1
- package/lib/operations/listBranchChangeRequests.d.ts +1 -1
- package/lib/operations/listBranchChangeRequests.d.ts.map +1 -1
- package/lib/operations/listBranchChangeRequests.js +8 -1
- package/lib/operations/listBranchChangeRequests.js.map +1 -1
- package/lib/operations/listBranches.d.ts +1 -1
- package/lib/operations/listBranches.d.ts.map +1 -1
- package/lib/operations/listBranches.js +7 -1
- package/lib/operations/listBranches.js.map +1 -1
- package/lib/operations/listDatabasePostgresCidrs.d.ts +1 -1
- package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -1
- package/lib/operations/listDatabasePostgresCidrs.js +8 -1
- package/lib/operations/listDatabasePostgresCidrs.js.map +1 -1
- package/lib/operations/listDatabaseRegions.d.ts +1 -1
- package/lib/operations/listDatabaseRegions.d.ts.map +1 -1
- package/lib/operations/listDatabaseRegions.js +8 -1
- package/lib/operations/listDatabaseRegions.js.map +1 -1
- package/lib/operations/listDatabases.d.ts +1 -1
- package/lib/operations/listDatabases.d.ts.map +1 -1
- package/lib/operations/listDatabases.js +7 -1
- package/lib/operations/listDatabases.js.map +1 -1
- package/lib/operations/listDeployOperations.d.ts +1 -1
- package/lib/operations/listDeployOperations.d.ts.map +1 -1
- package/lib/operations/listDeployOperations.js +8 -1
- package/lib/operations/listDeployOperations.js.map +1 -1
- package/lib/operations/listDeployRequestReviews.d.ts +1 -1
- package/lib/operations/listDeployRequestReviews.d.ts.map +1 -1
- package/lib/operations/listDeployRequestReviews.js +8 -1
- package/lib/operations/listDeployRequestReviews.js.map +1 -1
- package/lib/operations/listDeployRequests.d.ts +1 -1
- package/lib/operations/listDeployRequests.d.ts.map +1 -1
- package/lib/operations/listDeployRequests.js +7 -1
- package/lib/operations/listDeployRequests.js.map +1 -1
- package/lib/operations/listInvoices.d.ts +1 -1
- package/lib/operations/listInvoices.d.ts.map +1 -1
- package/lib/operations/listInvoices.js +7 -1
- package/lib/operations/listInvoices.js.map +1 -1
- package/lib/operations/listKeyspaces.d.ts +1 -1
- package/lib/operations/listKeyspaces.d.ts.map +1 -1
- package/lib/operations/listKeyspaces.js +7 -1
- package/lib/operations/listKeyspaces.js.map +1 -1
- package/lib/operations/listMaintenanceSchedules.d.ts +1 -1
- package/lib/operations/listMaintenanceSchedules.d.ts.map +1 -1
- package/lib/operations/listMaintenanceSchedules.js +8 -1
- package/lib/operations/listMaintenanceSchedules.js.map +1 -1
- package/lib/operations/listMaintenanceWindows.d.ts +1 -1
- package/lib/operations/listMaintenanceWindows.d.ts.map +1 -1
- package/lib/operations/listMaintenanceWindows.js +8 -1
- package/lib/operations/listMaintenanceWindows.js.map +1 -1
- package/lib/operations/listOauthApplications.d.ts +1 -1
- package/lib/operations/listOauthApplications.d.ts.map +1 -1
- package/lib/operations/listOauthApplications.js +8 -1
- package/lib/operations/listOauthApplications.js.map +1 -1
- package/lib/operations/listOauthTokens.d.ts +1 -1
- package/lib/operations/listOauthTokens.d.ts.map +1 -1
- package/lib/operations/listOauthTokens.js +7 -1
- package/lib/operations/listOauthTokens.js.map +1 -1
- package/lib/operations/listOrganizationMembers.d.ts +1 -1
- package/lib/operations/listOrganizationMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationMembers.js +8 -1
- package/lib/operations/listOrganizationMembers.js.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts +1 -1
- package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeamMembers.js +8 -1
- package/lib/operations/listOrganizationTeamMembers.js.map +1 -1
- package/lib/operations/listOrganizationTeams.d.ts +1 -1
- package/lib/operations/listOrganizationTeams.d.ts.map +1 -1
- package/lib/operations/listOrganizationTeams.js +8 -1
- package/lib/operations/listOrganizationTeams.js.map +1 -1
- package/lib/operations/listOrganizations.d.ts +1 -1
- package/lib/operations/listOrganizations.d.ts.map +1 -1
- package/lib/operations/listOrganizations.js +7 -1
- package/lib/operations/listOrganizations.js.map +1 -1
- package/lib/operations/listPasswords.d.ts +1 -1
- package/lib/operations/listPasswords.d.ts.map +1 -1
- package/lib/operations/listPasswords.js +7 -1
- package/lib/operations/listPasswords.js.map +1 -1
- package/lib/operations/listPublicRegions.d.ts +1 -1
- package/lib/operations/listPublicRegions.d.ts.map +1 -1
- package/lib/operations/listPublicRegions.js +7 -1
- package/lib/operations/listPublicRegions.js.map +1 -1
- package/lib/operations/listReadOnlyRegions.d.ts +1 -1
- package/lib/operations/listReadOnlyRegions.d.ts.map +1 -1
- package/lib/operations/listReadOnlyRegions.js +8 -1
- package/lib/operations/listReadOnlyRegions.js.map +1 -1
- package/lib/operations/listRegionsForOrganization.d.ts +1 -1
- package/lib/operations/listRegionsForOrganization.d.ts.map +1 -1
- package/lib/operations/listRegionsForOrganization.js +8 -1
- package/lib/operations/listRegionsForOrganization.js.map +1 -1
- package/lib/operations/listRoles.d.ts +1 -1
- package/lib/operations/listRoles.d.ts.map +1 -1
- package/lib/operations/listRoles.js +7 -1
- package/lib/operations/listRoles.js.map +1 -1
- package/lib/operations/listSchemaRecommendations.d.ts +1 -1
- package/lib/operations/listSchemaRecommendations.d.ts.map +1 -1
- package/lib/operations/listSchemaRecommendations.js +8 -1
- package/lib/operations/listSchemaRecommendations.js.map +1 -1
- package/lib/operations/listServiceTokens.d.ts +1 -1
- package/lib/operations/listServiceTokens.d.ts.map +1 -1
- package/lib/operations/listServiceTokens.js +7 -1
- package/lib/operations/listServiceTokens.js.map +1 -1
- package/lib/operations/listTrafficBudgets.d.ts +1 -1
- package/lib/operations/listTrafficBudgets.d.ts.map +1 -1
- package/lib/operations/listTrafficBudgets.js +7 -1
- package/lib/operations/listTrafficBudgets.js.map +1 -1
- package/lib/operations/listWebhooks.d.ts +1 -1
- package/lib/operations/listWebhooks.d.ts.map +1 -1
- package/lib/operations/listWebhooks.js +7 -1
- package/lib/operations/listWebhooks.js.map +1 -1
- package/lib/operations/listWorkflows.d.ts +1 -1
- package/lib/operations/listWorkflows.d.ts.map +1 -1
- package/lib/operations/listWorkflows.js +7 -1
- package/lib/operations/listWorkflows.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/getDeployQueue.ts +13 -5
- package/src/operations/getInvoiceLineItems.ts +12 -5
- package/src/operations/lintBranchSchema.ts +13 -5
- package/src/operations/listBackupPolicies.ts +13 -5
- package/src/operations/listBackups.ts +13 -5
- package/src/operations/listBouncerResizeRequests.ts +9 -4
- package/src/operations/listBouncers.ts +13 -5
- package/src/operations/listBranchBouncerResizeRequests.ts +7 -1
- package/src/operations/listBranchChangeRequests.ts +9 -4
- package/src/operations/listBranches.ts +13 -5
- package/src/operations/listDatabasePostgresCidrs.ts +9 -4
- package/src/operations/listDatabaseRegions.ts +12 -5
- package/src/operations/listDatabases.ts +13 -5
- package/src/operations/listDeployOperations.ts +9 -4
- package/src/operations/listDeployRequestReviews.ts +9 -4
- package/src/operations/listDeployRequests.ts +13 -5
- package/src/operations/listInvoices.ts +13 -5
- package/src/operations/listKeyspaces.ts +13 -5
- package/src/operations/listMaintenanceSchedules.ts +9 -4
- package/src/operations/listMaintenanceWindows.ts +9 -4
- package/src/operations/listOauthApplications.ts +9 -4
- package/src/operations/listOauthTokens.ts +13 -5
- package/src/operations/listOrganizationMembers.ts +9 -4
- package/src/operations/listOrganizationTeamMembers.ts +9 -4
- package/src/operations/listOrganizationTeams.ts +9 -4
- package/src/operations/listOrganizations.ts +13 -5
- package/src/operations/listPasswords.ts +13 -5
- package/src/operations/listPublicRegions.ts +13 -5
- package/src/operations/listReadOnlyRegions.ts +12 -5
- package/src/operations/listRegionsForOrganization.ts +9 -4
- package/src/operations/listRoles.ts +7 -1
- package/src/operations/listSchemaRecommendations.ts +9 -4
- package/src/operations/listServiceTokens.ts +13 -5
- package/src/operations/listTrafficBudgets.ts +13 -5
- package/src/operations/listWebhooks.ts +13 -5
- package/src/operations/listWorkflows.ts +13 -5
|
@@ -68,10 +68,15 @@ export type ListOrganizationMembersOutput =
|
|
|
68
68
|
* @param page - If provided, specifies the page offset of returned results
|
|
69
69
|
* @param per_page - If provided, specifies the number of returned results
|
|
70
70
|
*/
|
|
71
|
-
export const listOrganizationMembers =
|
|
72
|
-
() => ({
|
|
71
|
+
export const listOrganizationMembers =
|
|
72
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
73
73
|
inputSchema: ListOrganizationMembersInput,
|
|
74
74
|
outputSchema: ListOrganizationMembersOutput,
|
|
75
75
|
errors: [Forbidden, NotFound] as const,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
pagination: {
|
|
77
|
+
mode: "page",
|
|
78
|
+
inputToken: "page",
|
|
79
|
+
outputToken: "next_page",
|
|
80
|
+
items: "data",
|
|
81
|
+
},
|
|
82
|
+
}));
|
|
@@ -124,10 +124,15 @@ export type ListOrganizationTeamMembersOutput =
|
|
|
124
124
|
* @param page - If provided, specifies the page offset of returned results
|
|
125
125
|
* @param per_page - If provided, specifies the number of returned results
|
|
126
126
|
*/
|
|
127
|
-
export const listOrganizationTeamMembers =
|
|
128
|
-
() => ({
|
|
127
|
+
export const listOrganizationTeamMembers =
|
|
128
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
129
129
|
inputSchema: ListOrganizationTeamMembersInput,
|
|
130
130
|
outputSchema: ListOrganizationTeamMembersOutput,
|
|
131
131
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
pagination: {
|
|
133
|
+
mode: "page",
|
|
134
|
+
inputToken: "page",
|
|
135
|
+
outputToken: "next_page",
|
|
136
|
+
items: "data",
|
|
137
|
+
},
|
|
138
|
+
}));
|
|
@@ -89,10 +89,15 @@ export type ListOrganizationTeamsOutput =
|
|
|
89
89
|
* @param page - If provided, specifies the page offset of returned results
|
|
90
90
|
* @param per_page - If provided, specifies the number of returned results
|
|
91
91
|
*/
|
|
92
|
-
export const listOrganizationTeams =
|
|
93
|
-
() => ({
|
|
92
|
+
export const listOrganizationTeams =
|
|
93
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
94
94
|
inputSchema: ListOrganizationTeamsInput,
|
|
95
95
|
outputSchema: ListOrganizationTeamsOutput,
|
|
96
96
|
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity] as const,
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
pagination: {
|
|
98
|
+
mode: "page",
|
|
99
|
+
inputToken: "page",
|
|
100
|
+
outputToken: "next_page",
|
|
101
|
+
items: "data",
|
|
102
|
+
},
|
|
103
|
+
}));
|
|
@@ -56,8 +56,16 @@ export type ListOrganizationsOutput = typeof ListOrganizationsOutput.Type;
|
|
|
56
56
|
* @param page - If provided, specifies the page offset of returned results
|
|
57
57
|
* @param per_page - If provided, specifies the number of returned results
|
|
58
58
|
*/
|
|
59
|
-
export const listOrganizations = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
export const listOrganizations = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
60
|
+
() => ({
|
|
61
|
+
inputSchema: ListOrganizationsInput,
|
|
62
|
+
outputSchema: ListOrganizationsOutput,
|
|
63
|
+
errors: [Forbidden, NotFound] as const,
|
|
64
|
+
pagination: {
|
|
65
|
+
mode: "page",
|
|
66
|
+
inputToken: "page",
|
|
67
|
+
outputToken: "next_page",
|
|
68
|
+
items: "data",
|
|
69
|
+
},
|
|
70
|
+
}),
|
|
71
|
+
);
|
|
@@ -86,8 +86,16 @@ export type ListPasswordsOutput = typeof ListPasswordsOutput.Type;
|
|
|
86
86
|
* @param page - If provided, specifies the page offset of returned results
|
|
87
87
|
* @param per_page - If provided, specifies the number of returned results
|
|
88
88
|
*/
|
|
89
|
-
export const listPasswords = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
export const listPasswords = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
90
|
+
() => ({
|
|
91
|
+
inputSchema: ListPasswordsInput,
|
|
92
|
+
outputSchema: ListPasswordsOutput,
|
|
93
|
+
errors: [Forbidden, NotFound] as const,
|
|
94
|
+
pagination: {
|
|
95
|
+
mode: "page",
|
|
96
|
+
inputToken: "page",
|
|
97
|
+
outputToken: "next_page",
|
|
98
|
+
items: "data",
|
|
99
|
+
},
|
|
100
|
+
}),
|
|
101
|
+
);
|
|
@@ -43,8 +43,16 @@ export type ListPublicRegionsOutput = typeof ListPublicRegionsOutput.Type;
|
|
|
43
43
|
* @param page - If provided, specifies the page offset of returned results
|
|
44
44
|
* @param per_page - If provided, specifies the number of returned results
|
|
45
45
|
*/
|
|
46
|
-
export const listPublicRegions = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
export const listPublicRegions = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
47
|
+
() => ({
|
|
48
|
+
inputSchema: ListPublicRegionsInput,
|
|
49
|
+
outputSchema: ListPublicRegionsOutput,
|
|
50
|
+
errors: [Forbidden, NotFound] as const,
|
|
51
|
+
pagination: {
|
|
52
|
+
mode: "page",
|
|
53
|
+
inputToken: "page",
|
|
54
|
+
outputToken: "next_page",
|
|
55
|
+
items: "data",
|
|
56
|
+
},
|
|
57
|
+
}),
|
|
58
|
+
);
|
|
@@ -65,8 +65,15 @@ export type ListReadOnlyRegionsOutput = typeof ListReadOnlyRegionsOutput.Type;
|
|
|
65
65
|
* @param page - If provided, specifies the page offset of returned results
|
|
66
66
|
* @param per_page - If provided, specifies the number of returned results
|
|
67
67
|
*/
|
|
68
|
-
export const listReadOnlyRegions =
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
export const listReadOnlyRegions =
|
|
69
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
70
|
+
inputSchema: ListReadOnlyRegionsInput,
|
|
71
|
+
outputSchema: ListReadOnlyRegionsOutput,
|
|
72
|
+
errors: [Forbidden, NotFound] as const,
|
|
73
|
+
pagination: {
|
|
74
|
+
mode: "page",
|
|
75
|
+
inputToken: "page",
|
|
76
|
+
outputToken: "next_page",
|
|
77
|
+
items: "data",
|
|
78
|
+
},
|
|
79
|
+
}));
|
|
@@ -47,10 +47,15 @@ export type ListRegionsForOrganizationOutput =
|
|
|
47
47
|
* @param page - If provided, specifies the page offset of returned results
|
|
48
48
|
* @param per_page - If provided, specifies the number of returned results
|
|
49
49
|
*/
|
|
50
|
-
export const listRegionsForOrganization =
|
|
51
|
-
() => ({
|
|
50
|
+
export const listRegionsForOrganization =
|
|
51
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
52
52
|
inputSchema: ListRegionsForOrganizationInput,
|
|
53
53
|
outputSchema: ListRegionsForOrganizationOutput,
|
|
54
54
|
errors: [Forbidden, NotFound] as const,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
pagination: {
|
|
56
|
+
mode: "page",
|
|
57
|
+
inputToken: "page",
|
|
58
|
+
outputToken: "next_page",
|
|
59
|
+
items: "data",
|
|
60
|
+
},
|
|
61
|
+
}));
|
|
@@ -94,8 +94,14 @@ export type ListRolesOutput = typeof ListRolesOutput.Type;
|
|
|
94
94
|
* @param page - If provided, specifies the page offset of returned results
|
|
95
95
|
* @param per_page - If provided, specifies the number of returned results
|
|
96
96
|
*/
|
|
97
|
-
export const listRoles = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
97
|
+
export const listRoles = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
98
98
|
inputSchema: ListRolesInput,
|
|
99
99
|
outputSchema: ListRolesOutput,
|
|
100
100
|
errors: [Forbidden, NotFound] as const,
|
|
101
|
+
pagination: {
|
|
102
|
+
mode: "page",
|
|
103
|
+
inputToken: "page",
|
|
104
|
+
outputToken: "next_page",
|
|
105
|
+
items: "data",
|
|
106
|
+
},
|
|
101
107
|
}));
|
|
@@ -79,10 +79,15 @@ export type ListSchemaRecommendationsOutput =
|
|
|
79
79
|
* @param page - If provided, specifies the page offset of returned results
|
|
80
80
|
* @param per_page - If provided, specifies the number of returned results
|
|
81
81
|
*/
|
|
82
|
-
export const listSchemaRecommendations =
|
|
83
|
-
() => ({
|
|
82
|
+
export const listSchemaRecommendations =
|
|
83
|
+
/*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
|
|
84
84
|
inputSchema: ListSchemaRecommendationsInput,
|
|
85
85
|
outputSchema: ListSchemaRecommendationsOutput,
|
|
86
86
|
errors: [Forbidden, NotFound] as const,
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
pagination: {
|
|
88
|
+
mode: "page",
|
|
89
|
+
inputToken: "page",
|
|
90
|
+
outputToken: "next_page",
|
|
91
|
+
items: "data",
|
|
92
|
+
},
|
|
93
|
+
}));
|
|
@@ -142,8 +142,16 @@ export type ListServiceTokensOutput = typeof ListServiceTokensOutput.Type;
|
|
|
142
142
|
* @param page - If provided, specifies the page offset of returned results
|
|
143
143
|
* @param per_page - If provided, specifies the number of returned results
|
|
144
144
|
*/
|
|
145
|
-
export const listServiceTokens = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
export const listServiceTokens = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
146
|
+
() => ({
|
|
147
|
+
inputSchema: ListServiceTokensInput,
|
|
148
|
+
outputSchema: ListServiceTokensOutput,
|
|
149
|
+
errors: [Forbidden, NotFound] as const,
|
|
150
|
+
pagination: {
|
|
151
|
+
mode: "page",
|
|
152
|
+
inputToken: "page",
|
|
153
|
+
outputToken: "next_page",
|
|
154
|
+
items: "data",
|
|
155
|
+
},
|
|
156
|
+
}),
|
|
157
|
+
);
|
|
@@ -89,8 +89,16 @@ export type ListTrafficBudgetsOutput = typeof ListTrafficBudgetsOutput.Type;
|
|
|
89
89
|
* @param created_at - Filter by creation date range (format: 'start..end')
|
|
90
90
|
* @param fingerprint - Filter budgets by query fingerprint
|
|
91
91
|
*/
|
|
92
|
-
export const listTrafficBudgets = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
export const listTrafficBudgets = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
93
|
+
() => ({
|
|
94
|
+
inputSchema: ListTrafficBudgetsInput,
|
|
95
|
+
outputSchema: ListTrafficBudgetsOutput,
|
|
96
|
+
errors: [Forbidden, NotFound] as const,
|
|
97
|
+
pagination: {
|
|
98
|
+
mode: "page",
|
|
99
|
+
inputToken: "page",
|
|
100
|
+
outputToken: "next_page",
|
|
101
|
+
items: "data",
|
|
102
|
+
},
|
|
103
|
+
}),
|
|
104
|
+
);
|
|
@@ -75,8 +75,16 @@ export type ListWebhooksOutput = typeof ListWebhooksOutput.Type;
|
|
|
75
75
|
* @param page - If provided, specifies the page offset of returned results
|
|
76
76
|
* @param per_page - If provided, specifies the number of returned results
|
|
77
77
|
*/
|
|
78
|
-
export const listWebhooks = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
export const listWebhooks = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
79
|
+
() => ({
|
|
80
|
+
inputSchema: ListWebhooksInput,
|
|
81
|
+
outputSchema: ListWebhooksOutput,
|
|
82
|
+
errors: [Forbidden, NotFound] as const,
|
|
83
|
+
pagination: {
|
|
84
|
+
mode: "page",
|
|
85
|
+
inputToken: "page",
|
|
86
|
+
outputToken: "next_page",
|
|
87
|
+
items: "data",
|
|
88
|
+
},
|
|
89
|
+
}),
|
|
90
|
+
);
|
|
@@ -167,8 +167,16 @@ export type ListWorkflowsOutput = typeof ListWorkflowsOutput.Type;
|
|
|
167
167
|
* @param page - If provided, specifies the page offset of returned results
|
|
168
168
|
* @param per_page - If provided, specifies the number of returned results
|
|
169
169
|
*/
|
|
170
|
-
export const listWorkflows = /*@__PURE__*/ /*#__PURE__*/ API.
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
export const listWorkflows = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(
|
|
171
|
+
() => ({
|
|
172
|
+
inputSchema: ListWorkflowsInput,
|
|
173
|
+
outputSchema: ListWorkflowsOutput,
|
|
174
|
+
errors: [Forbidden, NotFound] as const,
|
|
175
|
+
pagination: {
|
|
176
|
+
mode: "page",
|
|
177
|
+
inputToken: "page",
|
|
178
|
+
outputToken: "next_page",
|
|
179
|
+
items: "data",
|
|
180
|
+
},
|
|
181
|
+
}),
|
|
182
|
+
);
|