Initial project import
This commit is contained in:
99
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts
generated
vendored
Normal file
99
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts
generated
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
import { StripeResource } from '../../../../StripeResource.js';
|
||||
import { ProductCatalogImport } from './../../../V2/Commerce/ProductCatalogImports.js';
|
||||
import { MetadataParam } from '../../../../shared.js';
|
||||
import { RequestOptions, V2ListPromise, Response } from '../../../../lib.js';
|
||||
export declare class ImportResource extends StripeResource {
|
||||
/**
|
||||
* Returns a list of ProductCatalogImport objects.
|
||||
*/
|
||||
list(params?: V2.Commerce.ProductCatalog.ImportListParams, options?: RequestOptions): V2ListPromise<ProductCatalogImport>;
|
||||
/**
|
||||
* Creates a ProductCatalogImport.
|
||||
*/
|
||||
create(params: V2.Commerce.ProductCatalog.ImportCreateParams, options?: RequestOptions): Promise<Response<ProductCatalogImport>>;
|
||||
/**
|
||||
* Retrieves a ProductCatalogImport by ID.
|
||||
*/
|
||||
retrieve(id: string, params?: V2.Commerce.ProductCatalog.ImportRetrieveParams, options?: RequestOptions): Promise<Response<ProductCatalogImport>>;
|
||||
}
|
||||
export declare namespace V2 {
|
||||
namespace Commerce {
|
||||
namespace ProductCatalog {
|
||||
interface ImportCreateParams {
|
||||
/**
|
||||
* The type of catalog data to import.
|
||||
*/
|
||||
feed_type: ImportCreateParams.FeedType;
|
||||
/**
|
||||
* Additional information about the import in a structured format.
|
||||
*/
|
||||
metadata: MetadataParam;
|
||||
/**
|
||||
* The strategy for handling existing catalog data during import.
|
||||
*/
|
||||
mode: ImportCreateParams.Mode;
|
||||
}
|
||||
namespace ImportCreateParams {
|
||||
type FeedType = 'inventory' | 'pricing' | 'product';
|
||||
type Mode = 'replace' | 'upsert';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
export declare namespace V2 {
|
||||
namespace Commerce {
|
||||
namespace ProductCatalog {
|
||||
interface ImportRetrieveParams {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
export declare namespace V2 {
|
||||
namespace Commerce {
|
||||
namespace ProductCatalog {
|
||||
interface ImportListParams {
|
||||
/**
|
||||
* Filter for objects created at the specified timestamp.
|
||||
* Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||
*/
|
||||
created?: string;
|
||||
/**
|
||||
* Filter for objects created after the specified timestamp.
|
||||
* Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||
*/
|
||||
created_gt?: string;
|
||||
/**
|
||||
* Filter for objects created on or after the specified timestamp.
|
||||
* Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||
*/
|
||||
created_gte?: string;
|
||||
/**
|
||||
* Filter for objects created before the specified timestamp.
|
||||
* Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||
*/
|
||||
created_lt?: string;
|
||||
/**
|
||||
* Filter for objects created on or before the specified timestamp.
|
||||
* Must be an RFC 3339 date & time value, for example: 2022-09-18T13:22:00Z.
|
||||
*/
|
||||
created_lte?: string;
|
||||
/**
|
||||
* Filter by the type of feed data being imported.
|
||||
*/
|
||||
feed_type?: ImportListParams.FeedType;
|
||||
/**
|
||||
* The maximum number of results per page.
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Filter by import status.
|
||||
*/
|
||||
status?: ImportListParams.Status;
|
||||
}
|
||||
namespace ImportListParams {
|
||||
type FeedType = 'inventory' | 'pricing' | 'product';
|
||||
type Status = 'awaiting_upload' | 'failed' | 'processing' | 'succeeded' | 'succeeded_with_errors';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
152
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.js
generated
vendored
Normal file
152
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.js
generated
vendored
Normal file
@@ -0,0 +1,152 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../../../../StripeResource.js';
|
||||
export class ImportResource extends StripeResource {
|
||||
/**
|
||||
* Returns a list of ProductCatalogImport objects.
|
||||
*/
|
||||
list(params, options) {
|
||||
return this._makeRequest('GET', '/v2/commerce/product_catalog/imports', params, options, {
|
||||
methodType: 'list',
|
||||
responseSchema: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
data: {
|
||||
kind: 'array',
|
||||
element: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
status_details: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
processing: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
succeeded: {
|
||||
kind: 'object',
|
||||
fields: { success_count: { kind: 'int64_string' } },
|
||||
},
|
||||
succeeded_with_errors: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
error_file: {
|
||||
kind: 'object',
|
||||
fields: { size: { kind: 'int64_string' } },
|
||||
},
|
||||
samples: {
|
||||
kind: 'array',
|
||||
element: {
|
||||
kind: 'object',
|
||||
fields: { row: { kind: 'int64_string' } },
|
||||
},
|
||||
},
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Creates a ProductCatalogImport.
|
||||
*/
|
||||
create(params, options) {
|
||||
return this._makeRequest('POST', '/v2/commerce/product_catalog/imports', params, options, {
|
||||
responseSchema: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
status_details: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
processing: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
succeeded: {
|
||||
kind: 'object',
|
||||
fields: { success_count: { kind: 'int64_string' } },
|
||||
},
|
||||
succeeded_with_errors: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
error_file: {
|
||||
kind: 'object',
|
||||
fields: { size: { kind: 'int64_string' } },
|
||||
},
|
||||
samples: {
|
||||
kind: 'array',
|
||||
element: {
|
||||
kind: 'object',
|
||||
fields: { row: { kind: 'int64_string' } },
|
||||
},
|
||||
},
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Retrieves a ProductCatalogImport by ID.
|
||||
*/
|
||||
retrieve(id, params, options) {
|
||||
return this._makeRequest('GET', `/v2/commerce/product_catalog/imports/${encodeURIComponent(id)}`, params, options, {
|
||||
responseSchema: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
status_details: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
processing: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
succeeded: {
|
||||
kind: 'object',
|
||||
fields: { success_count: { kind: 'int64_string' } },
|
||||
},
|
||||
succeeded_with_errors: {
|
||||
kind: 'object',
|
||||
fields: {
|
||||
error_count: { kind: 'int64_string' },
|
||||
error_file: {
|
||||
kind: 'object',
|
||||
fields: { size: { kind: 'int64_string' } },
|
||||
},
|
||||
samples: {
|
||||
kind: 'array',
|
||||
element: {
|
||||
kind: 'object',
|
||||
fields: { row: { kind: 'int64_string' } },
|
||||
},
|
||||
},
|
||||
success_count: { kind: 'int64_string' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=Imports.js.map
|
||||
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map
generated
vendored
Normal file
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Imports.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Commerce/ProductCatalog/Imports.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAK7D,MAAM,OAAO,cAAe,SAAQ,cAAc;IAChD;;OAEG;IACH,IAAI,CACF,MAAoD,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,EACtC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE;gCACN,cAAc,EAAE;oCACd,IAAI,EAAE,QAAQ;oCACd,MAAM,EAAE;wCACN,UAAU,EAAE;4CACV,IAAI,EAAE,QAAQ;4CACd,MAAM,EAAE;gDACN,WAAW,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC;gDACnC,aAAa,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC;6CACtC;yCACF;wCACD,SAAS,EAAE;4CACT,IAAI,EAAE,QAAQ;4CACd,MAAM,EAAE,EAAC,aAAa,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;yCAChD;wCACD,qBAAqB,EAAE;4CACrB,IAAI,EAAE,QAAQ;4CACd,MAAM,EAAE;gDACN,WAAW,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC;gDACnC,UAAU,EAAE;oDACV,IAAI,EAAE,QAAQ;oDACd,MAAM,EAAE,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAC,EAAC;iDACvC;gDACD,OAAO,EAAE;oDACP,IAAI,EAAE,OAAO;oDACb,OAAO,EAAE;wDACP,IAAI,EAAE,QAA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
Normal file
8
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Stripe } from '../../../../stripe.core.js';
|
||||
import { ImportResource } from './Imports.js';
|
||||
export declare class ProductCatalog {
|
||||
private readonly stripe;
|
||||
imports: ImportResource;
|
||||
constructor(stripe: Stripe);
|
||||
}
|
||||
export declare namespace ProductCatalog { }
|
||||
9
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/index.js
generated
vendored
Normal file
9
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { ImportResource } from './Imports.js';
|
||||
export class ProductCatalog {
|
||||
constructor(stripe) {
|
||||
this.stripe = stripe;
|
||||
this.imports = new ImportResource(stripe);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/index.js.map
generated
vendored
Normal file
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalog/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Commerce/ProductCatalog/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAAqB,cAAc,EAAC,MAAM,cAAc,CAAC;AAEhE,MAAM,OAAO,cAAc;IAGzB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,OAAO,GAAG,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;IAC5C,CAAC;CACF"}
|
||||
183
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.d.ts
generated
vendored
Normal file
183
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.d.ts
generated
vendored
Normal file
@@ -0,0 +1,183 @@
|
||||
import { Metadata } from '../../../shared.js';
|
||||
export interface ProductCatalogImport {
|
||||
/**
|
||||
* The unique identifier for this ProductCatalogImport.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* String representing the object's type. Objects of the same type share the same value of the object field.
|
||||
*/
|
||||
object: 'v2.commerce.product_catalog_import';
|
||||
/**
|
||||
* The time this ProductCatalogImport was created.
|
||||
*/
|
||||
created: string;
|
||||
/**
|
||||
* The type of feed data being imported into the product catalog.
|
||||
*/
|
||||
feed_type: V2.Commerce.ProductCatalogImport.FeedType;
|
||||
/**
|
||||
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
||||
*/
|
||||
livemode: boolean;
|
||||
/**
|
||||
* Additional information about the object in a structured format.
|
||||
*/
|
||||
metadata: Metadata;
|
||||
/**
|
||||
* The current status of this ProductCatalogImport.
|
||||
*/
|
||||
status: V2.Commerce.ProductCatalogImport.Status;
|
||||
/**
|
||||
* Details about the current import status.
|
||||
*/
|
||||
status_details?: V2.Commerce.ProductCatalogImport.StatusDetails;
|
||||
}
|
||||
export declare namespace V2 {
|
||||
namespace Commerce {
|
||||
namespace ProductCatalogImport {
|
||||
type FeedType = 'inventory' | 'pricing' | 'product';
|
||||
type Status = 'awaiting_upload' | 'failed' | 'processing' | 'succeeded' | 'succeeded_with_errors';
|
||||
interface StatusDetails {
|
||||
/**
|
||||
* Details when the import is awaiting file upload.
|
||||
*/
|
||||
awaiting_upload?: StatusDetails.AwaitingUpload;
|
||||
/**
|
||||
* Details when the import didn't complete.
|
||||
*/
|
||||
failed?: StatusDetails.Failed;
|
||||
/**
|
||||
* Details when the import is processing.
|
||||
*/
|
||||
processing?: StatusDetails.Processing;
|
||||
/**
|
||||
* Details when the import has succeeded.
|
||||
*/
|
||||
succeeded?: StatusDetails.Succeeded;
|
||||
/**
|
||||
* Details when the import completed but some records failed to process.
|
||||
*/
|
||||
succeeded_with_errors?: StatusDetails.SucceededWithErrors;
|
||||
}
|
||||
namespace StatusDetails {
|
||||
interface AwaitingUpload {
|
||||
/**
|
||||
* The pre-signed URL information for uploading the catalog file.
|
||||
*/
|
||||
upload_url: AwaitingUpload.UploadUrl;
|
||||
}
|
||||
interface Failed {
|
||||
/**
|
||||
* The error code for this product catalog processing failure.
|
||||
*/
|
||||
code: Failed.Code;
|
||||
/**
|
||||
* A message explaining why the import failed.
|
||||
*/
|
||||
failure_message: string;
|
||||
/**
|
||||
* The error type for this product catalog processing failure.
|
||||
*/
|
||||
type: Failed.Type;
|
||||
}
|
||||
interface Processing {
|
||||
/**
|
||||
* The number of records that failed to process so far.
|
||||
*/
|
||||
error_count: bigint;
|
||||
/**
|
||||
* The number of records processed so far.
|
||||
*/
|
||||
success_count: bigint;
|
||||
}
|
||||
interface Succeeded {
|
||||
/**
|
||||
* The total number of records processed.
|
||||
*/
|
||||
success_count: bigint;
|
||||
}
|
||||
interface SucceededWithErrors {
|
||||
/**
|
||||
* The total number of records that failed to process.
|
||||
*/
|
||||
error_count: bigint;
|
||||
/**
|
||||
* A file containing details about all errors that occurred.
|
||||
*/
|
||||
error_file: SucceededWithErrors.ErrorFile;
|
||||
/**
|
||||
* A sample of errors that occurred during processing.
|
||||
*/
|
||||
samples: Array<SucceededWithErrors.Sample>;
|
||||
/**
|
||||
* The total number of records processed.
|
||||
*/
|
||||
success_count: bigint;
|
||||
}
|
||||
namespace AwaitingUpload {
|
||||
interface UploadUrl {
|
||||
/**
|
||||
* The timestamp when the upload URL expires.
|
||||
*/
|
||||
expires_at: string;
|
||||
/**
|
||||
* The pre-signed URL for uploading the catalog file.
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
}
|
||||
namespace Failed {
|
||||
type Code = 'file_not_found' | 'internal_error' | 'invalid_file';
|
||||
type Type = 'cannot_proceed' | 'transient_failure';
|
||||
}
|
||||
namespace SucceededWithErrors {
|
||||
interface ErrorFile {
|
||||
/**
|
||||
* The MIME type of the error file.
|
||||
*/
|
||||
content_type: string;
|
||||
/**
|
||||
* The pre-signed URL information for downloading the error file.
|
||||
*/
|
||||
download_url: ErrorFile.DownloadUrl;
|
||||
/**
|
||||
* The size of the error file in bytes.
|
||||
*/
|
||||
size: bigint;
|
||||
}
|
||||
interface Sample {
|
||||
/**
|
||||
* A description of what went wrong with this record.
|
||||
*/
|
||||
error_message: string;
|
||||
/**
|
||||
* The name of the field that caused the error.
|
||||
*/
|
||||
field: string;
|
||||
/**
|
||||
* The identifier of the record that failed to process.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* The row number in the import file where the error occurred.
|
||||
*/
|
||||
row: bigint;
|
||||
}
|
||||
namespace ErrorFile {
|
||||
interface DownloadUrl {
|
||||
/**
|
||||
* The timestamp when the download URL expires.
|
||||
*/
|
||||
expires_at: string;
|
||||
/**
|
||||
* The pre-signed URL for downloading the error file.
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
3
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.js
generated
vendored
Normal file
3
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
// File generated from our OpenAPI spec
|
||||
export {};
|
||||
//# sourceMappingURL=ProductCatalogImports.js.map
|
||||
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.js.map
generated
vendored
Normal file
1
node_modules/stripe/esm/resources/V2/Commerce/ProductCatalogImports.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ProductCatalogImports.js","sourceRoot":"","sources":["../../../../src/resources/V2/Commerce/ProductCatalogImports.ts"],"names":[],"mappings":"AAAA,uCAAuC"}
|
||||
13
node_modules/stripe/esm/resources/V2/Commerce/index.d.ts
generated
vendored
Normal file
13
node_modules/stripe/esm/resources/V2/Commerce/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Stripe } from '../../../stripe.core.js';
|
||||
import { ProductCatalogImport } from './ProductCatalogImports.js';
|
||||
import { ProductCatalog } from './ProductCatalog/index.js';
|
||||
export { ProductCatalogImport } from './ProductCatalogImports.js';
|
||||
export declare class Commerce {
|
||||
private readonly stripe;
|
||||
productCatalog: ProductCatalog;
|
||||
constructor(stripe: Stripe);
|
||||
}
|
||||
export declare namespace Commerce {
|
||||
export { ProductCatalogImport };
|
||||
export { ProductCatalog };
|
||||
}
|
||||
9
node_modules/stripe/esm/resources/V2/Commerce/index.js
generated
vendored
Normal file
9
node_modules/stripe/esm/resources/V2/Commerce/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { ProductCatalog } from './ProductCatalog/index.js';
|
||||
export class Commerce {
|
||||
constructor(stripe) {
|
||||
this.stripe = stripe;
|
||||
this.productCatalog = new ProductCatalog(stripe);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/stripe/esm/resources/V2/Commerce/index.js.map
generated
vendored
Normal file
1
node_modules/stripe/esm/resources/V2/Commerce/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/V2/Commerce/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAIvC,OAAO,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAIzD,MAAM,OAAO,QAAQ;IAGnB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;IACnD,CAAC;CACF"}
|
||||
Reference in New Issue
Block a user