Kaynağa Gözat

chore: Updated generated types etc

Michael Bromley 5 yıl önce
ebeveyn
işleme
e5847cfee3

+ 11 - 3
packages/admin-ui/src/lib/core/src/common/generated-types.ts

@@ -583,7 +583,7 @@ export type CreateZoneInput = {
 /**
  * @description
  * ISO 4217 currency code
- * 
+ *
  * @docsCategory common
  */
 export enum CurrencyCode {
@@ -1334,7 +1334,7 @@ export enum JobState {
 /**
  * @description
  * ISO 639-1 language code
- * 
+ *
  * @docsCategory common
  */
 export enum LanguageCode {
@@ -1836,6 +1836,8 @@ export type Mutation = {
   removeOptionGroupFromProduct: Product;
   /** Removes Products from the specified Channel */
   removeProductsFromChannel: Array<Product>;
+  /** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */
+  removeSettledJobs: Scalars['Int'];
   requestCompleted: Scalars['Int'];
   requestStarted: Scalars['Int'];
   setActiveChannel: UserStatus;
@@ -2164,6 +2166,12 @@ export type MutationRemoveProductsFromChannelArgs = {
 };
 
 
+export type MutationRemoveSettledJobsArgs = {
+  queueNames?: Maybe<Array<Scalars['String']>>;
+  olderThan?: Maybe<Scalars['DateTime']>;
+};
+
+
 export type MutationSetActiveChannelArgs = {
   channelId: Scalars['ID'];
 };
@@ -2518,7 +2526,7 @@ export type PaymentMethodSortParameter = {
  * @description
  * Permissions for administrators and customers. Used to control access to
  * GraphQL resolvers via the {@link Allow} decorator.
- * 
+ *
  * @docsCategory common
  */
 export enum Permission {

+ 7 - 0
packages/asset-server-plugin/e2e/graphql/generated-e2e-asset-server-plugin-types.ts

@@ -1801,6 +1801,8 @@ export type Mutation = {
     deleteFacetValues: Array<DeletionResponse>;
     updateGlobalSettings: GlobalSettings;
     importProducts?: Maybe<ImportInfo>;
+    /** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */
+    removeSettledJobs: Scalars['Int'];
     settlePayment: Payment;
     fulfillOrder: Fulfillment;
     cancelOrder: Order;
@@ -2027,6 +2029,11 @@ export type MutationImportProductsArgs = {
     csvFile: Scalars['Upload'];
 };
 
+export type MutationRemoveSettledJobsArgs = {
+    queueNames?: Maybe<Array<Scalars['String']>>;
+    olderThan?: Maybe<Scalars['DateTime']>;
+};
+
 export type MutationSettlePaymentArgs = {
     id: Scalars['ID'];
 };

+ 0 - 0
packages/dev-server/rest-plugin.ts → packages/dev-server/test-plugins/rest-plugin.ts


+ 7 - 0
packages/elasticsearch-plugin/e2e/graphql/generated-e2e-elasticsearch-plugin-types.ts

@@ -1801,6 +1801,8 @@ export type Mutation = {
     deleteFacetValues: Array<DeletionResponse>;
     updateGlobalSettings: GlobalSettings;
     importProducts?: Maybe<ImportInfo>;
+    /** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */
+    removeSettledJobs: Scalars['Int'];
     settlePayment: Payment;
     fulfillOrder: Fulfillment;
     cancelOrder: Order;
@@ -2027,6 +2029,11 @@ export type MutationImportProductsArgs = {
     csvFile: Scalars['Upload'];
 };
 
+export type MutationRemoveSettledJobsArgs = {
+    queueNames?: Maybe<Array<Scalars['String']>>;
+    olderThan?: Maybe<Scalars['DateTime']>;
+};
+
 export type MutationSettlePaymentArgs = {
     id: Scalars['ID'];
 };