@servicetitan/moneyout-api-client 1.35.0-beta.159 → 1.35.0-beta.161

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.
@@ -0,0 +1,71 @@
1
+ import { AxiosPromise, CancelToken } from 'axios';
2
+ export interface IExpenseTenantSettings {
3
+ /**
4
+ * Get the tenant's current expense vendor-matching settings, or the default
5
+ (`MapToServiceTitanVendors`) when no settings row exists yet.
6
+ */
7
+ getSettings(tenantId: number, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
8
+ /**
9
+ * Full-replace upsert of the tenant's expense vendor-matching settings.
10
+ */
11
+ putSettings(tenantId: number, request: UpdateExpenseTenantSettingsRequest, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
12
+ /**
13
+ * Partial update of the tenant's expense vendor-matching settings. Loads the current state (or the
14
+ not-yet-onboarded default when no row exists), applies the JSON Patch on top, then routes the
15
+ complete resulting state through the same PutSettings validation and upsert — so a
16
+ patch that switches to `UseDefaultVendor` must still leave a valid active
17
+ `DefaultVendorId`, omitted fields keep their current value, and switching to
18
+ `MapToServiceTitanVendors` preserves `DefaultVendorId` unless the patch explicitly
19
+ clears it.
20
+ */
21
+ patchSettings(tenantId: number, operations: OperationOfUpdateExpenseTenantSettingsRequest[], cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
22
+ }
23
+ export declare const BASE_URL_TOKEN_ExpenseTenantSettings: import("@servicetitan/react-ioc").SymbolToken<string>;
24
+ export declare class ExpenseTenantSettings implements IExpenseTenantSettings {
25
+ private readonly baseUrl;
26
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
27
+ constructor(baseUrl?: string);
28
+ /**
29
+ * Get the tenant's current expense vendor-matching settings, or the default
30
+ (`MapToServiceTitanVendors`) when no settings row exists yet.
31
+ */
32
+ getSettings(tenantId: number, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
33
+ /**
34
+ * Full-replace upsert of the tenant's expense vendor-matching settings.
35
+ */
36
+ putSettings(tenantId: number, request: UpdateExpenseTenantSettingsRequest, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
37
+ /**
38
+ * Partial update of the tenant's expense vendor-matching settings. Loads the current state (or the
39
+ not-yet-onboarded default when no row exists), applies the JSON Patch on top, then routes the
40
+ complete resulting state through the same PutSettings validation and upsert — so a
41
+ patch that switches to `UseDefaultVendor` must still leave a valid active
42
+ `DefaultVendorId`, omitted fields keep their current value, and switching to
43
+ `MapToServiceTitanVendors` preserves `DefaultVendorId` unless the patch explicitly
44
+ clears it.
45
+ */
46
+ patchSettings(tenantId: number, operations: OperationOfUpdateExpenseTenantSettingsRequest[], cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;
47
+ }
48
+ export interface ExpenseTenantSettingsResponse {
49
+ vendorMatchingMode: VendorMatchingMode;
50
+ defaultVendorId?: number | undefined;
51
+ }
52
+ /** Public-API mirror of `ServiceTitan.Fintech.MoneyoutService.Domain.Expenses.VendorMatchingMode` — Core.Models must not reference Domain, so the two enums are kept in lockstep by name. */
53
+ export declare enum VendorMatchingMode {
54
+ MapToServiceTitanVendors = 0,
55
+ UseDefaultVendor = 1
56
+ }
57
+ export interface UpdateExpenseTenantSettingsRequest {
58
+ vendorMatchingMode: VendorMatchingMode;
59
+ defaultVendorId?: number | undefined;
60
+ }
61
+ export interface OperationBase {
62
+ path?: string | undefined;
63
+ op?: string | undefined;
64
+ from?: string | undefined;
65
+ }
66
+ export interface Operation extends OperationBase {
67
+ value?: any;
68
+ }
69
+ export interface OperationOfUpdateExpenseTenantSettingsRequest extends Operation {
70
+ }
71
+ //# sourceMappingURL=expense-tenant-settings.api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expense-tenant-settings.api.d.ts","sourceRoot":"","sources":["../src/expense-tenant-settings.api.ts"],"names":[],"mappings":"AASA,OAAc,EAAsB,YAAY,EAAE,W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,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,6LAA6L;AAC7L,oBAAY,kBAAkB;IAC1B,wBAAwB,IAAI;IAC5B,gBAAgB,IAAI;CACvB;AAED,MAAM,WAAW,kCAAkC;IAC/C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC5C,KAAK,CAAC,EAAE,GAAG,CAAC;CACf;AAED,MAAM,WAAW,6CAA8C,SAAQ,SAAS;CAC/E"}
@@ -0,0 +1,129 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _ts_decorate(decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ }
20
+ function _ts_metadata(k, v) {
21
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
22
+ }
23
+ function _ts_param(paramIndex, decorator) {
24
+ return function(target, key) {
25
+ decorator(target, key, paramIndex);
26
+ };
27
+ }
28
+ /* tslint:disable */ /* eslint-disable */ //----------------------
29
+ // <auto-generated>
30
+ // Generated with ApiClientGenerator, using the NSwag toolchain
31
+ // </auto-generated>
32
+ //----------------------
33
+ // ReSharper disable InconsistentNaming
34
+ import axios from 'axios';
35
+ import { injectable, inject, optional, symbolToken } from '@servicetitan/react-ioc';
36
+ import { makeCodedException } from './utils';
37
+ export const BASE_URL_TOKEN_ExpenseTenantSettings = symbolToken('BASE_URL_TOKEN', false);
38
+ export class ExpenseTenantSettings {
39
+ /**
40
+ * Get the tenant's current expense vendor-matching settings, or the default
41
+ (`MapToServiceTitanVendors`) when no settings row exists yet.
42
+ */ getSettings(tenantId, cancelToken) {
43
+ let url_ = "/v1/tenant/{tenantId}/expense-settings";
44
+ if (tenantId === undefined || tenantId === null) throw new Error("The parameter 'tenantId' must be defined.");
45
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
46
+ url_ = url_.replace(/[?&]$/, "");
47
+ let options_ = {
48
+ baseURL: this.baseUrl,
49
+ cancelToken,
50
+ url: url_,
51
+ method: "GET",
52
+ headers: {
53
+ "Content-Type": "application/json",
54
+ "Accept": "application/json"
55
+ }
56
+ };
57
+ return makeCodedException(axios.request(options_));
58
+ }
59
+ /**
60
+ * Full-replace upsert of the tenant's expense vendor-matching settings.
61
+ */ putSettings(tenantId, request, cancelToken) {
62
+ let url_ = "/v1/tenant/{tenantId}/expense-settings";
63
+ if (tenantId === undefined || tenantId === null) throw new Error("The parameter 'tenantId' must be defined.");
64
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
65
+ url_ = url_.replace(/[?&]$/, "");
66
+ const content_ = request;
67
+ let options_ = {
68
+ baseURL: this.baseUrl,
69
+ cancelToken,
70
+ data: content_,
71
+ url: url_,
72
+ method: "PUT",
73
+ headers: {
74
+ "Content-Type": "application/json",
75
+ "Accept": "application/json"
76
+ }
77
+ };
78
+ return makeCodedException(axios.request(options_));
79
+ }
80
+ /**
81
+ * Partial update of the tenant's expense vendor-matching settings. Loads the current state (or the
82
+ not-yet-onboarded default when no row exists), applies the JSON Patch on top, then routes the
83
+ complete resulting state through the same PutSettings validation and upsert — so a
84
+ patch that switches to `UseDefaultVendor` must still leave a valid active
85
+ `DefaultVendorId`, omitted fields keep their current value, and switching to
86
+ `MapToServiceTitanVendors` preserves `DefaultVendorId` unless the patch explicitly
87
+ clears it.
88
+ */ patchSettings(tenantId, operations, cancelToken) {
89
+ let url_ = "/v1/tenant/{tenantId}/expense-settings";
90
+ if (tenantId === undefined || tenantId === null) throw new Error("The parameter 'tenantId' must be defined.");
91
+ url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
92
+ url_ = url_.replace(/[?&]$/, "");
93
+ const content_ = operations;
94
+ let options_ = {
95
+ baseURL: this.baseUrl,
96
+ cancelToken,
97
+ data: content_,
98
+ url: url_,
99
+ method: "PATCH",
100
+ headers: {
101
+ "Content-Type": "application/json",
102
+ "Accept": "application/json"
103
+ }
104
+ };
105
+ return makeCodedException(axios.request(options_));
106
+ }
107
+ constructor(baseUrl = ""){
108
+ _define_property(this, "baseUrl", void 0);
109
+ _define_property(this, "jsonParseReviver", void 0);
110
+ this.baseUrl = baseUrl;
111
+ this.jsonParseReviver = undefined;
112
+ }
113
+ }
114
+ ExpenseTenantSettings = _ts_decorate([
115
+ injectable(),
116
+ _ts_param(0, inject(BASE_URL_TOKEN_ExpenseTenantSettings)),
117
+ _ts_param(0, optional()),
118
+ _ts_metadata("design:type", Function),
119
+ _ts_metadata("design:paramtypes", [
120
+ void 0
121
+ ])
122
+ ], ExpenseTenantSettings);
123
+ /** Public-API mirror of `ServiceTitan.Fintech.MoneyoutService.Domain.Expenses.VendorMatchingMode` — Core.Models must not reference Domain, so the two enums are kept in lockstep by name. */ export var VendorMatchingMode = /*#__PURE__*/ function(VendorMatchingMode) {
124
+ VendorMatchingMode[VendorMatchingMode["MapToServiceTitanVendors"] = 0] = "MapToServiceTitanVendors";
125
+ VendorMatchingMode[VendorMatchingMode["UseDefaultVendor"] = 1] = "UseDefaultVendor";
126
+ return VendorMatchingMode;
127
+ }({});
128
+
129
+ //# sourceMappingURL=expense-tenant-settings.api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/expense-tenant-settings.api.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n//----------------------\n// <auto-generated>\n// Generated with ApiClientGenerator, using the NSwag toolchain\n// </auto-generated>\n//----------------------\n// ReSharper disable InconsistentNaming\n\nimport axios, { AxiosRequestConfig, AxiosPromise, CancelToken } from 'axios';\nimport { injectable, inject, optional, symbolToken } from '@servicetitan/react-ioc';\nimport { makeCodedException, makeContent } from './utils';\n// @ts-ignore: needed for Date serialization if a DateTime parameter has an Unspecified attribute on it\nimport moment from 'moment';\n\nexport interface IExpenseTenantSettings {\n /**\n * Get the tenant's current expense vendor-matching settings, or the default\n (`MapToServiceTitanVendors`) when no settings row exists yet.\n */\n getSettings(tenantId: number, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;\n /**\n * Full-replace upsert of the tenant's expense vendor-matching settings.\n */\n putSettings(tenantId: number, request: UpdateExpenseTenantSettingsRequest, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;\n /**\n * Partial update of the tenant's expense vendor-matching settings. Loads the current state (or the\n not-yet-onboarded default when no row exists), applies the JSON Patch on top, then routes the\n complete resulting state through the same PutSettings validation and upsert — so a\n patch that switches to `UseDefaultVendor` must still leave a valid active\n `DefaultVendorId`, omitted fields keep their current value, and switching to\n `MapToServiceTitanVendors` preserves `DefaultVendorId` unless the patch explicitly\n clears it.\n */\n patchSettings(tenantId: number, operations: OperationOfUpdateExpenseTenantSettingsRequest[], cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse>;\n}\n\nexport const BASE_URL_TOKEN_ExpenseTenantSettings = symbolToken<string>('BASE_URL_TOKEN', false);\n\n@injectable()\nexport class ExpenseTenantSettings implements IExpenseTenantSettings {\n protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;\n\n constructor(@inject(BASE_URL_TOKEN_ExpenseTenantSettings) @optional() private readonly baseUrl = \"\") {\n }\n\n /**\n * Get the tenant's current expense vendor-matching settings, or the default\n (`MapToServiceTitanVendors`) when no settings row exists yet.\n */\n getSettings(tenantId: number, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse> {\n let url_ = \"/v1/tenant/{tenantId}/expense-settings\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n url: url_,\n method: \"GET\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<ExpenseTenantSettingsResponse>(options_));\n }\n\n /**\n * Full-replace upsert of the tenant's expense vendor-matching settings.\n */\n putSettings(tenantId: number, request: UpdateExpenseTenantSettingsRequest, cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse> {\n let url_ = \"/v1/tenant/{tenantId}/expense-settings\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = request;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<ExpenseTenantSettingsResponse>(options_));\n }\n\n /**\n * Partial update of the tenant's expense vendor-matching settings. Loads the current state (or the\n not-yet-onboarded default when no row exists), applies the JSON Patch on top, then routes the\n complete resulting state through the same PutSettings validation and upsert — so a\n patch that switches to `UseDefaultVendor` must still leave a valid active\n `DefaultVendorId`, omitted fields keep their current value, and switching to\n `MapToServiceTitanVendors` preserves `DefaultVendorId` unless the patch explicitly\n clears it.\n */\n patchSettings(tenantId: number, operations: OperationOfUpdateExpenseTenantSettingsRequest[], cancelToken?: CancelToken): AxiosPromise<ExpenseTenantSettingsResponse> {\n let url_ = \"/v1/tenant/{tenantId}/expense-settings\";\n if (tenantId === undefined || tenantId === null)\n throw new Error(\"The parameter 'tenantId' must be defined.\");\n url_ = url_.replace(\"{tenantId}\", encodeURIComponent(\"\" + tenantId));\n url_ = url_.replace(/[?&]$/, \"\");\n\n const content_ = operations;\n\n let options_ = <AxiosRequestConfig>{\n baseURL: this.baseUrl,\n cancelToken,\n data: content_,\n url: url_,\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n return makeCodedException(axios.request<ExpenseTenantSettingsResponse>(options_));\n }\n}\n\nexport interface ExpenseTenantSettingsResponse {\n vendorMatchingMode: VendorMatchingMode;\n defaultVendorId?: number | undefined;\n}\n\n/** Public-API mirror of `ServiceTitan.Fintech.MoneyoutService.Domain.Expenses.VendorMatchingMode` — Core.Models must not reference Domain, so the two enums are kept in lockstep by name. */\nexport enum VendorMatchingMode {\n MapToServiceTitanVendors = 0,\n UseDefaultVendor = 1,\n}\n\nexport interface UpdateExpenseTenantSettingsRequest {\n vendorMatchingMode: VendorMatchingMode;\n defaultVendorId?: number | undefined;\n}\n\nexport interface OperationBase {\n path?: string | undefined;\n op?: string | undefined;\n from?: string | undefined;\n}\n\nexport interface Operation extends OperationBase {\n value?: any;\n}\n\nexport interface OperationOfUpdateExpenseTenantSettingsRequest extends Operation {\n}\n"],"names":["axios","injectable","inject","optional","symbolToken","makeCodedException","BASE_URL_TOKEN_ExpenseTenantSettings","ExpenseTenantSettings","getSettings","tenantId","cancelToken","url_","undefined","Error","replace","encodeURIComponent","options_","baseURL","baseUrl","url","method","headers","request","putSettings","content_","data","patchSettings","operations","jsonParseReviver","V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,mBAAmBL,MAAMsB,OAAO,CAAgCN;IAC3E;IAEA;;;;;;;;KAQC,GACDU,cAAcjB,QAAgB,EAAEkB,UAA2D,EAAEjB,WAAyB,EAA+C;QACjK,IAAIC,OAAO;QACX,IAAIF,aAAaG,aAAaH,aAAa,MACvC,MAAM,IAAII,MAAM;QACpBF,OAAOA,KAAKG,OAAO,CAAC,cAAcC,mBAAmB,KAAKN;QAC1DE,OAAOA,KAAKG,OAAO,CAAC,SAAS;QAE7B,MAAMU,WAAWG;QAEjB,IAAIX,WAA+B;YAC/BC,SAAS,IAAI,CAACC,OAAO;YACrBR;YACAe,MAAMD;YACNL,KAAKR;YACLS,QAAQ;YACRC,SAAS;gBACL,gBAAgB;gBAChB,UAAU;YACd;QACJ;QAEA,OAAOhB,mBAAmBL,MAAMsB,OAAO,CAAgCN;IAC3E;IAtFA,YAAY,AAA2EE,UAAU,EAAE,CAAE;;QAFrG,uBAAUU,oBAAV,KAAA;aAEuFV,UAAAA;aAF7EU,mBAAmEhB;IAG7E;AAsFJ;;;;;;;;;;AAOA,2LAA2L,GAC3L,OAAO,IAAA,AAAKiB,4CAAAA;;;WAAAA;MAGX"}
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * as ApBillApprovalSettingsV2 from './ap-bill-approval-settings-v2.api';
2
2
  export * as ApBillApprovalV2 from './ap-bill-approval-v2.api';
3
3
  export * as CardTransactions from './card-transactions.api';
4
4
  export * as ExpenseManagement from './expense-management.api';
5
+ export * as ExpenseTenantSettings from './expense-tenant-settings.api';
5
6
  export * as UserSettings from './user-settings.api';
6
7
  export * as VendorSync from './vendor-sync.api';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,wBAAwB,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,wBAAwB,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -6,6 +6,8 @@ import * as _CardTransactions from './card-transactions.api';
6
6
  export { _CardTransactions as CardTransactions };
7
7
  import * as _ExpenseManagement from './expense-management.api';
8
8
  export { _ExpenseManagement as ExpenseManagement };
9
+ import * as _ExpenseTenantSettings from './expense-tenant-settings.api';
10
+ export { _ExpenseTenantSettings as ExpenseTenantSettings };
9
11
  import * as _UserSettings from './user-settings.api';
10
12
  export { _UserSettings as UserSettings };
11
13
  import * as _VendorSync from './vendor-sync.api';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * as ApBillApprovalSettingsV2 from './ap-bill-approval-settings-v2.api';\nexport * as ApBillApprovalV2 from './ap-bill-approval-v2.api';\nexport * as CardTransactions from './card-transactions.api';\nexport * as ExpenseManagement from './expense-management.api';\nexport * as UserSettings from './user-settings.api';\nexport * as VendorSync from './vendor-sync.api';\n"],"names":["ApBillApprovalSettingsV2","ApBillApprovalV2","CardTransactions","ExpenseManagement","UserSettings","VendorSync"],"mappings":"AAAA,2CAA0C,qCAAqC;AAA/E,SAAO,6BAAKA,wBAAwB,GAA2C;AAC/E,mCAAkC,4BAA4B;AAA9D,SAAO,qBAAKC,gBAAgB,GAAkC;AAC9D,mCAAkC,0BAA0B;AAA5D,SAAO,qBAAKC,gBAAgB,GAAgC;AAC5D,oCAAmC,2BAA2B;AAA9D,SAAO,sBAAKC,iBAAiB,GAAiC;AAC9D,+BAA8B,sBAAsB;AAApD,SAAO,iBAAKC,YAAY,GAA4B;AACpD,6BAA4B,oBAAoB;AAAhD,SAAO,eAAKC,UAAU,GAA0B"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * as ApBillApprovalSettingsV2 from './ap-bill-approval-settings-v2.api';\nexport * as ApBillApprovalV2 from './ap-bill-approval-v2.api';\nexport * as CardTransactions from './card-transactions.api';\nexport * as ExpenseManagement from './expense-management.api';\nexport * as ExpenseTenantSettings from './expense-tenant-settings.api';\nexport * as UserSettings from './user-settings.api';\nexport * as VendorSync from './vendor-sync.api';\n"],"names":["ApBillApprovalSettingsV2","ApBillApprovalV2","CardTransactions","ExpenseManagement","ExpenseTenantSettings","UserSettings","VendorSync"],"mappings":"AAAA,2CAA0C,qCAAqC;AAA/E,SAAO,6BAAKA,wBAAwB,GAA2C;AAC/E,mCAAkC,4BAA4B;AAA9D,SAAO,qBAAKC,gBAAgB,GAAkC;AAC9D,mCAAkC,0BAA0B;AAA5D,SAAO,qBAAKC,gBAAgB,GAAgC;AAC5D,oCAAmC,2BAA2B;AAA9D,SAAO,sBAAKC,iBAAiB,GAAiC;AAC9D,wCAAuC,gCAAgC;AAAvE,SAAO,0BAAKC,qBAAqB,GAAsC;AACvE,+BAA8B,sBAAsB;AAApD,SAAO,iBAAKC,YAAY,GAA4B;AACpD,6BAA4B,oBAAoB;AAAhD,SAAO,eAAKC,UAAU,GAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/moneyout-api-client",
3
- "version": "1.35.0-beta.159",
3
+ "version": "1.35.0-beta.161",
4
4
  "description": "Auto-generated TypeScript API client for MoneyOut Service",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",