@crossly/sdk 0.3.2 → 0.3.4
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/dist/create-client-data-sync.d.ts +3 -0
- package/dist/create-client-data-sync.d.ts.map +1 -1
- package/dist/create-client-data-sync.js +2 -0
- package/dist/create-client-data-sync.js.map +1 -1
- package/dist/create-client.d.ts +2 -0
- package/dist/create-client.d.ts.map +1 -1
- package/dist/create-client.js +2 -0
- package/dist/create-client.js.map +1 -1
- package/dist/generated/api-types.d.ts +470 -66
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/operations.d.ts +120 -0
- package/dist/generated/operations.d.ts.map +1 -1
- package/dist/generated/operations.js +21 -6
- package/dist/generated/operations.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/discord.d.ts +69 -0
- package/dist/resources/discord.d.ts.map +1 -0
- package/dist/resources/discord.js +27 -0
- package/dist/resources/discord.js.map +1 -0
- package/dist/resources/quickbooks.d.ts +152 -0
- package/dist/resources/quickbooks.d.ts.map +1 -0
- package/dist/resources/quickbooks.js +97 -0
- package/dist/resources/quickbooks.js.map +1 -0
- package/dist/resources.d.ts +1 -0
- package/dist/resources.d.ts.map +1 -1
- package/dist/resources.js +1 -0
- package/dist/resources.js.map +1 -1
- package/dist/settings-exports.d.ts +2 -0
- package/dist/settings-exports.d.ts.map +1 -1
- package/dist/settings-exports.js +1 -0
- package/dist/settings-exports.js.map +1 -1
- package/package.json +2 -2
|
@@ -730,7 +730,7 @@ export type CreateAutomationRuleImportRequestOneOfTrigger = {
|
|
|
730
730
|
};
|
|
731
731
|
};
|
|
732
732
|
export type CreateAutomationRuleImportResponse = {
|
|
733
|
-
created:
|
|
733
|
+
created: ListIntegrationQuickbookTaxCodesItem[];
|
|
734
734
|
errors: CreateAutomationRuleImportResponseErrors[];
|
|
735
735
|
};
|
|
736
736
|
export type CreateAutomationRuleImportResponseErrors = {
|
|
@@ -4101,14 +4101,85 @@ export type CreateIntegrationLinearIssueRequest = {
|
|
|
4101
4101
|
export type CreateIntegrationLinearIssueResponse = {
|
|
4102
4102
|
issue: ListIntegrationLinearIssuesItem;
|
|
4103
4103
|
};
|
|
4104
|
-
export type
|
|
4105
|
-
data:
|
|
4104
|
+
export type CreateIntegrationQuickbookDocRepostResponse = {
|
|
4105
|
+
data: ListIntegrationQuickbookDocsItem;
|
|
4106
4106
|
};
|
|
4107
|
-
export type
|
|
4108
|
-
data:
|
|
4107
|
+
export type CreateIntegrationQuickbookStartResponse = {
|
|
4108
|
+
data: CreateIntegrationQuickbookStartResponseData;
|
|
4109
4109
|
};
|
|
4110
|
-
export type
|
|
4111
|
-
|
|
4110
|
+
export type CreateIntegrationQuickbookStartResponseData = {
|
|
4111
|
+
/** False when this Crossly has no Intuit app configured: the page says so, Connect is off. */
|
|
4112
|
+
configured: boolean;
|
|
4113
|
+
/** 'sandbox' | 'production': which Intuit environment this Crossly talks to. */
|
|
4114
|
+
environment: "sandbox" | "production";
|
|
4115
|
+
status: "active" | "revoked" | "not_connected" | "setup";
|
|
4116
|
+
storefrontId?: string | null;
|
|
4117
|
+
company?: CreateIntegrationQuickbookStartResponseDataCompany;
|
|
4118
|
+
settings?: CreateIntegrationQuickbookStartResponseDataSettings;
|
|
4119
|
+
connectedAt?: string | null;
|
|
4120
|
+
/** When the refresh token runs out if nothing syncs before then (Intuit: 100 days, renewed on every refresh). */
|
|
4121
|
+
refreshExpiresAt?: string | null;
|
|
4122
|
+
lastSyncAt?: string | null;
|
|
4123
|
+
lastSyncCounts?: CreateIntegrationQuickbookStartResponseDataLastSyncCounts;
|
|
4124
|
+
/** One sanitized line, never upstream text. */
|
|
4125
|
+
lastError?: string | null;
|
|
4126
|
+
lastErrorAt?: string | null;
|
|
4127
|
+
/** Documents that failed to post (they retry on the next sync). */
|
|
4128
|
+
failedCount: number;
|
|
4129
|
+
/** Documents deleted or voided in QuickBooks after Crossly posted them (out of sync until posted again). */
|
|
4130
|
+
outOfSyncCount: number;
|
|
4131
|
+
};
|
|
4132
|
+
export type CreateIntegrationQuickbookStartResponseDataCompany = {
|
|
4133
|
+
realmId: string;
|
|
4134
|
+
name?: string | null;
|
|
4135
|
+
/** ISO country of the company ("US", "CA", "GB", "AU"). */
|
|
4136
|
+
country?: string | null;
|
|
4137
|
+
homeCurrency?: string | null;
|
|
4138
|
+
multiCurrency: boolean;
|
|
4139
|
+
} | null;
|
|
4140
|
+
export type CreateIntegrationQuickbookStartResponseDataLastSyncCounts = {
|
|
4141
|
+
posted: number;
|
|
4142
|
+
updated: number;
|
|
4143
|
+
failed: number;
|
|
4144
|
+
/** Sales newly assigned to a document in this run. */
|
|
4145
|
+
salesAssigned: number;
|
|
4146
|
+
} | null;
|
|
4147
|
+
export type CreateIntegrationQuickbookStartResponseDataSettings = {
|
|
4148
|
+
mode: "summary" | "per_order";
|
|
4149
|
+
/** YYYY-MM-DD in `timezone`: sales detected before it are never posted. */
|
|
4150
|
+
startDate: string;
|
|
4151
|
+
/** IANA zone the daily summaries are cut in. */
|
|
4152
|
+
timezone: string;
|
|
4153
|
+
clearing: "single" | "per_marketplace";
|
|
4154
|
+
/** Post a COGS journal entry from the item cost Crossly recorded at sale time. */
|
|
4155
|
+
postCogs: boolean;
|
|
4156
|
+
accounts: CreateIntegrationQuickbookStartResponseDataSettingsAccounts;
|
|
4157
|
+
/** Companies outside the US: the tax code every line carries (an exempt / out-of-scope code). Null in the US. */
|
|
4158
|
+
taxCodeId?: string | null;
|
|
4159
|
+
} | null;
|
|
4160
|
+
/** Role → account. Null = not chosen yet (the role's default is made or found on connect). */
|
|
4161
|
+
export type CreateIntegrationQuickbookStartResponseDataSettingsAccounts = {
|
|
4162
|
+
sales?: {
|
|
4163
|
+
[key: string]: unknown;
|
|
4164
|
+
} | null;
|
|
4165
|
+
fees?: {
|
|
4166
|
+
[key: string]: unknown;
|
|
4167
|
+
} | null;
|
|
4168
|
+
cogs?: {
|
|
4169
|
+
[key: string]: unknown;
|
|
4170
|
+
} | null;
|
|
4171
|
+
shippingIncome?: {
|
|
4172
|
+
[key: string]: unknown;
|
|
4173
|
+
} | null;
|
|
4174
|
+
shippingExpense?: {
|
|
4175
|
+
[key: string]: unknown;
|
|
4176
|
+
} | null;
|
|
4177
|
+
clearing?: {
|
|
4178
|
+
[key: string]: unknown;
|
|
4179
|
+
} | null;
|
|
4180
|
+
inventoryAsset?: {
|
|
4181
|
+
[key: string]: unknown;
|
|
4182
|
+
} | null;
|
|
4112
4183
|
};
|
|
4113
4184
|
export type CreateIntegrationSlackTestResponse = {
|
|
4114
4185
|
ok: boolean;
|
|
@@ -5787,9 +5858,9 @@ export type CreateListingImportByUrlResponseListing = {
|
|
|
5787
5858
|
returnPolicyText?: string | null;
|
|
5788
5859
|
} | null;
|
|
5789
5860
|
export type CreateListingIssueDismissRequest = {
|
|
5790
|
-
|
|
5861
|
+
/** Accepts 7 | 30, or "7" | "30" | "forever". */
|
|
5862
|
+
days: unknown;
|
|
5791
5863
|
};
|
|
5792
|
-
export type CreateListingIssueDismissRequestDays = 7 | 30 | "7" | "30" | "forever";
|
|
5793
5864
|
export type CreateListingIssueDismissResponse = {
|
|
5794
5865
|
data: CreateListingIssueDismissResponseData;
|
|
5795
5866
|
};
|
|
@@ -9989,11 +10060,10 @@ export type CreateStoreCreditResponseDataEntry = {
|
|
|
9989
10060
|
export type CreateStoreSettingCopyRequest = {
|
|
9990
10061
|
fromStorefrontId: string;
|
|
9991
10062
|
toStorefrontIds: string[];
|
|
9992
|
-
|
|
10063
|
+
/** Groups to copy (shared store-settings STORE_SETTING_FAMILIES), or 'all'. Accepts "all", or an array of string. */
|
|
10064
|
+
families?: unknown;
|
|
9993
10065
|
mode?: "merge" | "replace";
|
|
9994
10066
|
};
|
|
9995
|
-
/** Groups to copy (shared store-settings STORE_SETTING_FAMILIES), or 'all'. */
|
|
9996
|
-
export type CreateStoreSettingCopyRequestFamilies = "all" | string[];
|
|
9997
10067
|
export type CreateStoreSettingCopyResponse = {
|
|
9998
10068
|
mode: "replace" | "merge";
|
|
9999
10069
|
fromStorefrontId: string;
|
|
@@ -10010,7 +10080,8 @@ export type CreateStoreSettingImportRequest = {
|
|
|
10010
10080
|
/** The store to import into. */
|
|
10011
10081
|
storefrontId: string;
|
|
10012
10082
|
document: CreateStoreSettingImportRequestDocument;
|
|
10013
|
-
|
|
10083
|
+
/** Groups to import (shared store-settings STORE_SETTING_FAMILIES), or 'all' = every group the file holds. Accepts "all", or an array of string. */
|
|
10084
|
+
families?: unknown;
|
|
10014
10085
|
mode?: "merge" | "replace";
|
|
10015
10086
|
};
|
|
10016
10087
|
/** A file from GET /v1/store-settings/export: { format: "crossly.store-settings", version, families }. */
|
|
@@ -10026,8 +10097,6 @@ export type CreateStoreSettingImportRequestDocument = {
|
|
|
10026
10097
|
export type CreateStoreSettingImportRequestDocumentStore = {
|
|
10027
10098
|
name?: string;
|
|
10028
10099
|
};
|
|
10029
|
-
/** Groups to import (shared store-settings STORE_SETTING_FAMILIES), or 'all' = every group the file holds. */
|
|
10030
|
-
export type CreateStoreSettingImportRequestFamilies = "all" | string[];
|
|
10031
10100
|
export type CreateStoreSettingImportResponse = {
|
|
10032
10101
|
mode: "replace" | "merge";
|
|
10033
10102
|
dryRun: boolean;
|
|
@@ -16330,12 +16399,6 @@ export type CreateWorldParentalChildrenPinResponseData = {
|
|
|
16330
16399
|
export type CreateWorldParentalChildrenUnlinkRequest = {
|
|
16331
16400
|
pin: string;
|
|
16332
16401
|
};
|
|
16333
|
-
export type CreateWorldParentalChildrenUnlinkResponse = {
|
|
16334
|
-
data: CreateWorldParentalChildrenUnlinkResponseData;
|
|
16335
|
-
};
|
|
16336
|
-
export type CreateWorldParentalChildrenUnlinkResponseData = {
|
|
16337
|
-
unlinked: boolean;
|
|
16338
|
-
};
|
|
16339
16402
|
export type CreateWorldParentalInviteResponse = {
|
|
16340
16403
|
data: CreateWorldParentalInviteResponseData;
|
|
16341
16404
|
};
|
|
@@ -16898,6 +16961,12 @@ export type DeleteDeviceResponseData = {
|
|
|
16898
16961
|
id: string;
|
|
16899
16962
|
unpaired: boolean;
|
|
16900
16963
|
};
|
|
16964
|
+
export type DeleteDiscordResponse = {
|
|
16965
|
+
data: DeleteDiscordResponseData;
|
|
16966
|
+
};
|
|
16967
|
+
export type DeleteDiscordResponseData = {
|
|
16968
|
+
unlinked: boolean;
|
|
16969
|
+
};
|
|
16901
16970
|
export type DeleteDropResponse = {
|
|
16902
16971
|
cancelled: boolean;
|
|
16903
16972
|
};
|
|
@@ -16955,12 +17024,6 @@ export type DeleteIntegrationLinearResponse = {
|
|
|
16955
17024
|
disconnected: boolean;
|
|
16956
17025
|
revokedAtLinear: boolean;
|
|
16957
17026
|
};
|
|
16958
|
-
export type DeleteIntegrationNotionResponse = {
|
|
16959
|
-
data: DeleteIntegrationNotionResponseData;
|
|
16960
|
-
};
|
|
16961
|
-
export type DeleteIntegrationNotionResponseData = {
|
|
16962
|
-
disconnected: boolean;
|
|
16963
|
-
};
|
|
16964
17027
|
export type DeleteIntegrationSentryResponse = {
|
|
16965
17028
|
success: boolean;
|
|
16966
17029
|
orgSlug: string;
|
|
@@ -21812,6 +21875,50 @@ export type GetDeviceSettingResponseDataSettings = {
|
|
|
21812
21875
|
defaultLabelSize?: "4x6" | "letter" | "a4" | "2x2" | "1x1" | "2x3.5" | null;
|
|
21813
21876
|
updatedAt?: string | null;
|
|
21814
21877
|
};
|
|
21878
|
+
export type GetDiscordResponse = {
|
|
21879
|
+
data: GetDiscordResponseData;
|
|
21880
|
+
};
|
|
21881
|
+
export type GetDiscordResponseData = {
|
|
21882
|
+
/** The deployment has the Discord app configured. */
|
|
21883
|
+
available: boolean;
|
|
21884
|
+
linked: boolean;
|
|
21885
|
+
discordUserId?: string | null;
|
|
21886
|
+
username?: string | null;
|
|
21887
|
+
/** Discord refused a DM (they block DMs from apps); alerts resume after their next command. */
|
|
21888
|
+
dmBlocked: boolean;
|
|
21889
|
+
userInstalled: boolean;
|
|
21890
|
+
linkedAt?: string | null;
|
|
21891
|
+
/** The deployment has a community server set up: the connect pages show "Join the Crossly community server". */
|
|
21892
|
+
communityAvailable: boolean;
|
|
21893
|
+
/** Linked with the community-join box ticked and Discord added them (they may have left since). */
|
|
21894
|
+
communityJoined: boolean;
|
|
21895
|
+
/** Linked Roles are live for this link (Discord shows the Crossly connection on their profile). */
|
|
21896
|
+
roleConnection: boolean;
|
|
21897
|
+
/** Add the app to your Discord account (user install). */
|
|
21898
|
+
installUrl?: string | null;
|
|
21899
|
+
/** Add the app to a server (for a channel feed). */
|
|
21900
|
+
serverInstallUrl?: string | null;
|
|
21901
|
+
alerts: GetDiscordResponseDataAlerts;
|
|
21902
|
+
feeds: GetDiscordResponseDataFeeds[];
|
|
21903
|
+
};
|
|
21904
|
+
export type GetDiscordResponseDataAlerts = {
|
|
21905
|
+
/** Alert keys turned off for Discord (the phone's own switches apply first). */
|
|
21906
|
+
muted: GetDiscordResponseDataAlertsMutedItem[];
|
|
21907
|
+
/** instant: each alert as it happens; daily: one summary a day at `dailyHour`. */
|
|
21908
|
+
mode: "daily" | "instant";
|
|
21909
|
+
/** 0-23, in the account's notification time zone. */
|
|
21910
|
+
dailyHour: number;
|
|
21911
|
+
};
|
|
21912
|
+
export type GetDiscordResponseDataAlertsMutedItem = "sale" | "message" | "other" | "ship_by" | "offer" | "disconnected" | "publish_failed" | "delist_failed" | "stale_listing";
|
|
21913
|
+
export type GetDiscordResponseDataFeeds = {
|
|
21914
|
+
id: string;
|
|
21915
|
+
guildId: string;
|
|
21916
|
+
channelId: string;
|
|
21917
|
+
storefrontId?: string | null;
|
|
21918
|
+
events: GetDiscordResponseDataFeedsEventsItem[];
|
|
21919
|
+
createdAt: string;
|
|
21920
|
+
};
|
|
21921
|
+
export type GetDiscordResponseDataFeedsEventsItem = "sales" | "listings";
|
|
21815
21922
|
export type GetDiscountCodeResponse = {
|
|
21816
21923
|
data: ListDiscountCodesItem;
|
|
21817
21924
|
};
|
|
@@ -22052,7 +22159,7 @@ export type GetEventPolicyResponseData = {
|
|
|
22052
22159
|
matrix: GetEventPolicyResponseDataMatrix[];
|
|
22053
22160
|
rules: GetEventPolicyResponseDataRules[];
|
|
22054
22161
|
platforms: GetEventPolicyResponseDataPlatforms[];
|
|
22055
|
-
apps:
|
|
22162
|
+
apps: ListIntegrationQuickbookTaxCodesItem[];
|
|
22056
22163
|
};
|
|
22057
22164
|
export type GetEventPolicyResponseDataMatrix = {
|
|
22058
22165
|
event: "sale" | "message" | "refunded" | "offer" | "order_cancelled" | "return_opened" | "label_ready" | "shipped" | "delivered" | "payout_sent" | "listing_ended";
|
|
@@ -22999,6 +23106,54 @@ export type GetIntegrationLinearResponseEventRules = {
|
|
|
22999
23106
|
events: string[];
|
|
23000
23107
|
defaultOn: boolean;
|
|
23001
23108
|
};
|
|
23109
|
+
export type GetIntegrationQuickbookResponse = {
|
|
23110
|
+
data: GetIntegrationQuickbookResponseData;
|
|
23111
|
+
};
|
|
23112
|
+
export type GetIntegrationQuickbookResponseData = {
|
|
23113
|
+
/** False when this Crossly has no Intuit app configured: the page says so, Connect is off. */
|
|
23114
|
+
configured: boolean;
|
|
23115
|
+
/** 'sandbox' | 'production': which Intuit environment this Crossly talks to. */
|
|
23116
|
+
environment: "sandbox" | "production";
|
|
23117
|
+
status: "active" | "revoked" | "not_connected" | "setup";
|
|
23118
|
+
storefrontId?: string | null;
|
|
23119
|
+
company?: CreateIntegrationQuickbookStartResponseDataCompany;
|
|
23120
|
+
settings?: GetIntegrationQuickbookResponseDataSettings;
|
|
23121
|
+
connectedAt?: string | null;
|
|
23122
|
+
/** When the refresh token runs out if nothing syncs before then (Intuit: 100 days, renewed on every refresh). */
|
|
23123
|
+
refreshExpiresAt?: string | null;
|
|
23124
|
+
lastSyncAt?: string | null;
|
|
23125
|
+
lastSyncCounts?: CreateIntegrationQuickbookStartResponseDataLastSyncCounts;
|
|
23126
|
+
/** One sanitized line, never upstream text. */
|
|
23127
|
+
lastError?: string | null;
|
|
23128
|
+
lastErrorAt?: string | null;
|
|
23129
|
+
/** Documents that failed to post (they retry on the next sync). */
|
|
23130
|
+
failedCount: number;
|
|
23131
|
+
/** Documents deleted or voided in QuickBooks after Crossly posted them (out of sync until posted again). */
|
|
23132
|
+
outOfSyncCount: number;
|
|
23133
|
+
};
|
|
23134
|
+
export type GetIntegrationQuickbookResponseDataSettings = {
|
|
23135
|
+
mode: "summary" | "per_order";
|
|
23136
|
+
/** YYYY-MM-DD in `timezone`: sales detected before it are never posted. */
|
|
23137
|
+
startDate: string;
|
|
23138
|
+
/** IANA zone the daily summaries are cut in. */
|
|
23139
|
+
timezone: string;
|
|
23140
|
+
clearing: "single" | "per_marketplace";
|
|
23141
|
+
/** Post a COGS journal entry from the item cost Crossly recorded at sale time. */
|
|
23142
|
+
postCogs: boolean;
|
|
23143
|
+
accounts: GetIntegrationQuickbookResponseDataSettingsAccounts;
|
|
23144
|
+
/** Companies outside the US: the tax code every line carries (an exempt / out-of-scope code). Null in the US. */
|
|
23145
|
+
taxCodeId?: string | null;
|
|
23146
|
+
} | null;
|
|
23147
|
+
/** Role → account. Null = not chosen yet (the role's default is made or found on connect). */
|
|
23148
|
+
export type GetIntegrationQuickbookResponseDataSettingsAccounts = {
|
|
23149
|
+
sales?: IdName;
|
|
23150
|
+
fees?: IdName;
|
|
23151
|
+
cogs?: IdName;
|
|
23152
|
+
shippingIncome?: IdName;
|
|
23153
|
+
shippingExpense?: IdName;
|
|
23154
|
+
clearing?: IdName;
|
|
23155
|
+
inventoryAsset?: IdName;
|
|
23156
|
+
};
|
|
23002
23157
|
export type GetIntegrationResponse = {
|
|
23003
23158
|
storefrontId?: string | null;
|
|
23004
23159
|
groups: GetIntegrationResponseGroups[];
|
|
@@ -27429,7 +27584,7 @@ export type GetSourceSyncLocationResponse = {
|
|
|
27429
27584
|
/** 'shop' (Lightspeed R-Series), 'outlet' (X-Series) or 'location' (Square): what the seller calls it. */
|
|
27430
27585
|
label: "location" | "shop" | "outlet";
|
|
27431
27586
|
selectedId?: string | null;
|
|
27432
|
-
locations:
|
|
27587
|
+
locations: ListIntegrationQuickbookTaxCodesItem[];
|
|
27433
27588
|
};
|
|
27434
27589
|
export type GetSourcingReceiptResponse = {
|
|
27435
27590
|
log: unknown[];
|
|
@@ -42548,6 +42703,21 @@ export type IntegrationNotionResponseDataWorkspace = {
|
|
|
42548
42703
|
name?: string | null;
|
|
42549
42704
|
icon?: string | null;
|
|
42550
42705
|
} | null;
|
|
42706
|
+
export type IntegrationResponse = {
|
|
42707
|
+
data: UpdateWorldExperienceGalleryTrailerUrlRequest;
|
|
42708
|
+
};
|
|
42709
|
+
export type IntegrationResponse2 = {
|
|
42710
|
+
data: IntegrationResponse2Data;
|
|
42711
|
+
};
|
|
42712
|
+
export type IntegrationResponse2Data = {
|
|
42713
|
+
queued: boolean;
|
|
42714
|
+
};
|
|
42715
|
+
export type IntegrationResponse3 = {
|
|
42716
|
+
data: IntegrationResponse3Data;
|
|
42717
|
+
};
|
|
42718
|
+
export type IntegrationResponse3Data = {
|
|
42719
|
+
disconnected: boolean;
|
|
42720
|
+
};
|
|
42551
42721
|
export type InventoryItemIdReason = {
|
|
42552
42722
|
inventoryItemId: string;
|
|
42553
42723
|
reason: string;
|
|
@@ -44260,7 +44430,7 @@ export type ListConnectionHealthItem = {
|
|
|
44260
44430
|
/** Why it ends (CONNECTION_LIFETIMES note), when the platform has a typical lifetime. */
|
|
44261
44431
|
lifetimeNote?: string | null;
|
|
44262
44432
|
workflows: ListConnectionHealthItemWorkflows[];
|
|
44263
|
-
rules:
|
|
44433
|
+
rules: ListIntegrationQuickbookTaxCodesItem[];
|
|
44264
44434
|
/** Live listings here whose item is also live elsewhere: a sale elsewhere needs this account to delist them. */
|
|
44265
44435
|
listingsAtRisk: number;
|
|
44266
44436
|
};
|
|
@@ -46781,20 +46951,6 @@ export type ListIntegrationLinearTeamLabelsResponse = {
|
|
|
46781
46951
|
[key: string]: unknown;
|
|
46782
46952
|
};
|
|
46783
46953
|
};
|
|
46784
|
-
export type ListIntegrationLinearTeamProjectsItem = {
|
|
46785
|
-
id: string;
|
|
46786
|
-
name: string;
|
|
46787
|
-
};
|
|
46788
|
-
/** The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint. */
|
|
46789
|
-
export type ListIntegrationLinearTeamProjectsResponse = {
|
|
46790
|
-
/** The rows. */
|
|
46791
|
-
data: ListIntegrationLinearTeamProjectsItem[];
|
|
46792
|
-
pagination?: Pagination;
|
|
46793
|
-
/** Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty. */
|
|
46794
|
-
meta?: {
|
|
46795
|
-
[key: string]: unknown;
|
|
46796
|
-
};
|
|
46797
|
-
};
|
|
46798
46954
|
export type ListIntegrationLinearTeamsItem = {
|
|
46799
46955
|
id: string;
|
|
46800
46956
|
name: string;
|
|
@@ -46827,6 +46983,70 @@ export type ListIntegrationNotionPagesResponse = {
|
|
|
46827
46983
|
[key: string]: unknown;
|
|
46828
46984
|
};
|
|
46829
46985
|
};
|
|
46986
|
+
export type ListIntegrationQuickbookAccountsItem = {
|
|
46987
|
+
id: string;
|
|
46988
|
+
name: string;
|
|
46989
|
+
/** Fully qualified ("Parent:Child"). */
|
|
46990
|
+
fullName: string;
|
|
46991
|
+
accountType: string;
|
|
46992
|
+
accountSubType?: string | null;
|
|
46993
|
+
currency?: string | null;
|
|
46994
|
+
};
|
|
46995
|
+
/** The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint. */
|
|
46996
|
+
export type ListIntegrationQuickbookAccountsResponse = {
|
|
46997
|
+
/** The rows. */
|
|
46998
|
+
data: ListIntegrationQuickbookAccountsItem[];
|
|
46999
|
+
pagination?: Pagination;
|
|
47000
|
+
/** Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty. */
|
|
47001
|
+
meta?: {
|
|
47002
|
+
[key: string]: unknown;
|
|
47003
|
+
};
|
|
47004
|
+
};
|
|
47005
|
+
export type ListIntegrationQuickbookDocsItem = {
|
|
47006
|
+
id: string;
|
|
47007
|
+
kind: "sales_receipt" | "expense" | "refund_receipt" | "fee_refund" | "journal_entry";
|
|
47008
|
+
/** The marketplace (platform id), or null for a COGS journal entry covering every marketplace. */
|
|
47009
|
+
marketplace?: string | null;
|
|
47010
|
+
currency: string;
|
|
47011
|
+
/** YYYY-MM-DD: the transaction date in QuickBooks. */
|
|
47012
|
+
txnDate: string;
|
|
47013
|
+
status: "pending" | "failed" | "posted" | "deleted_in_qbo";
|
|
47014
|
+
/** Signed dollars as posted (a Deposit / refund is the amount returned). */
|
|
47015
|
+
total: number;
|
|
47016
|
+
saleCount: number;
|
|
47017
|
+
docNumber?: string | null;
|
|
47018
|
+
qboId?: string | null;
|
|
47019
|
+
/** Opens the transaction in QuickBooks (null until posted). */
|
|
47020
|
+
qboUrl?: string | null;
|
|
47021
|
+
error?: string | null;
|
|
47022
|
+
attempts: number;
|
|
47023
|
+
postedAt?: string | null;
|
|
47024
|
+
updatedAt: string;
|
|
47025
|
+
};
|
|
47026
|
+
/** The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint. */
|
|
47027
|
+
export type ListIntegrationQuickbookDocsResponse = {
|
|
47028
|
+
/** The rows. */
|
|
47029
|
+
data: ListIntegrationQuickbookDocsItem[];
|
|
47030
|
+
pagination?: Pagination;
|
|
47031
|
+
/** Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty. */
|
|
47032
|
+
meta?: {
|
|
47033
|
+
[key: string]: unknown;
|
|
47034
|
+
};
|
|
47035
|
+
};
|
|
47036
|
+
export type ListIntegrationQuickbookTaxCodesItem = {
|
|
47037
|
+
id: string;
|
|
47038
|
+
name: string;
|
|
47039
|
+
};
|
|
47040
|
+
/** The canonical collection envelope. The array is ALWAYS under `data`, never under the noun — so one accessor works for every list endpoint. */
|
|
47041
|
+
export type ListIntegrationQuickbookTaxCodesResponse = {
|
|
47042
|
+
/** The rows. */
|
|
47043
|
+
data: ListIntegrationQuickbookTaxCodesItem[];
|
|
47044
|
+
pagination?: Pagination;
|
|
47045
|
+
/** Endpoint-specific extras that are NOT pagination — e.g. `pendingCents`, `basis`. Omitted when empty. */
|
|
47046
|
+
meta?: {
|
|
47047
|
+
[key: string]: unknown;
|
|
47048
|
+
};
|
|
47049
|
+
};
|
|
46830
47050
|
export type ListIntegrationSentryActionsItem = {
|
|
46831
47051
|
id: string;
|
|
46832
47052
|
resource: string;
|
|
@@ -52399,7 +52619,7 @@ export type ListToolboxMineResponse = {
|
|
|
52399
52619
|
};
|
|
52400
52620
|
export type ListToolboxSalesItem = {
|
|
52401
52621
|
purchaseId: string;
|
|
52402
|
-
asset:
|
|
52622
|
+
asset: ListIntegrationQuickbookTaxCodesItem;
|
|
52403
52623
|
grossCents: number;
|
|
52404
52624
|
netCents: number;
|
|
52405
52625
|
authorCents: number;
|
|
@@ -62566,7 +62786,7 @@ export type UpdateDeviceRequest = {
|
|
|
62566
62786
|
name: string;
|
|
62567
62787
|
};
|
|
62568
62788
|
export type UpdateDeviceResponse = {
|
|
62569
|
-
data:
|
|
62789
|
+
data: ListIntegrationQuickbookTaxCodesItem;
|
|
62570
62790
|
};
|
|
62571
62791
|
export type UpdateDeviceSettingRequest = {
|
|
62572
62792
|
keepWarmAccountIds?: string[] | null;
|
|
@@ -62578,6 +62798,18 @@ export type UpdateDeviceSettingRequest = {
|
|
|
62578
62798
|
export type UpdateDeviceSettingResponse = {
|
|
62579
62799
|
data: GetDeviceSettingResponseDataSettings;
|
|
62580
62800
|
};
|
|
62801
|
+
export type UpdateDiscordAlertRequest = {
|
|
62802
|
+
muted?: UpdateDiscordAlertRequestMutedItem[];
|
|
62803
|
+
mode?: "daily" | "instant";
|
|
62804
|
+
dailyHour?: number;
|
|
62805
|
+
};
|
|
62806
|
+
export type UpdateDiscordAlertRequestMutedItem = "sale" | "message" | "other" | "ship_by" | "offer" | "disconnected" | "publish_failed" | "delist_failed" | "stale_listing";
|
|
62807
|
+
export type UpdateDiscordAlertResponse = {
|
|
62808
|
+
data: UpdateDiscordAlertResponseData;
|
|
62809
|
+
};
|
|
62810
|
+
export type UpdateDiscordAlertResponseData = {
|
|
62811
|
+
alerts: GetDiscordResponseDataAlerts;
|
|
62812
|
+
};
|
|
62581
62813
|
export type UpdateDiscountCodeRequest = {
|
|
62582
62814
|
code?: string;
|
|
62583
62815
|
name?: string | null;
|
|
@@ -62858,6 +63090,24 @@ export type UpdateIntegrationNotionPageRequest = {
|
|
|
62858
63090
|
export type UpdateIntegrationNotionSettingRequest = {
|
|
62859
63091
|
listings: boolean;
|
|
62860
63092
|
};
|
|
63093
|
+
export type UpdateIntegrationQuickbookSettingRequest = {
|
|
63094
|
+
mode?: "summary" | "per_order";
|
|
63095
|
+
startDate?: string;
|
|
63096
|
+
timezone?: string;
|
|
63097
|
+
clearing?: "single" | "per_marketplace";
|
|
63098
|
+
postCogs?: boolean;
|
|
63099
|
+
accounts?: UpdateIntegrationQuickbookSettingRequestAccounts;
|
|
63100
|
+
taxCodeId?: string | null;
|
|
63101
|
+
};
|
|
63102
|
+
export type UpdateIntegrationQuickbookSettingRequestAccounts = {
|
|
63103
|
+
sales?: string | null;
|
|
63104
|
+
shippingIncome?: string | null;
|
|
63105
|
+
fees?: string | null;
|
|
63106
|
+
shippingExpense?: string | null;
|
|
63107
|
+
clearing?: string | null;
|
|
63108
|
+
cogs?: string | null;
|
|
63109
|
+
inventoryAsset?: string | null;
|
|
63110
|
+
};
|
|
62861
63111
|
export type UpdateIntegrationSlackRequest = {
|
|
62862
63112
|
channelId?: string | null;
|
|
62863
63113
|
notify?: {
|
|
@@ -63051,24 +63301,20 @@ export type UpdateListingRequest = {
|
|
|
63051
63301
|
brand?: string;
|
|
63052
63302
|
overrides?: {
|
|
63053
63303
|
[key: string]: {
|
|
63054
|
-
[key: string]:
|
|
63304
|
+
[key: string]: UpdateListingRequestOverridesValueValue;
|
|
63055
63305
|
};
|
|
63056
63306
|
};
|
|
63057
63307
|
policies?: UpdateListingRequestPolicies;
|
|
63058
63308
|
packageWeightAndSize?: unknown;
|
|
63059
|
-
PackageWeightAndSize?: unknown;
|
|
63060
63309
|
listingPolicies?: unknown;
|
|
63061
|
-
ListingPolicies?: unknown;
|
|
63062
63310
|
shippingDetails?: unknown;
|
|
63063
|
-
ShippingDetails?: unknown;
|
|
63064
63311
|
dispatchTimeMax?: unknown;
|
|
63065
|
-
DispatchTimeMax?: unknown;
|
|
63066
63312
|
shippingPackageDetails?: unknown;
|
|
63067
|
-
ShippingPackageDetails?: unknown;
|
|
63068
63313
|
data?: {
|
|
63069
63314
|
[key: string]: unknown;
|
|
63070
63315
|
};
|
|
63071
63316
|
};
|
|
63317
|
+
export type UpdateListingRequestOverridesValueValue = string | number | boolean | UpdateListingRequestOverridesValueValueAnyOf3;
|
|
63072
63318
|
export type UpdateListingRequestOverridesValueValueAnyOf3 = {
|
|
63073
63319
|
ids: string[];
|
|
63074
63320
|
};
|
|
@@ -68681,7 +68927,7 @@ export interface ApiOperations {
|
|
|
68681
68927
|
pathParams: never;
|
|
68682
68928
|
query: {
|
|
68683
68929
|
q?: string;
|
|
68684
|
-
|
|
68930
|
+
nodePath?: string;
|
|
68685
68931
|
limit?: number;
|
|
68686
68932
|
};
|
|
68687
68933
|
body: never;
|
|
@@ -72083,6 +72329,44 @@ export interface ApiOperations {
|
|
|
72083
72329
|
body: UpdateDeviceSettingRequest;
|
|
72084
72330
|
response: UpdateDeviceSettingResponse;
|
|
72085
72331
|
};
|
|
72332
|
+
/** Your Crossly Discord app link: Discord account, whether DMs reach you, install links, alert settings and channel feeds. */
|
|
72333
|
+
getDiscord: {
|
|
72334
|
+
method: 'GET';
|
|
72335
|
+
path: "/v1/discord";
|
|
72336
|
+
pathParams: never;
|
|
72337
|
+
query: never;
|
|
72338
|
+
body: never;
|
|
72339
|
+
response: GetDiscordResponse;
|
|
72340
|
+
};
|
|
72341
|
+
/** Disconnect your Discord account: alerts and store commands stop. */
|
|
72342
|
+
deleteDiscord: {
|
|
72343
|
+
method: 'DELETE';
|
|
72344
|
+
path: "/v1/discord";
|
|
72345
|
+
pathParams: never;
|
|
72346
|
+
query: never;
|
|
72347
|
+
body: never;
|
|
72348
|
+
response: DeleteDiscordResponse;
|
|
72349
|
+
};
|
|
72350
|
+
/** Which alerts reach you in Discord, and instant or one daily summary at an hour of your timezone. */
|
|
72351
|
+
updateDiscordAlert: {
|
|
72352
|
+
method: 'PATCH';
|
|
72353
|
+
path: "/v1/discord/alerts";
|
|
72354
|
+
pathParams: never;
|
|
72355
|
+
query: never;
|
|
72356
|
+
body: UpdateDiscordAlertRequest;
|
|
72357
|
+
response: UpdateDiscordAlertResponse;
|
|
72358
|
+
};
|
|
72359
|
+
/** Turn off a store feed you set up in a Discord channel. */
|
|
72360
|
+
deleteDiscordFeed: {
|
|
72361
|
+
method: 'DELETE';
|
|
72362
|
+
path: "/v1/discord/feeds/{id}";
|
|
72363
|
+
pathParams: {
|
|
72364
|
+
id: string;
|
|
72365
|
+
};
|
|
72366
|
+
query: never;
|
|
72367
|
+
body: never;
|
|
72368
|
+
response: DeleteLiveClipResponse;
|
|
72369
|
+
};
|
|
72086
72370
|
/** Your discount codes: kind, status (active, scheduled, paused, expired, exhausted, archived), every rule, and usage. */
|
|
72087
72371
|
listDiscountCodes: {
|
|
72088
72372
|
method: 'GET';
|
|
@@ -73974,7 +74258,7 @@ export interface ApiOperations {
|
|
|
73974
74258
|
};
|
|
73975
74259
|
query: never;
|
|
73976
74260
|
body: never;
|
|
73977
|
-
response:
|
|
74261
|
+
response: ListIntegrationQuickbookTaxCodesResponse;
|
|
73978
74262
|
};
|
|
73979
74263
|
/** The store's Notion sync: workspace, parent page, the Crossly databases, last sync, rows per database, the last error. */
|
|
73980
74264
|
getIntegrationNotion: {
|
|
@@ -73992,7 +74276,7 @@ export interface ApiOperations {
|
|
|
73992
74276
|
pathParams: never;
|
|
73993
74277
|
query: never;
|
|
73994
74278
|
body: never;
|
|
73995
|
-
response:
|
|
74279
|
+
response: IntegrationResponse3;
|
|
73996
74280
|
};
|
|
73997
74281
|
/** The Notion consent URL to open in a browser. Share one page in Notion's picker; Crossly makes its databases there. */
|
|
73998
74282
|
createIntegrationNotionConnectUrl: {
|
|
@@ -74001,7 +74285,7 @@ export interface ApiOperations {
|
|
|
74001
74285
|
pathParams: never;
|
|
74002
74286
|
query: never;
|
|
74003
74287
|
body: never;
|
|
74004
|
-
response:
|
|
74288
|
+
response: IntegrationResponse;
|
|
74005
74289
|
};
|
|
74006
74290
|
/** Sync under this Notion page: makes the Crossly Sales and Inventory databases (and Listings, when on) there now and queues the first full sync. */
|
|
74007
74291
|
updateIntegrationNotionPage: {
|
|
@@ -74037,7 +74321,112 @@ export interface ApiOperations {
|
|
|
74037
74321
|
pathParams: never;
|
|
74038
74322
|
query: never;
|
|
74039
74323
|
body: never;
|
|
74040
|
-
response:
|
|
74324
|
+
response: IntegrationResponse2;
|
|
74325
|
+
};
|
|
74326
|
+
/** The store's QuickBooks Online connection: company, settings, last sync, failed and out-of-sync documents, the last error. */
|
|
74327
|
+
getIntegrationQuickbook: {
|
|
74328
|
+
method: 'GET';
|
|
74329
|
+
path: "/v1/integrations/quickbooks";
|
|
74330
|
+
pathParams: never;
|
|
74331
|
+
query: never;
|
|
74332
|
+
body: never;
|
|
74333
|
+
response: GetIntegrationQuickbookResponse;
|
|
74334
|
+
};
|
|
74335
|
+
/** Disconnect QuickBooks for this store: Crossly revokes and forgets its tokens and stops posting. Posted documents stay in QuickBooks. */
|
|
74336
|
+
deleteIntegrationQuickbook: {
|
|
74337
|
+
method: 'DELETE';
|
|
74338
|
+
path: "/v1/integrations/quickbooks";
|
|
74339
|
+
pathParams: never;
|
|
74340
|
+
query: never;
|
|
74341
|
+
body: never;
|
|
74342
|
+
response: IntegrationResponse3;
|
|
74343
|
+
};
|
|
74344
|
+
/** The QuickBooks company's active accounts (id, name, type), for the account mapping. */
|
|
74345
|
+
listIntegrationQuickbookAccounts: {
|
|
74346
|
+
method: 'GET';
|
|
74347
|
+
path: "/v1/integrations/quickbooks/accounts";
|
|
74348
|
+
pathParams: never;
|
|
74349
|
+
query: never;
|
|
74350
|
+
body: never;
|
|
74351
|
+
response: ListIntegrationQuickbookAccountsResponse;
|
|
74352
|
+
};
|
|
74353
|
+
/** Create the default accounts and items the company is missing (Marketplace Sales, Marketplace Fees, …) and map them. */
|
|
74354
|
+
createIntegrationQuickbookAccountDefault: {
|
|
74355
|
+
method: 'POST';
|
|
74356
|
+
path: "/v1/integrations/quickbooks/accounts/defaults";
|
|
74357
|
+
pathParams: never;
|
|
74358
|
+
query: never;
|
|
74359
|
+
body: never;
|
|
74360
|
+
response: CreateIntegrationQuickbookStartResponse;
|
|
74361
|
+
};
|
|
74362
|
+
/** Intuit's consent URL to open in a browser. Connecting lands on the QuickBooks settings page. */
|
|
74363
|
+
createIntegrationQuickbookConnectUrl: {
|
|
74364
|
+
method: 'POST';
|
|
74365
|
+
path: "/v1/integrations/quickbooks/connect-url";
|
|
74366
|
+
pathParams: never;
|
|
74367
|
+
query: never;
|
|
74368
|
+
body: never;
|
|
74369
|
+
response: IntegrationResponse;
|
|
74370
|
+
};
|
|
74371
|
+
/** Sync history: the QuickBooks documents Crossly posted or will post, newest first, with status and error. Page with `cursor`. */
|
|
74372
|
+
listIntegrationQuickbookDocs: {
|
|
74373
|
+
method: 'GET';
|
|
74374
|
+
path: "/v1/integrations/quickbooks/docs";
|
|
74375
|
+
pathParams: never;
|
|
74376
|
+
query: {
|
|
74377
|
+
status?: "pending" | "failed" | "posted" | "deleted_in_qbo";
|
|
74378
|
+
limit?: number;
|
|
74379
|
+
cursor?: string;
|
|
74380
|
+
};
|
|
74381
|
+
body: never;
|
|
74382
|
+
response: ListIntegrationQuickbookDocsResponse;
|
|
74383
|
+
};
|
|
74384
|
+
/** Post a failed document, or one deleted or voided in QuickBooks, again (queued with the next sync). */
|
|
74385
|
+
createIntegrationQuickbookDocRepost: {
|
|
74386
|
+
method: 'POST';
|
|
74387
|
+
path: "/v1/integrations/quickbooks/docs/{id}/repost";
|
|
74388
|
+
pathParams: {
|
|
74389
|
+
id: string;
|
|
74390
|
+
};
|
|
74391
|
+
query: never;
|
|
74392
|
+
body: never;
|
|
74393
|
+
response: CreateIntegrationQuickbookDocRepostResponse;
|
|
74394
|
+
};
|
|
74395
|
+
/** Change the sync settings: summary or per-order mode, start date, time zone, clearing account mode, COGS posting, the account mapping (role → QuickBooks account id) and the tax code. */
|
|
74396
|
+
updateIntegrationQuickbookSetting: {
|
|
74397
|
+
method: 'PATCH';
|
|
74398
|
+
path: "/v1/integrations/quickbooks/settings";
|
|
74399
|
+
pathParams: never;
|
|
74400
|
+
query: never;
|
|
74401
|
+
body: UpdateIntegrationQuickbookSettingRequest;
|
|
74402
|
+
response: GetIntegrationQuickbookResponse;
|
|
74403
|
+
};
|
|
74404
|
+
/** Start syncing with the current settings: posts every sale since the start date, then keeps posting daily. */
|
|
74405
|
+
createIntegrationQuickbookStart: {
|
|
74406
|
+
method: 'POST';
|
|
74407
|
+
path: "/v1/integrations/quickbooks/start";
|
|
74408
|
+
pathParams: never;
|
|
74409
|
+
query: never;
|
|
74410
|
+
body: never;
|
|
74411
|
+
response: CreateIntegrationQuickbookStartResponse;
|
|
74412
|
+
};
|
|
74413
|
+
/** Sync now: queue a sync (new sales and refunds assigned and posted, failed documents retried). */
|
|
74414
|
+
createIntegrationQuickbookSync: {
|
|
74415
|
+
method: 'POST';
|
|
74416
|
+
path: "/v1/integrations/quickbooks/sync";
|
|
74417
|
+
pathParams: never;
|
|
74418
|
+
query: never;
|
|
74419
|
+
body: never;
|
|
74420
|
+
response: IntegrationResponse2;
|
|
74421
|
+
};
|
|
74422
|
+
/** The QuickBooks company's tax codes (companies outside the US pick the exempt one every line carries). */
|
|
74423
|
+
listIntegrationQuickbookTaxCodes: {
|
|
74424
|
+
method: 'GET';
|
|
74425
|
+
path: "/v1/integrations/quickbooks/tax-codes";
|
|
74426
|
+
pathParams: never;
|
|
74427
|
+
query: never;
|
|
74428
|
+
body: never;
|
|
74429
|
+
response: ListIntegrationQuickbookTaxCodesResponse;
|
|
74041
74430
|
};
|
|
74042
74431
|
/** The store's Sentry integration: configured, install link, linked org and status. */
|
|
74043
74432
|
getIntegrationSentry: {
|
|
@@ -74159,7 +74548,7 @@ export interface ApiOperations {
|
|
|
74159
74548
|
pathParams: never;
|
|
74160
74549
|
query: never;
|
|
74161
74550
|
body: never;
|
|
74162
|
-
response:
|
|
74551
|
+
response: IntegrationResponse3;
|
|
74163
74552
|
};
|
|
74164
74553
|
/** The Supabase consent URL to open in a browser. After consent the seller lands on Settings › Integrations › Supabase to pick a project. */
|
|
74165
74554
|
createIntegrationSupabaseConnectUrl: {
|
|
@@ -74168,7 +74557,7 @@ export interface ApiOperations {
|
|
|
74168
74557
|
pathParams: never;
|
|
74169
74558
|
query: never;
|
|
74170
74559
|
body: never;
|
|
74171
|
-
response:
|
|
74560
|
+
response: IntegrationResponse;
|
|
74172
74561
|
};
|
|
74173
74562
|
/** Sync into this Supabase project: creates the crossly schema there now and queues the first full sync. */
|
|
74174
74563
|
updateIntegrationSupabaseProject: {
|
|
@@ -74195,7 +74584,7 @@ export interface ApiOperations {
|
|
|
74195
74584
|
pathParams: never;
|
|
74196
74585
|
query: never;
|
|
74197
74586
|
body: never;
|
|
74198
|
-
response:
|
|
74587
|
+
response: IntegrationResponse2;
|
|
74199
74588
|
};
|
|
74200
74589
|
/** List inventory items. */
|
|
74201
74590
|
listInventory: {
|
|
@@ -99783,7 +100172,7 @@ export interface ApiOperations {
|
|
|
99783
100172
|
placeId: string;
|
|
99784
100173
|
};
|
|
99785
100174
|
query: {
|
|
99786
|
-
|
|
100175
|
+
nodePath?: string;
|
|
99787
100176
|
id?: string;
|
|
99788
100177
|
};
|
|
99789
100178
|
body: never;
|
|
@@ -99864,7 +100253,7 @@ export interface ApiOperations {
|
|
|
99864
100253
|
placeId: string;
|
|
99865
100254
|
};
|
|
99866
100255
|
query: {
|
|
99867
|
-
|
|
100256
|
+
nodePath: string;
|
|
99868
100257
|
};
|
|
99869
100258
|
body: never;
|
|
99870
100259
|
response: GetWorldExperiencePlaceStudioScriptResponse;
|
|
@@ -99890,7 +100279,7 @@ export interface ApiOperations {
|
|
|
99890
100279
|
placeId: string;
|
|
99891
100280
|
};
|
|
99892
100281
|
query: {
|
|
99893
|
-
|
|
100282
|
+
nodePath: string;
|
|
99894
100283
|
};
|
|
99895
100284
|
body: never;
|
|
99896
100285
|
response: DeleteWorldExperiencePlaceCollabScriptResponse;
|
|
@@ -99916,7 +100305,7 @@ export interface ApiOperations {
|
|
|
99916
100305
|
placeId: string;
|
|
99917
100306
|
};
|
|
99918
100307
|
query: {
|
|
99919
|
-
|
|
100308
|
+
nodePath?: string;
|
|
99920
100309
|
view?: "top" | "front";
|
|
99921
100310
|
labels?: boolean;
|
|
99922
100311
|
};
|
|
@@ -99932,7 +100321,7 @@ export interface ApiOperations {
|
|
|
99932
100321
|
placeId: string;
|
|
99933
100322
|
};
|
|
99934
100323
|
query: {
|
|
99935
|
-
|
|
100324
|
+
nodePath?: string;
|
|
99936
100325
|
depth?: number;
|
|
99937
100326
|
};
|
|
99938
100327
|
body: never;
|
|
@@ -100860,7 +101249,7 @@ export interface ApiOperations {
|
|
|
100860
101249
|
};
|
|
100861
101250
|
query: never;
|
|
100862
101251
|
body: CreateWorldParentalChildrenUnlinkRequest;
|
|
100863
|
-
response:
|
|
101252
|
+
response: DeleteDiscordResponse;
|
|
100864
101253
|
};
|
|
100865
101254
|
/** An under-18 account asks for a parent: a one-time code (72 hours) the parent enters while signed in to their own account. Replaces any pending code. */
|
|
100866
101255
|
createWorldParentalInvite: {
|
|
@@ -101674,6 +102063,10 @@ export interface ApiRoutes {
|
|
|
101674
102063
|
"GET /v1/devices/{id}/activity": ApiOperations["listDeviceActivity"];
|
|
101675
102064
|
"GET /v1/devices/{id}/settings": ApiOperations["getDeviceSetting"];
|
|
101676
102065
|
"PATCH /v1/devices/{id}/settings": ApiOperations["updateDeviceSetting"];
|
|
102066
|
+
"GET /v1/discord": ApiOperations["getDiscord"];
|
|
102067
|
+
"DELETE /v1/discord": ApiOperations["deleteDiscord"];
|
|
102068
|
+
"PATCH /v1/discord/alerts": ApiOperations["updateDiscordAlert"];
|
|
102069
|
+
"DELETE /v1/discord/feeds/{id}": ApiOperations["deleteDiscordFeed"];
|
|
101677
102070
|
"GET /v1/discount-codes": ApiOperations["listDiscountCodes"];
|
|
101678
102071
|
"POST /v1/discount-codes": ApiOperations["createDiscountCode"];
|
|
101679
102072
|
"POST /v1/discount-codes/pause-all": ApiOperations["createDiscountCodePauseAll"];
|
|
@@ -101866,6 +102259,17 @@ export interface ApiRoutes {
|
|
|
101866
102259
|
"GET /v1/integrations/notion/pages": ApiOperations["listIntegrationNotionPages"];
|
|
101867
102260
|
"PATCH /v1/integrations/notion/settings": ApiOperations["updateIntegrationNotionSetting"];
|
|
101868
102261
|
"POST /v1/integrations/notion/sync": ApiOperations["createIntegrationNotionSync"];
|
|
102262
|
+
"GET /v1/integrations/quickbooks": ApiOperations["getIntegrationQuickbook"];
|
|
102263
|
+
"DELETE /v1/integrations/quickbooks": ApiOperations["deleteIntegrationQuickbook"];
|
|
102264
|
+
"GET /v1/integrations/quickbooks/accounts": ApiOperations["listIntegrationQuickbookAccounts"];
|
|
102265
|
+
"POST /v1/integrations/quickbooks/accounts/defaults": ApiOperations["createIntegrationQuickbookAccountDefault"];
|
|
102266
|
+
"POST /v1/integrations/quickbooks/connect-url": ApiOperations["createIntegrationQuickbookConnectUrl"];
|
|
102267
|
+
"GET /v1/integrations/quickbooks/docs": ApiOperations["listIntegrationQuickbookDocs"];
|
|
102268
|
+
"POST /v1/integrations/quickbooks/docs/{id}/repost": ApiOperations["createIntegrationQuickbookDocRepost"];
|
|
102269
|
+
"PATCH /v1/integrations/quickbooks/settings": ApiOperations["updateIntegrationQuickbookSetting"];
|
|
102270
|
+
"POST /v1/integrations/quickbooks/start": ApiOperations["createIntegrationQuickbookStart"];
|
|
102271
|
+
"POST /v1/integrations/quickbooks/sync": ApiOperations["createIntegrationQuickbookSync"];
|
|
102272
|
+
"GET /v1/integrations/quickbooks/tax-codes": ApiOperations["listIntegrationQuickbookTaxCodes"];
|
|
101869
102273
|
"GET /v1/integrations/sentry": ApiOperations["getIntegrationSentry"];
|
|
101870
102274
|
"DELETE /v1/integrations/sentry": ApiOperations["deleteIntegrationSentry"];
|
|
101871
102275
|
"GET /v1/integrations/sentry/actions": ApiOperations["listIntegrationSentryActions"];
|